[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5877?page=c...
]
Viggo Navarsete commented on HHH-5877:
--------------------------------------
Today I figured out what was wrong in my situation, a method signature in SQLFunction.java
interface had changed between Hibernate 3.3.0.GA (which we previously used) and Hibernate
3.6.0.Final (which is bundled with JBoss 6.0.0.Final):
Hibernate 3.3.0.GA:
SQLFunction.java: public String render(List args, SessionFactoryImplementor factory)
throws QueryException;
Hibernate 3.6.0.Final:
SQLFunction.java: public String render(Type firstArgumentType, List arguments,
SessionFactoryImplementor factory) throws QueryException;
When I updated my custom function (which extended StandardSQLFunction and implemented
SQLFunction) to use the new method signature everything started to work!!
Custom Dialect Was working with Hibernate 3.5 but not in 3.6
------------------------------------------------------------
Key: HHH-5877
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5877
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.6.0
Reporter: Viggo Navarsete
Fix For: 3.6.next
Attachments: boot.log
Hi
I had created a Dialect so that i can add one method bitwiseAnd() . Was working Good in
3.5.
When I switched to 3.6 It was Depericated Type Hibernate.BIG_INTEGER was used in the
function creation
So I changed It to StandardBasicTypes.BIG_INTEGER.
But now I am getting Exception that <databaseName>.bitwiseAnd() function not
found!
----
If Switch back to 3.5 and with Depricated Hibernate.BIG_INTEGER it works fine.
See forum discussion for details:
https://forum.hibernate.org/viewtopic.php?f=1&t=1009207&start=0
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira