[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3722) MySql autogenerated index names may conflict with thoses generated by reveng
Hugh Daschbach (JIRA)
noreply at atlassian.com
Mon Jan 19 20:09:38 EST 2009
MySql autogenerated index names may conflict with thoses generated by reveng
----------------------------------------------------------------------------
Key: HHH-3722
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3722
Project: Hibernate Core
Issue Type: Improvement
Components: core
Affects Versions: 3.2.0.ga
Environment: MySql 5.0, hibernate-3.2 compiled from SVN revision 12635.
Reporter: Hugh Daschbach
Attachments: hibernate-3.2.patch
MySql automatically generates indexes for unique and primary key fields. If duplicate key generation is suppresed as suggested in http://opensource.atlassian.com/projects/hibernate/browse/HBX-1104, the "create index" generated by hbm2ddl should be suppressed to avoid "Duplicate key name" errors.
The attached patch skips explicit index generation for MySqlInnoDB dialect.
--
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
More information about the hibernate-issues
mailing list