[
http://opensource.atlassian.com/projects/hibernate/browse/ANN-661?page=co...
]
Chris Bredesen commented on ANN-661:
------------------------------------
Workaround is to do such queries using Session.createSQLQuery() or straight JDBC.
Add support for named pure native scalar queries
------------------------------------------------
Key: ANN-661
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-661
Project: Hibernate Annotations
Issue Type: New Feature
Components: binder
Reporter: Chris Bredesen
Priority: Minor
This feature has been requested but is not yet implemented:
Caused by: org.hibernate.cfg.NotYetImplementedException: Pure native scalar queries are
not yet supported
at org.hibernate.cfg.annotations.QueryBinder.bindNativeQuery(QueryBinder.java:118)
at org.hibernate.cfg.AnnotationBinder.bindQueries(AnnotationBinder.java:277)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:417)
at
org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:498)
at
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:277)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1286)
at
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:730)
--
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