Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

OpenJPA keys.  RSS feed

 
victor chiong
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

Given

Table Customer

Customer_Name Customer_address Customer_Type Items Time_stamp.


The table has no keys on it.... How can we place a key on it using jpa? In RPG programming, I can just create and object called logical file and Add keys there like If I want the customer name as keys or etc.. But I have no idea on JPA..
I am new to jpa and I'm studying it and relating it to my legacy language..

Thanks
Vic

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!