[jboss-user] [JBoss jBPM] - Re: TaskInstance.setActorId(String) causes set TaskInstance

kukeltje do-not-reply at jboss.com
Tue Jun 17 03:25:55 EDT 2008


anonymous wrote : 
  | It might be a bug, but I think it may be more likely that Hibernate is receiving the wrong data -- that is, it's expecting a '1' or a '0' perhaps, and is instead getting, say, a "T" or "F" string, which is causing it to always assume "TRUE". anonymous wrote : 
  |   | 
  |   | That could be because of an incorrect hibernate mapping
  |   | 
  |   | Regarding the logging, if you put hibernate in debug (or trace with the newer log4j's, you'll see something like this:
  |   | 
  |   | 
  |   |   | 2006-07-28 09:57:12,061 DEBUG org.hibernate.SQL - insert into BASKET_LINE_ALLOC (LAST_UPDATED, QUANTITY, CUSTOMER_REF, NOTES, BRANCH_ID, FUND_ID, TEMPLATE_ID,
  |   |   | BASKET_LINE_ALLOC_ID) values (?, ?, ?, ?, ?, ?, ?, ?)
  |   |   | 2006-07-28 09:57:12,081 DEBUG org.hibernate.type.TimestampType - binding '2006-07-28 09:57:12' to parameter: 1
  |   |   | 2006-07-28 09:57:12,081 DEBUG org.hibernate.type.IntegerType - binding '3' to parameter: 2
  |   |   | 2006-07-28 09:57:12,082 DEBUG org.hibernate.type.StringType - binding '' to parameter: 3
  |   |   | 2006-07-28 09:57:12,082 DEBUG org.hibernate.type.StringType - binding '' to parameter: 4
  |   |   | 2006-07-28 09:57:12,082 DEBUG org.hibernate.type.LongType - binding '511' to parameter: 5
  |   |   | 2006-07-28 09:57:12,082 DEBUG org.hibernate.type.LongType - binding '512' to parameter: 6
  |   |   | 2006-07-28 09:57:12,082 DEBUG org.hibernate.type.LongType - binding null to parameter: 7
  |   |   | 2006-07-28 09:57:12,082 DEBUG org.hibernate.type.LongType - binding '180030' to parameter: 8 
  |   |   | 
  |   | 
  |   | See http://www.javalobby.org/java/forums/t44119.html  (google is your friend you know ;-) )

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158600#4158600

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158600



More information about the jboss-user mailing list