From: Gavin K. <Gav...@ex...> - 2002-12-04 03:16:07
|
Cool. You beat me to it. Thanks for the Resin-specific code - I will integrate it as soon as I get to a PC with CVS access (I've been unable to do anything the past few days.) > -----Original Message----- > From: Aapo Laakkonen [mailto:aap...@pr...]=20 > Sent: Thursday, 5 December 2002 2:06 AM > To: hib...@li... > Subject: RE: [Hibernate] Lazy Collections >=20 >=20 > > 04:18:56,649 WARN > > [JTATransactionFactory] No TransactionManagerLookup configured > > (use of JCS read-write cache is not > recommended) >=20 > Ok there is error in documentation (it's not=20 > hibernate.transaction.manager_class). >=20 > This works:=20 > hibernate.transaction.manager_lookup_class=3Dcirrus.hibernate.tr > ansaction. > ResinTransactionManagerLookup >=20 >=20 > Now it works fine!!!!! Great work! Definately the best O/R tool. >=20 >=20 > --- code --- >=20 > Here is code for ResinTransactionManagerLookup class: >=20 > package cirrus.hibernate.transaction; >=20 > public final class ResinTransactionManagerLookup extends=20 > JNDITransactionManagerLookup { >=20 > /** > * @see > cirrus.hibernate.transaction.JNDITransactionManagerLookup#getName() > */ > protected String getName() { > return "java:comp/TransactionManager"; > } >=20 > } >=20 > --- code --- >=20 ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** |