[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2886?page=c...
]
Andreas Pakulat commented on HHH-2886:
--------------------------------------
Instead of closing you could ask for more information. So what exactly is incomplete?
nonuniqueexception when loading the same object multiple times
--------------------------------------------------------------
Key: HHH-2886
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2886
Project: Hibernate3
Issue Type: Bug
Affects Versions: 3.2.5
Environment: PostgreSQL 8.2
EHCache 1.2.4
Reporter: Andreas Pakulat
Priority: Critical
When using HQL or Criteria queries to find a specific object in the database it seems
that Hibernate completely bypasses its Session Cache and thus creates new persistent
objects each time the query is run. If the query however finds the same object multiple
times this results in non-unique-exceptions as soon as one of the objects is updated.
Hibernate should check its session cache when loading objects from the database and use
those already associated objects instead of creating new ones.
--
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