Register / Login
Win a copy of
Functional Reactive Programming
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.
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.