[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-661) Add support for named pure native scalar queries

Chris Bredesen (JIRA) noreply at atlassian.com
Tue Sep 25 14:32:57 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28217 ] 

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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list