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 Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

netbeans jpa wizard example

Ger amiah
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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


I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic