From: Chris B. (JIRA) <no...@at...> - 2006-07-13 19:01:57
|
Reverse Engineering MySQL Database results in erroneous catalog annotation -------------------------------------------------------------------------- Key: HBX-704 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-704 Project: Hibernate Tools Type: Bug Components: reverse-engineer Versions: 3.2beta7 Environment: Hibernate Tools 3.2.0.200607121031-nightly, MySQL 5.0.19-max, Eclipse 3.2.0 M20060629 Reporter: Chris Brinker Was experiencing the following error "java.sql.SQLException: invalid schema name: PLANNER in statement" after working through the video instructions located at: http://www.jboss.com/products/seam/SeamHBTools.html After trying various suggestions in the forums as well as gooling I found out the error had something to do with either the catalog or the schema specification (being mysql it supported neither syntax). I read on a fixed issue that by specifying a default_schema and/or a default_catalog the catalog = "tablname" annotation would not appear. After many trials/regenerations, I have not been able to successfully stop the annotation from generating a catalog attribute. When I remove the attribute by hand, the code works just fine. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |