-->
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: org.gjt.mm.mysql.jdbc2.NotImplemented
PostPosted: Sat Sep 20, 2003 1:46 pm 
Newbie

Joined: Sat Sep 20, 2003 1:38 pm
Posts: 10
Hello guys,

I am getting this error, is there a fix for it

org.gjt.mm.mysql.jdbc2.NotImplemented
at org.gjt.mm.mysql.jdbc2.PreparedStatement.addBatch(PreparedStatement.java:105)
at cirrus.hibernate.impl.BatchingBatcher.addToBatch(BatchingBatcher.java:26)
at cirrus.hibernate.persister.EntityPersister.update(EntityPersister.java:624)
at cirrus.hibernate.impl.ScheduledUpdate.execute(ScheduledUpdate.java:27)
at cirrus.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:1685)
at cirrus.hibernate.impl.SessionImpl.execute(SessionImpl.java:1666)
at cirrus.hibernate.impl.SessionImpl.flush(SessionImpl.java:1610)
at filters.HibernateSessionFilter.closeSession

I am running MySQL 3.23.56

tks


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 20, 2003 2:53 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Looks like you have batching turned on and maybe MySQL does not support batching (not sure, I dont use MySQL).

Try disabling batching in the hibernate config:
hibernate.jdbc.batch_size=0


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 20, 2003 3:02 pm 
Newbie

Joined: Sat Sep 20, 2003 1:38 pm
Posts: 10
thank you

I think that was the fix.


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.