A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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
query a database table using a foreign key ( where) using Hibernate.
Getting primary keys
JPA Unidirectional 1to1 mapping issue: A Foreign key has the wrong number of column. should be 2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014