ClassCastException at runtime
-----------------------------
Key: HHH-4514
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4514
Project: Hibernate Core
Issue Type: Bug
Components: query-hql
Affects Versions: 3.2.7
Environment: development
Reporter: Amit
Attachments: HibernatePPHQDAO.java
I have read in the migration guide regarding the changes but not sure how to incorporate
following into my existing code.
Configuration classicCfg = new Configuration();
classicCfg.addSqlFunction( "count", new ClassicCountFunction());
classicCfg.addSqlFunction( "avg", new ClassicAvgFunction());
classicCfg.addSqlFunction( "sum", new ClassicSumFunction());
SessionFactory classicSf = classicCfg.buildSessionFactory();
--
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