This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB3.0  RSS feed

 
panki vijay
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
I want to knoe that wat the mean of @GenratedValue anotation in EJB3.0.according to Orelly book this will allow the provider to auto genrate the primary key.but its not happening.if i am not genrating primary key manually then database is not going to affect.
& also wats the use of Primary Key class.
Pleae help...
Thanks
[ November 03, 2008: Message edited by: panki vijay ]
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the exact source, the JPA implementation (hibernate, TopLink) and target DB (MySQL, PostgreSQL) that you're using?

Thanks.
 
panki vijay
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My this problem is solved...
[ November 18, 2008: Message edited by: Ulf Dittmer ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!