>Hibernate doesn’t seem to be aware of the compatibility setting. Can you tell us how to query this compatibility setting? Then we can add code to make sure we respect that. >To overcome this, I attempted to extend both DB2Dialect and DB2zDialect to override the getVersion() method That’s the right approach to achieve what you are seeking. https://hibernate.atlassian.net/browse/HHH-15957 will be addressed shortly, so then this should work fine. Don’t worry about the driver, it’s an issue on our side. It would be great though if you could help us figure out how to handle these compatibility modes though. Please post the SQL query to fetch the compatibility mode setting and also the response/resultset that you are getting. |