Foren

how to load my own class thru portal-hbm.xml

sonasona2k sonasona2k, geändert vor 18 Jahren.

how to load my own class thru portal-hbm.xml

New Member Beiträge: 23 Beitrittsdatum: 08.11.04 Neueste Beiträge
hi, <br /><br />I notice liferay load all the hibernate objects thru ....&#092;server&#092;default&#092;deploy&#092;ext.ear&#092;portal-ejb.jar&#092;META-INF&#092;portal-hbm.xml.<br />but I want to load my own hibernate classes when server is booting. I can load them when action is invoked. but those classes won&#39;t be in the same session as liferay objects.<br /><br />Does anybody has the idea how to achieve that?<br /><br />Thanks in advance.