On 17 Jan 2005, at 20:32, Adam Ratcliffe wrote:
var factory = cocoon.getComponent(Packages.org.test.PersistenceFactory.ROLE);
You could then get your bizData like this:
var hs = factory.createSession();
var bizData = hs.find("from org.test.Data");
Adam,
never thought to do it this way, as I leave all the instantiation within the hibernate class itself. Is it more efficient to do it this way?
Uzo
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
