RE: [Hibernate] Moving Hibernate objects with SOAP

2003-08-14 Thread Jon Lipsky
Title: RE: [Hibernate] Moving Hibernate objects with SOAP Hi Josh, I needed to send my objects over SOAP as well (though using GLUE, not Axis).  What I ended up doing was write a custom serializer/deserializer that would write my hibernate data objects to and from XML.  When I want to send t

RE: [Hibernate] Using Hibernate from a ServletFilter

2003-01-09 Thread Jon Lipsky
introduction of a servlet filter in your web tier, and the introduction of Session intialization code into your test cases. Jon... -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 2:13 PM To: Jon Lipsky; '[EMAIL PROTECTED]'; &#

RE: [Hibernate] Queries with composite id's

2003-01-09 Thread Jon Lipsky
Title: RE: [Hibernate] Queries with composite id's Yep, that fixed it...  Thanks! (Sorry for getting you worried that something was broken. :-) -Original Message- From: One Ovthafew [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 1:18 PM To: [EMAIL PROTECTED] Subject:

RE: [Hibernate] Queries with composite id's

2003-01-09 Thread Jon Lipsky
Title: RE: [Hibernate] Queries with composite id's Ok this is really weird.  I'm not so sure that this is a problem with composite-id's now. Here is the query that it fails on: SELECT Posting FROM Posting IN CLASS com.xxx.tex.dao.posting.PostingImpl , Attr1 IN CLASS com.xxx.tex.dao.postin

[Hibernate] Queries with composite id's

2003-01-09 Thread Jon Lipsky
Title: Message Hi,   I recently upgraded one of our applications from Hibernate 1.0 (or one of the release around there) to Hibernate 1.2.  My queries that depend on the properties of a composite id no longer work.    I know that used to work because I was the one who added it originally, b

Re: [Hibernate] Oracle error: exceeded simultaneous SESSIONS_PER_USER limit

2003-01-02 Thread Jon Lipsky
Hi Matt, From your example code that you posted, it doesn't seem like you were ever closing the sessions you opened. Is this true, or are you perhaps doing it somewhere else in your code? The way that I handle Hibernate sessions in all of my applications is to use a ServletFilter that open

Re: [Hibernate] Looking for Volunteers

2002-10-15 Thread Jon Lipsky
Yes, now that makes sense... I'm going to have to think this through a little more, because my current code doesn't take that into consideration. You were right when you said this is a "little involved"... :-) - Original Message - From: "Gavin King" <[

Re: [Hibernate] Looking for Volunteers

2002-10-14 Thread Jon Lipsky
the arrays? Before I go and change something, I wanted to see what your original intention of that was. Thanks, Jon... - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: "Jon Lipsky" <[EMAIL PROTECTED]> Cc: "hibernate list" <[EM

Re: [Hibernate] Looking for Volunteers

2002-10-11 Thread Jon Lipsky
c with the rest (Right now the alias names don't match up.) I'll won't be able to continue working on this until Monday, so don't expect anything before then. Jon... - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: "Jon Lipsky&q

Re: [Hibernate] RE: DistributedCacheConcurrencyStrategy

2002-10-07 Thread Jon Lipsky
Hi, I myself really like the idea of the DistributedCacheConcurrency. (Of course, I'm being a little selfish since I have an immediate use for it.) Christian, if you need any help to finish, and/or test it, please let me know. I have an application already written which would be a good test for

Re: [Hibernate] Implentation of Outer Join for Oracle

2002-09-27 Thread Jon Lipsky
, but it might be nice to be able to specify Dialect specific properties. This would allow the user to toggle which outer join style to use for this Dialect. Jon... - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: "Jon Lipsky" <[EMAIL PROTECTED]&

[Hibernate] Implentation of Outer Join for Oracle

2002-09-27 Thread Jon Lipsky
Hi Gavin,   I finally have time try to add the Oracle joins stuff into the new refactored version of Hibernate in CVS.   I want to run my ideas by you before I do them, to make sure you agree (and to make sure I understand your refactorings correctly :-)   1) Refactor the outer join generatio

Re: [Hibernate] Oracle Style Joins Implemented

2002-09-24 Thread Jon Lipsky
variable.?.?    Jon... - Original Message - From: Christoph Sturm To: Jon Lipsky ; [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 3:20 PM Subject: Re: [Hibernate] Oracle Style Joins Implemented Hey Jon!   Oracle Outer Joins are great, I have been

[Hibernate] Oracle Style Joins Implemented

2002-09-24 Thread Jon Lipsky
Hi,   I've implemented outer join support for Oracle 8.  (Oracle 9 supports the ANSI style outer joins.)   I know Gavin is working on some refactoring right now, so I wanted to make sure my work doesn't interfere with his before I check the patches in.  In order to implement this, I had to mo

[Hibernate] Question about onUpdate

2002-09-11 Thread Jon Lipsky
Hi Gavin (and all the rest),   It appears to me that the onUpdate() method is not getting called when it should.  I have an object then implements the Lifecycle interface, and I have run a simple test with it where I create an object, load an object, update an object, and delete an object.  J

Re: [Hibernate-devel] mvc & lazy loading

2002-09-03 Thread Jon Lipsky
that "vSessionId" variable! Jon... - Original Message - From: "Christoph Sturm" <[EMAIL PROTECTED]> To: "Jon Lipsky" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, September 03, 2002 12:21 PM Subject: Re: [Hibernate-devel] mvc & lazy l

Re: [Hibernate-devel] mvc & lazy loading

2002-08-27 Thread Jon Lipsky
Hi All, I use a Filter (a new addition in the 2.3 servlet spec) to open and close my Hibernate sessions. By doing it this way it doesn't matter if I am using Velocity or JSP or something else to access Hibernate. As far as the "view" is concerned the Hibernate session just exists, and only the F

Re: [Hibernate-devel] proposed API change

2002-08-25 Thread Jon Lipsky
I like this change... All of the developers I have introduced Hibernate to have had this problem. They all thought (because of the names of the methods) that each method would do what the other one did. My 2 cents... Jon... - Original Message - From: To: <[EMAIL PROTECTED]> Sent: Sund

Re: [Hibernate-devel] RE: JMX/JBoss

2002-08-08 Thread Jon Lipsky
I've had a similar problem using Orion as the application server and I've been trying to solve it for a while with no luck. I know the required jar's are in the classpath because it can find the classes with no problem, however when I try to load a resource from the same jar it can't find it. Try

[Hibernate-devel] Is this type of query possible?

2002-07-01 Thread Jon Lipsky
Hi,   I've managed to get all of my direct JDBC calls replaced except for one.  I can't figure out how to write this particular query using the hibernate query language, so I'm not even sure it is possible.  If it's not possible then I'll take the time to implement it, however I wanted to ma

Re: [Hibernate-devel] How do you get hold of a javax.transaction.Transaction?

2002-06-14 Thread Jon Lipsky
I think this might have to be yet another configurable property. I needed to do this using Orion as my application server, and here is how I did it: TransactionManager manager = (TransactionManager)new InitialContext().lookup("java:comp/UserTransaction"); However, I don't know if it works the sa

Re: [Hibernate-devel] XML SessionFactory configuration

2002-06-12 Thread Jon Lipsky
I think this makes sense, and I definately have a use for it. I've implemented more or less the same thing at the web application level where with a ServletContext Listener that listens for the ServletContextCreated event and creates a SessionFactory and stores it in the application scope. With

[Hibernate-devel] Feature for Lazy Initialization using Proxies

2002-06-11 Thread Jon Lipsky
Hi...   I patched my version of Hibernate with a feature that I think is useful, but before I committed it I wanted make sure everyone agrees with what I have done and if we should make this feature configurable, etc...   Normally if you open a session, load or find some object, then close t

[Hibernate-devel] Using streams for binary types

2002-06-07 Thread Jon Lipsky
Hi, I just checked in a change to add support for using streams when setting binary types. I don't know about other databases, but Oracle has a limitation on the number of bytes you can set when you use setBytes to update a LONG RAW column. If you want to store more data than this limit, then yo

Re: [Hibernate-devel] release plans (was: Queries on objects with composite keys...)

2002-05-18 Thread Jon Lipsky
class (but feel free to add your own). I will probably release 0.9.12 before middle-of-next week, so this might miss out on the next release. So my plans are looking like: 0.9.12 - as soon as I finish the configurable discriminator column code 0.9.13 - integrate other people's patches (by Chris

Re: [Hibernate-devel] Queries on objects with composite keys...

2002-05-18 Thread Jon Lipsky
Hi... I just wanted to give you a quick update... I have the query by composite keys working now. I will do some more testing throughout the weekend and early next week to make sure that everything else still works. If it everything checks out with no problems, I'll post the patches the middle

Re: [Hibernate-devel] Queries on objects with composite keys...

2002-05-15 Thread Jon Lipsky
- Original Message ----- From: To: "Jon Lipsky" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 11:46 AM Subject: Re: [Hibernate-devel] Queries on objects with composite keys... > > > >> I am correct in my findings that you c