fixed issue using @NamedNativeQuery Scalar query with hibernate3-plugin
turned off sql printing on a few modules
turned off a few locking tests that would not work in DB in server mode