Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
IDEs, Version Control and other tools
netbeans jpa wizard example
posted 3 years ago
I have two tables.
Customer , address
Customer contains the foreign key.
I want to create a basic netbeans 7.2 webapp with
So i create entities from database
Then i create the jpa controller from entity classes.
Then i create jsf pages
Now when i go to the create page for the foreign key field it gives me a drop down.
I want fields so that I can persist across both objects.
How can i change this.
I agree. Here's the link:
Getting primary keys
JPA Unidirectional 1to1 mapping issue: A Foreign key has the wrong number of column. should be 2
query a database table using a foreign key ( where) using Hibernate.