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

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Tue Jan 16 01:50:44 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-851?page=comments#action_25796 ] 

Max Rydahl Andersen commented on HBX-851:
-----------------------------------------

could you please show a schema that does not work with mysql ? 

(and also what version of the driver that should have these bugs ?)

> 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