Re: [Hibernate] JUnit testing of hibernate code segments that need a datasource

2003-12-12 Thread Per Thomas Jahr
I have just done the same, but I don't create a new datasource outside the container. When you run code outside the container you have to use another hibernate.cfg.xml where you specify driver_class, url, username and password. My hibernate.cfg.xml (for use in Tomcat) looks like this: java:com

Re: [Hibernate] [ANNOUNCE] 'Introduction To Hibernate' Updated

2003-12-12 Thread Christian Bauer
On 07 Dec (18:39), Nick Heudecker wrote: > Gavin, et. al: Would it be possible to have the following pages updated to reflect > this new location? > http://www.hibernate.org/152.html > http://www.hibernate.org/78.html Updated, thanks for your great articles! -- Christian Bauer [EMAIL PROTECTE

[Hibernate] Proxool and Hibernate 2.1

2003-12-12 Thread Bill Horsman
Hi, I think there are some problems with the Proxool that was shipped with Hibernate 2.1. It's connected with recent fixes in Cglib that have been done since Cglib 2RC1. This means that any Proxool users that upgrade to Hibernate 2.1 are going to have problems, and I'd like to help them out as q

Re: [Hibernate] Proxool and Hibernate 2.1

2003-12-12 Thread Chris Nokleberg
On Fri, Dec 12, 2003 at 06:51:49PM +0100, Bill Horsman wrote: > We can release Proxool 0.8.3 fairly soon. It depends a bit on how long > away Cglib 2 Final is. The wise thing would be to wait until then before > releasing Proxool 0.8.3. Chris, any ideas about that? Juozas said something about rele

Re: [Hibernate] Proxool and Hibernate 2.1

2003-12-12 Thread Bill Horsman
On Fri, 2003-12-12 at 19:07, Chris Nokleberg wrote: > Juozas said something about releasing this weekend, so there are > unlikely to be any more changes to the classes you've forked. I'll prepare the release this weekend then and time it just after Cglib 2.0 final. (I picked up another four class

[Hibernate] typo in hibernate API

2003-12-12 Thread Tim Kettering
Just noticed a minute ago that in the API doc for Interceptor.isUnsaved() - theres a typo.. unless 'shoose' is some type of aussie term I haven't heard yet. :) Returns: Boolean or null to shoose default behaviour --- This SF.net email

[Hibernate] Release version and branch

2003-12-12 Thread David Morris
Now that 2.1 is out the door, will the v21branch be merged back into the HEAD version? Also, it seems like the net.sf.hibernate.test.TestCase.java file is missing from the v21branch and the MSSQLTest class relies on it. I decompiled one from an older hibernate jar and it works now but I was wonderi

Re: [Hibernate] typo in hibernate API

2003-12-12 Thread Gavin King
Its what we wear when we are not wearing thongse. (thanks) Tim Kettering wrote: Just noticed a minute ago that in the API doc for Interceptor.isUnsaved() - theres a typo.. unless 'shoose' is some type of aussie term I haven't heard yet. :) Returns: Boolean or null to shoose default behav

Re: [Hibernate] Release version and branch

2003-12-12 Thread Gavin King
David Morris wrote: Now that 2.1 is out the door, will the v21branch be merged back into the HEAD version? That is the plan. Also, it seems like the net.sf.hibernate.test.TestCase.java file is missing from the v21branch its there, I think you have a broken checkout -- Gavin King JBoss Group +6

[Hibernate] Subclassing And "net.sf.hibernate.MappingException: No persister for" Exception

2003-12-12 Thread Matthew E . Porter
Please help!!! (I hate sending e-mails out like this, but am crunched for time.) First, I am using Hibernate 2.0.3 and Spring. I have a interface called PaymentType which has 2 implementing classes- CreditCardPaymentType and EmailPaymentType. I am able to persist new PaymentTypes without iss

Re: [Hibernate] Subclassing And "net.sf.hibernate.MappingException: No persister for" Exception

2003-12-12 Thread Bear Giles
Matthew E.Porter wrote: I have a interface called PaymentType which has 2 implementing classes- CreditCardPaymentType and EmailPaymentType. No persister for: com.demandsolutions.merovingian.payment.entity.PaymentType; nested exception is: net.sf.hibernate.MappingException: No persister for: >

Re: [Hibernate] Subclassing And "net.sf.hibernate.MappingException: No persister for" Exception

2003-12-12 Thread Gavin King
Not true, you can map interfaces as a superclass. But in this case Matthew is anyway using any association by the looks of it, so he doesn't need to. Can't see the problem though. Bear Giles wrote: Matthew E.Porter wrote: I have a interface called PaymentType which has 2 implementing classes-

Re: [Hibernate] Subclassing And "net.sf.hibernate.MappingException: No persister for" Exception

2003-12-12 Thread Matthew E. Porter
Any guess on where I can start looking for the problem? One other thing I did not detail is that CreditCardPaymentType is an abstract class with a few implementations. This is holding up a site from being deployed and driving me absolutely crazy! Thanks in advance! Cheers, matthew Quoting