-->
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.  [ 3 posts ] 
Author Message
 Post subject: Synchronise session Exception
PostPosted: Fri Dec 12, 2003 9:35 am 
Regular
Regular

Joined: Thu Nov 20, 2003 10:44 am
Posts: 58
Location: Paris, France
Dear all,
I have the following error . It seems that there is a synchronisation error.
NEED HELP

[code]
Hibernate: select S_INDEX_EDITION.nextval from dual
Hibernate: insert into INDEX_EDITION (TYPE, CLE, DATE_CREATION, PK_INDEX_EDITION) values (?, ?, ?, ?)
Hibernate: insert into EDITION (DOCUMENT, PK_EDITION) values (?, ?)
- SQL Error: 17090, SQLState: null
- op


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 12, 2003 10:38 am 
Expert
Expert

Joined: Tue Sep 16, 2003 4:06 pm
Posts: 318
Location: St. Petersburg, Russia
Just a guess - in your EDITION table DOCUMENT is some kind of BLOB/CLOB. Right?

Try to tell Hibernate avoid using of batch updates. (set hibernate.jdbc.batch_size to zero)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 12, 2003 10:47 am 
Regular
Regular

Joined: Thu Nov 20, 2003 10:44 am
Posts: 58
Location: Paris, France
Yes thank you , actually the solution is to put in the hibernate.properties
Code:
hibernate.jdbc.use_streams_for_binary=true
hibernate.jdbc.batch_size=0
[/quote]


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

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.