• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB3.0

 
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 ]
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!