[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2591) MySQL 5.0.12+ JOIN Syntax Changed

Diego Pires Plentz (JIRA) noreply at atlassian.com
Wed Aug 15 17:11:14 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Pires Plentz resolved HHH-2591.
-------------------------------------

      Assignee: Diego Pires Plentz
    Resolution: Duplicate

> MySQL 5.0.12+ JOIN Syntax Changed
> ---------------------------------
>
>                 Key: HHH-2591
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2591
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: query-hql, query-sql
>    Affects Versions: 3.2.1, 3.2.3
>         Environment: Tested with Hibernate Core 3.2.1 and 3.2.3, MySQL 5.0.27, 5.0.33, 5.0.37
>            Reporter: Brian Rozmierski
>            Assignee: Diego Pires Plentz
>            Priority: Critical
>
> With 5.0.12 MySQL changed the JOIN syntax to be SQL:2003 compliant. (See MySQL 5.0.12 Release Notes at http://dev.mysql.com/doc/refman/5.0/en/news-5-0-12.html and JOIN syntax information at http://dev.mysql.com/doc/refman/5.0/en/join.html for more information)
> Previous to this change the following query was valid:
> SELECT * FROM t1, t2 JOIN t3 ON (t1.i1 = t3.i3);
> Now it must be written as:
> SELECT * FROM (t1, t2) JOIN t3 ON (t1.i1 = t3.i3);
> or
> SELECT * FROM t1 JOIN t2 JOIN t3 ON (t1.i1 = t3.i3);

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