[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2083) StatelessSession and self referenced entity with joined subclasses

Amir Pashazadeh (JIRA) noreply at atlassian.com
Mon Sep 18 10:03:24 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2083?page=comments#action_24539 ] 

Amir Pashazadeh commented on HHH-2083:
--------------------------------------

sorry the link is not related to this topic:

the exception stacktrace is:

SEVERE: an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
org.hibernate.AssertionFailure: possible non-threadsafe access to the session
	at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:100)
	at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
	at org.hibernate.loader.Loader.doQuery(Loader.java:717)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
	at org.hibernate.loader.Loader.doList(Loader.java:2145)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
	at org.hibernate.loader.Loader.list(Loader.java:2024)
...

> StatelessSession and self referenced entity with joined subclasses
> ------------------------------------------------------------------
>
>          Key: HHH-2083
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2083
>      Project: Hibernate3
>         Type: Bug

>   Components: core
>     Versions: 3.2.0.cr2
>     Reporter: Amir Pashazadeh

>
>
> Fetching an entity with joined subclasses has a reference to itself (a tree structure) throws an Assertion exception.
> see http://forum.hibernate.org/viewtopic.php?p=2322618#2322618

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