File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes EJB3.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "EJB3.0" Watch "EJB3.0" New topic


panki vijay

Joined: Oct 06, 2008
Posts: 10
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...
[ November 03, 2008: Message edited by: panki vijay ]
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
Can you post the exact source, the JPA implementation (hibernate, TopLink) and target DB (MySQL, PostgreSQL) that you're using?


SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
panki vijay

Joined: Oct 06, 2008
Posts: 10
My this problem is solved...
[ November 18, 2008: Message edited by: Ulf Dittmer ]
I agree. Here's the link:
subject: EJB3.0
It's not a secret anymore!