[hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-238) Specifying a schema in @Table does not work with MySQL

Emmanuel Bernard (JIRA) noreply at atlassian.com
Tue Feb 20 01:17:48 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-238?page=all ]
     
Emmanuel Bernard resolved EJB-238:
----------------------------------

     Assign To: Emmanuel Bernard
    Resolution: Rejected

I looked at it, you just need to skip the database name in yor JDBC URL
jdbc:mysql://localhost/ instead of jdbc:mysql://localhost/clients 

> Specifying a schema in @Table does not work with MySQL
> ------------------------------------------------------
>
>          Key: EJB-238
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-238
>      Project: Hibernate Entity Manager
>         Type: Bug

>   Components: EntityManager
>     Versions: 3.2.0.cr2
>     Reporter: Bryan Hunt
>     Assignee: Emmanuel Bernard

>
>
> If you specify a schema in an @Table annotation, the table will not be created when using Hibernate with MySQL.  If you remove the schema, the table is created 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




More information about the hibernate-issues mailing list