File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes netbeans jpa wizard example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "netbeans jpa wizard example" Watch "netbeans jpa wizard example" New topic
Author

netbeans jpa wizard example

Ger amiah
Greenhorn

Joined: Oct 24, 2012
Posts: 1
Hi,

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.

Thank you

Ger

 
jQuery in Action, 2nd edition
 
subject: netbeans jpa wizard example
 
Similar Threads
query a database table using a foreign key ( where) using Hibernate.
OpenJPA keys.
Getting primary keys
Ejb, help
JPA Unidirectional 1to1 mapping issue: A Foreign key has the wrong number of column. should be 2