]
Gail Badner updated HHH-4489:
-----------------------------
Fix Version/s: (was: 3.6.5)
need method "refresh(String entityName, Object obj)"
----------------------------------------------------
Key: HHH-4489
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4489
Project: Hibernate Core
Issue Type: Improvement
Components: core
Affects Versions: 3.3.2
Environment: Idependant
Reporter: Shilin ZHENG
Assignee: Strong Liu
Priority: Blocker
Fix For: 4.0.0.Beta1
Original Estimate: 1m
Remaining Estimate: 1m
We can save, update, merge etc. an object with "entityName", but not refresh().
Exception is :
FROM-------------------
org.hibernate.MappingException: Unknown entity:
com.aca.isie.statparam.fonctional.entities.impl.VariableExp
at
org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:548)
at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338)
at
org.hibernate.event.def.DefaultRefreshEventListener.onRefresh(DefaultRefreshEventListener.java:66)
at
org.hibernate.event.def.DefaultRefreshEventListener.onRefresh(DefaultRefreshEventListener.java:39)
at org.hibernate.impl.SessionImpl.fireRefresh(SessionImpl.java:902)
at org.hibernate.impl.SessionImpl.refresh(SessionImpl.java:886)
-------------END
When I read line 66 of source file "DefaultRefreshEventListener", I have
noticed that you have commented this:
Line 66: persister = source.getEntityPersister(null, object); //refresh() does not pass
an entityName
So will you please correct this so that we can pass an "entityName" in
"refresh()"? Thank you. In fact, we are on the last phase of our development and
we are blocked on this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: