-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: ...SQLSyntaxErrorException: ORA-00904:"X":invalid identifier
PostPosted: Mon Feb 21, 2011 10:25 am 
Newbie

Joined: Mon Feb 21, 2011 10:14 am
Posts: 1
Hi All,

In the midst migration the WL Server from 9.2 to 10.3.2.

We had no issues with Hibernate in 9.2 (Oracle 10g) but encountered the below issue after migrated to 10.3.2 (Oracle 10g)

SQL Fired by Hibernate
----------------------
DEBUG org.hibernate.util.JDBCExceptionReporter - could n
ot execute query [select abc0_.CTRY_CD as CTRY1_76_, abc0_.REC_STATUS as REC_STATUS2_76
from ABC abc0_ where (id.ctryCd=? )AND(id.cmpntId=? )AND(id.userRole=? )AND(recStatus=? )]

hbm xml
--------
<property name="recStatus" type="string" unique="false" optimistic-lock="true" lazy="false" generated="never">
<column name="REC_STATUS" length="10" not-null="true" />
</property>

Any idea why SQL fired by hibernate is not translated to REC_STATUS?

Thanks!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.