Hello,
I got this exception - I am not sure why. This is on an internal hibernate method call with an hibernate generated column id. Please help.
FINEST: closing statement
Apr 27, 2005 6:37:03 PM org.hibernate.util.JDBCExceptionReporter logExceptions
FINE: could not load an entity: [businessobjects.LenderEmailDetails#242950003] [select lenderemai0_.Lndr_ID as Lndr1_0_, lenderemai0_.EMail_Addr as EMail2_1_0_, lenderemai0_.Actv_Ind as Actv3_1_0_ from eprosupp2.dbo.LndrtEMailDtl lenderemai0_ where lenderemai0_.Lndr_ID=?]
java.sql.SQLException: [BEA][Sybase JDBC Driver]Invalid column name: EMail2_1_0_
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
at weblogic.jdbc.rmi.internal.ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_weblogic_jdbc_base_BaseResultSet_812_WLStub.getString(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetStub_weblogic_jdbc_rmi_internal_ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_weblogic_jdbc_base_BaseResultSet_812_WLStub.getString(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetStraightReader.getString(ResultSetStraightReader.java:117)
at weblogic.jdbc.rmi.SerialResultSet.getString(SerialResultSet.java:311)
at org.hibernate.type.StringType.get(StringType.java:16)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:77)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:68)
at org.hibernate.type.AbstractType.hydrate(AbstractType.java:80)
at org.hibernate.persister.entity.BasicEntityPersister.hydrate(BasicEntityPersister.java:1699)
at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:925)
at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:876)
at org.hibernate.loader.Loader.getRow(Loader.java:789)
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:295)
at org.hibernate.loader.Loader.doQuery(Loader.java:389)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:208)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1278)
at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:141)
at org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:126)
at org.hibernate.persister.entity.BasicEntityPersister.load(BasicEntityPersister.java:2491)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:386)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:367)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:166)
Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: