Good Morning,

I am getting various "rowCount expected " errors since I upgraded the
h2 jar file from  1.2.121 to 1.2.141.  I can connect to the db fine
and most things still seem to work, but various inserts don't.

If I run :

select * from information_schema.settings where name = 'CREATE_BUILD';

I get:

 NAME                   VALUE
 ------------           --------
 CREATE_BUILD           121


Do I need to do some kinda upgrade here?  It doesn't appear the file
structure of h2 has altered between these versions so I didn't think I
would have to.

The java application stack trace look like:

09:10:17.491 [btpool0-7           ] WARN
org.hibernate.util.JDBCExceptionReporter - SQL Error: 50000, SQLState:
HY000
09:10:17.491 [btpool0-7           ] ERROR
org.hibernate.util.JDBCExceptionReporter - General error:
"java.lang.RuntimeException: rowCount expected 214 got 183
LEDGER.LEDGER_IX1"; SQL statement:
update "LEDGER" set VERSION=?, CLIENT_ID=?, REFERENCE=?, NAME=?,
CURRENCY_CODE=?, SCHEDULE_TYPE=?, SCHEDULE_VALUE=?,
EXPORT_DELIVERY_TYPE=?, LATEST_LEDGERUPDATE_ID=? where ID=? and
VERSION=? [50000-141]
GeminiCentral : 09:10:17.491 [btpool0-7           ]
Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: could not update:
[com.hpdsoftware.gemini.database.domain.Ledger#10]

Any help appreciated.

Cheers

Mat

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to