[hibernate-issues] [Hibernate-JIRA] Created: (HBX-851) MySQL primary keys are not completely detected

Zeljko Trogrlic (JIRA) noreply at atlassian.com
Mon Jan 15 11:35:44 EST 2007


MySQL primary keys are not completely detected
----------------------------------------------

         Key: HBX-851
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-851
     Project: Hibernate Tools
        Type: Bug

  Components: reverse-engineer  
    Versions: 3.2beta10    
 Environment: JBoss Seam 1.1.0.GA with MySQL 5
    Reporter: Zeljko Trogrlic
 Attachments: MySqlMetaDataDialect.java

Due to bug in MySQL JDBC driver, tools detects only int primary keys and not other types, like varchar.

This can be fixed with MySQL specific MetaDataDialect - fix attached.

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