[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-2262) support for just fetching the primary key of an entity using native queries

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Fri Nov 24 07:38:04 EST 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2262?page=all ]
     
Max Rydahl Andersen closed HHH-2262:
------------------------------------

    Resolution: Rejected

just use a scalar query and do a session.get(x) on the returned value(s).



> support for just fetching the primary key of an entity using native queries
> ---------------------------------------------------------------------------
>
>          Key: HHH-2262
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2262
>      Project: Hibernate3
>         Type: New Feature

>   Components: query-sql, core
>     Reporter: Amir Pashazadeh

>
>
> the native query must return all properties of an entity, it would be nice so the query can only return the primary key of an entity and hibernate fetches the entity using another query.

-- 
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