Re: [Hibernate] Version Jars Update

2004-01-21 Thread Joseph Fifield
Yes, I assume that's the one. I am actually using the one in the hibernate 2.1.1 distribution, and the version number came from lib/readme.txt. Joe - Original Message - From: "Eric Pugh" <[EMAIL PROTECTED]> To: "'Joseph Fifield'" <[EMAIL PROTE

Re: [Hibernate] Version Jars Update

2004-01-21 Thread Joseph Fifield
> 2) cglib2.jar. According to the readme, this is version 2.0rc2. However, > on ibiblio is a version called cglib-rc2-1.0.jar that is 107k [2] , while > the version in hibernate/lib is 283k. I believe that part of release 2.1.1 > was to clean up some confusion with cglib. So, I am reluctant to

Re: [Hibernate] Unit Testing With ThreadLocal Sessions

2003-08-14 Thread Joseph Fifield
ocessor in struts, for example). I might try this at some point and see if it makes any difference. Joe - Original Message - From: "Juozas Baliuka" <[EMAIL PROTECTED]> To: "Joseph Fifield" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, August

Re: [Hibernate] Multiple database support w/ Hibernate

2003-08-09 Thread Joseph Fifield
Does oracle itself support queries across multiple databases? I'm using SQL Server, which allows it using fully qualified object names (database.owner.table) in all sql statements. I just specify the database.owner in the schema attribute of each mapping, and it works fine. If oracle allows the sam

Re: [Hibernate] Unit Testing With ThreadLocal Sessions

2003-08-08 Thread Joseph Fifield
I don't close the session at all in any of my business logic methods. In deployment, a servlet filter _always_ closes the session at the end of the request. For unit testing, I have a base test case class that does the same thing in the tearDown() method. That way, each test case can execute in the

Re: [Hibernate] Unit Testing With ThreadLocal Sessions

2003-08-07 Thread Joseph Fifield
cases. If you have other scenarios, you just need to find an appropriate place to close the session (maybe a controller of some sort). Joe - Original Message - From: "Matthew E.Porter" <[EMAIL PROTECTED]> To: "Joseph Fifield" <[EMAIL PROTECTED]> Cc: <[EMAIL

RE: [Hibernate] Hibernate.cfg.xml without JNDI

2003-02-05 Thread Joseph Fifield
t; > xml"/> > > > resource="com/comcast/cable/dmc/itd/cct/persistence/CMCFChanne > > lMap.hbm.xml"/ > > > > > > > resource="com/comcast/cable/dmc/itd/cct/persistence/CMCFIrt.hbm.xml"/> > > > re

RE: [Hibernate] Hibernate.cfg.xml without JNDI

2003-02-05 Thread Joseph Fifield
you're running tests or not. Joe > -Original Message- > From: Jason Carreira [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 05, 2003 1:41 PM > To: Joseph Fifield; [EMAIL PROTECTED] > Subject: RE: [Hibernate] Hibernate.cfg.xml without JNDI > > > Hi

RE: [Hibernate] Hibernate.cfg.xml without JNDI

2003-02-05 Thread Joseph Fifield
Yes, it is possible. Something like this should do the trick: factory = new Configuration("/hibernate.cfg.xml").configure()[0]; Joe > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jason Carreira > Sent: Wednesday, February 05, 2003 12:13 PM > T