Hi rkiran81,
i think the problem is that you cannot use the @GeneratedValue Tag as you do. The oracle
database usually works with sequences to create IDs. You can use these Sequences with ejb,
too.
Just add the following to your RolesProfileBean EJB.
@Entity
@SequenceGenerator(name="sequenceName",
sequenceName="sequenceNameInDatabase")
and to your ID Column:
@GeneratedValue(strategy=GenerationType.SEQUENCE
,generator="sequenceName")
Greetz celle2006
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164496#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...