When I did reverse engineering for mysql database v 4.1.7 in window for choosing tables after refresh put all tables as nodes of schema Merp
I included all tables and in the right panel in column schema apear .*
and in column catalog appear Merp.
When I create session all is okie, in HQL scratchpad all is okie (auto-complite and so are okie, even hql queries), but when I run application with the same config file and mapping files and with all pojo generated from reversing tool and with same mysql version of jdbc driver the following thig happend
merp.tableName is merp.merp_tableName.
Note that in config file there is no default_schema
but in mapping files exists catalog = 'merp'
When i removed from mapping catalog attribute all is fine.
So, Why merp schema is transformed in catalog schema even in window of choosing tables, and of course in mapping file after generated code and resource files.
When I tried to remove merp from column catalog in window mentioned above the reversing didn't work....
Thx.
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: