[Hibernate] Unit Testing With ThreadLocal Sessions

2003-08-06 Thread Matthew E . Porter
Greetings. I am interested in hearing how people unit test method that call session.save(), update(), and delete() when the session is provided via the ThreadLocal pattern. For me, the primary question is whether or not the method containing the session method calls actually closes the databa

Re: [Hibernate] Unit Testing With ThreadLocal Sessions

2003-08-09 Thread Matthew E . Porter
My only concern with this is that the business logic component is now coupled with the web tier. For this project (which is basically a framework), we want to be able to use the components internal and external to the servlet container. However, I do appreciate the feedback! It helps con

Re: [Hibernate] Spring Framework Integration along with Open Session In View

2003-08-14 Thread Matthew E . Porter
Sandeep: I just had this conversation with the Spring guys last week. You may want to check their mailing list. Here's the abridged version: You can do it. It is a nasty hack of the system (and beauty of Spring). The mailing list includes the necessary filter on how to do it. However, it is

Re: [Hibernate] A Proposal: Opensymphony Conductor

2003-08-14 Thread Matthew E . Porter
Jason: I am all for this. I have some new hibernate infrastructure stuff coming today and some patches to OSUser/PropertySets that solves the current performance issues. Where do we begin and is Atlassian's security stuff open source? Cheers, matthew On Wednesday, August 13, 2003, at 1

[Hibernate] Re: [OS-webwork] Re: [Opensymphony-developers] A Proposal: Opensymphony Conductor

2003-08-14 Thread Matthew E . Porter
On Wednesday, August 13, 2003, at 06:29 PM, Mike Cannon-Brookes wrote: Joseph - where is the code? No code, no idea - sorry. Jason - sounds like an interesting idea, but could we focus on getting WW2 / XW finished and released first? :) I disagree. To me, this seems like the next logical progr

[Hibernate] CGLIB2

2003-10-27 Thread Matthew E . Porter
Has Hibernate be updated to use cglib2? If not, will it and when? Cheers, matthew porter --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a con

Re: [Hibernate] CGLIB2

2003-10-27 Thread Matthew E . Porter
, but reflection is so fast that I would spend my time elsewhere, for example adding support for a typesafe-enum representation of lookup tables. :-) Gavin King wrote: Not yet. I guess i should do it now, huh? Matthew E. Porter wrote: Has Hibernate be updated to use cglib2? If not, will it and when

[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 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