[
http://opensource.atlassian.com/projects/hibernate/browse/HSHARDS-3?page=...
]
Emmanuel Bernard commented on HSHARDS-3:
----------------------------------------
Max, edit (left panel) is posible when in resolved state, no need to reopen, I believe.
Different beast when it''s closed though
setMaxResults method of Query is behaving wrong
-----------------------------------------------
Key: HSHARDS-3
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSHARDS-3
Project: Hibernate Shards
Issue Type: Bug
Components: query
Affects Versions: 3.0.0.Beta1
Environment: Hibernate 3.2
Oracle 10g
Reporter: Stephan Klapproth
Assignee: Maulik Shah
Fix For: 3.0.0.beta2
A simple query like this
List<Person> persons = HibernateUtil.getSession().createQuery("from
Person").setMaxResults(1).list();
is returning one person object from every shard instead of one object. So when you have 3
shards configured, objects will be returned.
--
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