I'm using H3.0.5, and I don't know what jtds is so I'm probably not using it at all :) The problem isn't with the driver: SQLServer doesn't understand "select .. for update" and for some reason, Hibernate is creating SQL with this in it. All I can suggest is to debug into your select statement, trace through the hibernate code, and find out where the "for update" is being added. If you put a breakpoint on the getForUpdateString() methods (in the various org.hibernate.dialect classes), that might speed the process up.
|