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 ....\server\default\deploy\ext.ear\portal-ejb.jar\META-INF\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'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.