Bulk select using primary key or natural id
-------------------------------------------
Key: HHH-2657
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2657
Project: Hibernate3
Issue Type: Improvement
Reporter: charbel
I think that the following methods are really useful once we use hibernate with huge datas
in the database:
Object[] get(Class,Object[] id):
----------------------------------------
return objects giving their primary key.
First check in cache if it exists, if not either use a select in () either create a
temporary table if too many ids.
Object[] getUsingNaturalId(Class,Object[] id):
----------------------------------------
return objects giving their natural id.
the same thing than before.
Be careful on the fact that the primary key and the naturalid can be composite objects.
--
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