[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3604) Creation of table for HiLoGenerator fails to create table of the correct to for MySQL InnoDB

Justin Koke (JIRA) noreply at atlassian.com
Fri Nov 14 00:15:15 EST 2008


Creation of  table for HiLoGenerator fails to create table of the correct to for MySQL InnoDB
---------------------------------------------------------------------------------------------

                 Key: HHH-3604
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3604
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.3.1
            Reporter: Justin Koke
            Priority: Minor
         Attachments: mysql_engine_table_creator.patch

Just a small bug found in the TableGenerator class.

If we are using an InnoDB based MySQL DB the table type the the 'hi-lo' table is not created with the correct type.

It appears that a create statement is being generated in the TableCreator, but it is not passing appending the engine type. It also isn't inserting any schema or catalogue information but this wasn't causing me any problems.

I have attached a quick patch that will rectify the issue around the database engine issue with MySQL

-- 
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