This issue can't be edited

Because it belongs to an archived project. Jira admins can restore projects from the archive.

Add support for named pure native scalar queries

Description

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)

Environment

None

Activity

Chris BredesenSeptember 25, 2007 at 8:32 PM

Workaround is to do such queries using Session.createSQLQuery() or straight JDBC.

Duplicate

Details

Assignee

Reporter

Participants

Chris Bredesen
Diego Plentz

Components

Priority

Created September 25, 2007 at 8:31 PM
Updated September 27, 2007 at 5:31 AM
Resolved September 27, 2007 at 5:31 AM