| Author |
EJB3.0 example
|
santhoshkumar samala
Ranch Hand
Joined: Nov 12, 2003
Posts: 156
|
|
I have created an ejb3.0 entity bean example with @ManytoOne relation. Iam getting a strange error my example code is as follows: Book.java Author.java my stateful session bean has following code : Iam using Mysql, can you please tell me what can be the fix for this?
|
santhosh<br />SCJP,SCWCD
|
 |
santhoshkumar samala
Ranch Hand
Joined: Nov 12, 2003
Posts: 156
|
|
I was able to solve the above problem.. I have added above getId method of each entity.
|
 |
 |
|
|
subject: EJB3.0 example
|
|
|