quartex wrote:
Hi,
I used Hibernat 2.1 beta 3 to build my project with java 1.4.2 and mysql 3 with multischema databases and now when I upgrade Hibernate to final version there are problem with schema resolver.
I have in hibernate properties default schema set to "repository" and in other classe the schema is in xml definition set to "data_report".
With Hibernate beta version all works ... after the upgrade when use entity with nodefault schema , Hibernate create the SQL with "defaultschema"_tablename ... and not "defaultschema".tablename returning a SQL error.
The "_" is wrong !!!!!!!!!!!!!!!!!
I red in Changes in version 2.1 beta 4 (3.10.2003) ..
- support schema attribute in MySQL, by using an underscore in the table name (Chris Hane)
Any suggestion or help ?
Thanks a lot for all
This happens when use specify a blank schema with hibernate.default_schema=