-->
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: Many-to-one formula
PostPosted: Wed Mar 16, 2005 1:23 pm 
Regular
Regular

Joined: Thu Feb 24, 2005 2:34 pm
Posts: 80
Hibernate version:3rc1

Hi, i have this association



Code:

<many-to-one name="cmpfmo" class="vo.as400.CCmpf" lazy="false" update="true" insert="true">
              <formula>'CMP'</formula>
                        <column name="cmpfmo" />
   </many-to-one>


but it's possible to say to Hibernate that in update or insert don't include formula ? I wish only "cmpfmo".
now throws this
Code:
65854 [Thread-12] WARN org.hibernate.util.JDBCExceptionReporter  - SQL Error: -104, SQLState: 42601

65874 [Thread-12] ERROR org.hibernate.util.JDBCExceptionReporter  - [SQL0104] Token 'CMP' non valido. Token validi: * DAY RRN CAST CHAR DAYS HOUR LEFT TRIM YEAR COUNT MONTH.

319990 [Thread-12] FATAL logs.html  - could not retrieve snapshot: [vo.as400.ModeVO#component[stagmo,modemo]{modemo=C013000036, stagmo=2005}]




Can you help me please
Devis


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.