A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
IDEs, Version Control and other tools
netbeans jpa wizard example
Joined: Oct 24, 2012
Oct 24, 2012 07:12:16
I have two tables.
Customer , address
Customer contains the foreign key.
I want to create a basic netbeans 7.2 webapp with jsf and primefaces.
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:
subject: netbeans jpa wizard example
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.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013