• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBQL error

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to execute a finder method on my local entity bean.
The finder method is called from a remote session bean.
I'm getting the following exception (J2EE RI) :



"Movie" is a defined abstract schema of the Movie entity.
SQL is defined as :


Any idea why an exception is being thrown ?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem was that I did not generate the client side SQL from the deploytool. I'm now getting another kind of exception, but I'll try to figure it out before asking.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally got it right. The last exception I had was because the return type was not serializable.
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Satou kurinosuke
Can you pass me example(entity beans with relationship)which you have developed.
I trying for last many days but i am not abe to find any example which discuss simple 1:1 relationship.My email id is gowher_naik@rediffmail.com
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic