[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-489) Custom SQLFunction not being called

radhakrishna (JIRA) noreply at atlassian.com
Thu Oct 7 20:29:59 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38624#action_38624 ] 

radhakrishna commented on HHH-489:
----------------------------------

because the signature changed so, wish you had used override to warn you, 
public String render(List args, SessionFactoryImplementor factory)

> Custom SQLFunction not being called
> -----------------------------------
>
>                 Key: HHH-489
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-489
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.3
>         Environment: Java 1.4.2_04
> Hibernate 3.0.3
> MySQL 3.23.45-max-nt
> mysql-connector-java-3.1.6
>            Reporter: Darren Scott
>            Assignee: Gavin King
>         Attachments: hibernate-sqlfunction-test.zip
>
>
> A custom SQLFunction I have written to implement bitwise AND behaviour for MySQL dialects is not being called as expected under Hibernate 3.0.2 and 3.0.3. The resulting SQL does not show the expected function translation from HQL bitwise_and(X,Y) to SQL X & Y.
> This previously worked under Hibernate 3.0.1.

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