Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Cannot set Factory Instantiation policy with Weaving Enabled

So,

I've got a session customizer which sets an instantiation policy for my beans. Specifically, I pass an object and a method name to build the correct object for my entities. But here's the problem, I can't use EclipseLink weaving with it enabled. When weaving is enabled, EclipseLink will refuse to invoke the method, falling back the default construction methods. Without weaving, I can set the policy but I use weaving to lazy load some large and seldom accessed columns.

I'm using EclipseLink 1.2, which ships the JDeveloper 11.1.1.2.0.

It worked in the previous version of EclipseLink but not anymore. Does anyone have any insight into this?

Mark

--
Mark Robinson, EIT - Mizar LLC
mark.robinson@xxxxxxxxx
111-1010 McKenzie Ave.
Victoria, BC
V8X 4B2
(360) 296-4125



Back to the top