dcsimg
Exception generated by invalid column name when perform a getter method
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   logan_wagner
Posted On:   Thursday, April 19, 2001 01:47 AM

I have a statefull session bean which call an entity bean by his primary key finder and then ask one of the getter of this entity bean.

The entity bean is well finded, the context is well defined, but ejbActivated seems to generate an error (it's an empty method) and the error is : "Load failed; nested exception is : java.sql.SQLException:ORA-00904 : invalid column name.

Can tou help me ? I nearly insane with this beacause i try the same getter inside the same session bean but with an other entity bean and it worked ok !

Re: Exception generated by invalid column name when perform a getter method

Posted By:   Michael_Wax  
Posted On:   Thursday, April 19, 2001 09:06 PM

It sounds like your entity beans and database are out of synch: your entity bean has a field which does not correspond to a column in the database table. Have you looked in the database to see if the column named by the getter is there?
About | Sitemap | Contact