RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
Okay, I made progress. The problem is that Loader.java attempts to load up all the values by name from the persister.getPropertyTypes call. And it builds the order of the list of properties to load when it creates the AbstractEntityPersister by setting the array of types. The problem is that th

Re: [Hibernate] need help for Tomcat coonfiguration

2003-10-16 Thread Christian Bauer
On 16 Oct (16:44), Zhang, John wrote: > I am new user to hibernate framework. When I started Tomxcat and rum my > application, I received the following error messages: > > > root cause > java.lang.ExceptionInInitializerError for " Configuration cfg = new > Configuration();" http://www.hiberna

[Hibernate] need help for Tomcat coonfiguration

2003-10-16 Thread Zhang, John
I am new user to hibernate framework. When I started Tomxcat and rum my application, I received the following error messages: root cause java.lang.ExceptionInInitializerError for " Configuration cfg = new Configuration();" at com.bsci.clinical.safety.bt.StudyManager.initHibernate(StudyM

RE: [Hibernate] Saving Collections from Multiple Sessions

2003-10-16 Thread Urberg, John
Hibernate also seems to always assume objects from different sessions are dirty. (I'm using saveOrUpdate() in 1.2.5. Maybe this has changed in 2.*?) Anyway, I need to work around this to be able to use Hibernate in a 3-tier system. I can only have SQL created when an object is really dirty sinc

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Sandeep Dath
Unfortunately, no. I've heard that the jTDS driver is more compliant. But that's about it. I've also read general posts on forums saying that the jTDS driver outperforms the Microsoft one, but I don't think any of it is based on formal testing. Sandeep. -Original Message- From: Eric Pugh

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
I agree. The Microsoft JDBC driver was purchased by Microsoft from some other company and is definitly not the best. Do you have links to anything that compares the performance etc of the two drivers? Eric > -Original Message- > From: Sandeep Dath [mailto:[EMAIL PROTECTED] > Sent: Thurs

[Hibernate] Saving Collections from Multiple Sessions

2003-10-16 Thread Urberg, John
We have a 3-tier Java GUI application using Hibernate as the O/R mapping layer. We've run into the problem of dealing with updating collections from other sessions. It seems Hibernate will recreate the collection if the collection was loaded with a different persisted (see SessionImpl.prepareColl

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Sandeep Dath
Rumors apart, I believe jTDS has very recently moved (in the Hibernate context) from just another driver to an officially supported driver. At least that is what I can make out from the supported databases (and drivers) page. >From my point of view, that's saying a lot. My reading of Microsoft's h

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
Unfortunantly I only have the microsoft one.. I had heard jTDS was better, and faster, but have never found the evidence to back up that rumor.. Eric > -Original Message- > From: Sandeep Dath [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 5:53 PM > To: [EMAIL PROTECTED]; [E

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Sandeep Dath
Eric, Have you tried using the jTDS driver? If so, what were your results? I believe jTDS passed all the Hibernate tests? (Is that a true statement?) Sandeep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Pugh Sent: Thursday, October 16, 2003 10:4

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
I have a unit test demonstrating this issue. I would like to commit it in test/mssql directory. I also want to commit a couple other unit tests that demonstate limitations with MSSQL and hibernate. For instance, the standard tests fail due to some timestamp issues, but it would be nice to show c

[Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
We have a problem with the Microsoft JDBC driver throwing a "can not reread column" exception. We have discovered that it only appears if the resultset contains a NTEXT, TEXT or IMAGE column. The driver then imposes the limitation that columns must be read increasing column indexes and that they m

Re: [Hibernate] re: Success Stories About Hibernate

2003-10-16 Thread Christian Bauer
On 15 Oct (22:20), Hai Ly wrote: > I am looking for some success stories with Hibernate. If you have had any success > with > Hibernate please send an email to [EMAIL PROTECTED] and share your success with > our team. > We will use these success stories to convince our manager that going with

[Hibernate] Create table from within a SessionBean

2003-10-16 Thread Giovanni Formenti
Hello, i have a problem... I'm trying to create the tables within a session bean in JBoss. I configure Hibernate to work with the JMX o JBoss and it works. Now i'm want to use generateSchemeCreationScript or better SchemaExport(cfg).create(...) but Hibernate seems don's see the properties in jboss-

Re: [Hibernate] Hibernate issue found on [Springframework-developer] - Hibernate commit/rollback

2003-10-16 Thread Gavin King
This is correct behaviour. If the commit() fails, you are supposed to call rollback(), as described in the Hibernate doco. Neill Robbins wrote: Sirs, I noticed this post on the Spring developer ist. It seemed important enough to make you guys aware of... Regards, N -Original Message-

[Hibernate] FW: Hibernate issue found on [Springframework-developer] - Hibernate commit/rollback

2003-10-16 Thread Neill Robbins
Doesn't appear as this got through. Trying again... N -Original Message- From: Neill Robbins Sent: 16 October 2003 09:36 To: '[EMAIL PROTECTED]' Subject: Hibernate issue found on [Springframework-developer] - Hibernate commit/rollback Importance: Low Sirs, I noticed this post on the

[Hibernate] Hibernate issue found on [Springframework-developer] - Hibernate commit/rollback

2003-10-16 Thread Neill Robbins
Sirs, I noticed this post on the Spring developer ist. It seemed important enough to make you guys aware of... Regards, N -Original Message- From: jürgen höller [werk3AT] [mailto:[EMAIL PROTECTED] Sent: 16 October 2003 05:53 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [S

[Hibernate] re: Success Stories About Hibernate

2003-10-16 Thread Hai Ly
Hi Everyone,   We are currently trying to justify to our manager that Hibernate is the way to go. I am looking for some success stories with Hibernate. If you have had any success with Hibernate please send an email to  [EMAIL PROTECTED]  and share your success with our team. We will use the