Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] Resolved Hibernate Proxys (Teneo resolves Hibernate Proxys when adding queried Objects to the Resource)
[Teneo] Resolved Hibernate Proxys [message #1781733] Mon, 12 February 2018 16:43
Torsten Scholz is currently offline Torsten ScholzFriend
Messages: 2
Registered: December 2012
Junior Member
I have set the propertie "teneo.mapping.set_proxy=true". This is how Lazy-Loading works for Hibernate. But unfortunately Teneo resolves all EReferences of a loaded EObject in method "attachedHelper" of the class org.eclipse.emf.teneo.resourceStoreResource. See line 836:
final Resource res = ((EObject) eObject.eGet(eref)).eResource();

This resolves the proxies for lazy loading. It can easily be seen in the logging of Hibernate by setting the propertie "hibernate.show_sql=true". How can resolving of the referenced objects be avoided?
Previous Topic:[CDO] CDOSession unsynchronized with server
Next Topic:access cached value from ecore model
Goto Forum:

Current Time: Sat Dec 14 09:51:33 GMT 2019

Powered by FUDForum. Page generated in 0.01394 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top