-->
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: Progress Dialect
PostPosted: Fri Feb 06, 2004 4:42 am 
Newbie

Joined: Fri Feb 06, 2004 4:37 am
Posts: 4
Location: CERGY - FRANCE
When i try to use Progress Database 9.1 with SQL-92 and SqlDialect with the hibernate 2.1.1 demo eg, i obtain this message during commit transaction:

[java] java.sql.SQLException: [JDBC Progress Driver]:Data type for parameter 5 has changed since first SQLExecute call.
[java] at com.progress.sql.jdbc.JdbcProgress.createSQLException(JdbcProgress.java:6501)
[java] at com.progress.sql.jdbc.JdbcProgress.standardError(JdbcProgress.java:6675)
[java] at com.progress.sql.jdbc.JdbcProgress.SQLExecute(JdbcProgress.java:2789)
[java] at com.progress.sql.jdbc.JdbcProgressPreparedStatement.execute(JdbcProgressPreparedStatement.java:238)
[java] at com.progress.sql.jdbc.JdbcProgressPreparedStatement.executeUpdate(JdbcProgressPreparedStatement.java:144)
[java] at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:22)
[java] at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:469)
[java] at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:443)
[java] at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:29)
[java] at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2308)
[java] at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2261)
[java] at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2187)
[java] at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)
[java] at org.hibernate.auction.Main.createTestAuctions(Main.java:342)
[java] at org.hibernate.auction.Main.main(Main.java:371)
Any idea ?
Thanks per advance.[quote][/quote]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 06, 2004 4:54 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Have absolutely no idea. I guess you'll need to do some digging, there aren't very many progress users here, I think.


Top
 Profile  
 
 Post subject: Workaround on Progress Dialect
PostPosted: Fri Feb 06, 2004 7:09 am 
Newbie

Joined: Fri Feb 06, 2004 4:37 am
Posts: 4
Location: CERGY - FRANCE
Add a parameter in Progress database url : ;wa=536870912

example : hibernate.connection.url jdbc:jdbcprogress:T:localhost:3500:test;wa=536870912

It solve the problem.


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.