[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3777) The RAND function registred in MySQLDialect does not take an argument

Patrik Stymne (JIRA) noreply at atlassian.com
Thu Feb 19 03:49:39 EST 2009


The RAND function registred in MySQLDialect does not take an argument
---------------------------------------------------------------------

                 Key: HHH-3777
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3777
             Project: Hibernate Core
          Issue Type: Bug
          Components: query-hql
    Affects Versions: 3.3.1
         Environment: Hibernate version 3.3.1.GA, MySQL 5.0.67
            Reporter: Patrik Stymne
            Priority: Minor


The RAND function is registered in org.hibernate.dialect.MySQLDialect as a NoArgsSQLFunction, but the RAND function in MySQL can optionally take an argument (the seed). See http://dev.mysql.com/doc/refman/5.0/en/mathematical-functions.html#function_rand


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