Re: [Hibernate] EHCache and JDK1.4

2003-11-15 Thread Gavin King
Great :) Greg Luck wrote: Gavin Done. I have changed logging to commons-logging and have added LRUHashMap from commons-collections. This, along with some packaging changes will be in CVS later today. Greg Luck On 15/11/2003, at 10:08 AM, Gavin King wrote: We already have a dependency to

Re: [Hibernate] EHCache and JDK1.4

2003-11-15 Thread Greg Luck
Gavin Done. I have changed logging to commons-logging and have added LRUHashMap from commons-collections. This, along with some packaging changes will be in CVS later today. Greg Luck On 15/11/2003, at 10:08 AM, Gavin King wrote: We already have a dependency to commons-collections, so perh

Re: [Hibernate] UserType question

2003-11-15 Thread Les A. Hazlewood
> Thats why you have to use the strategy instead of the > . You have a discriminator value already, but keep in > mind that this strategy has some problems, like impossibility of NOT > NULL constraints. Just to understand you... Lets say my application wants to persist instances of 3 permission

Re: [Hibernate] New method proposal for session

2003-11-15 Thread Gavin King
But, under the covers, this method would have to do: delete( get(clazz, id) ); since we need to process callbacks/cascades/collections, etc. Matt Dowell wrote: Would anyone else use this? session.delete(Class class, Object ID) Matt Dowell Notiva Corp. -

Re: [Hibernate] UserType question

2003-11-15 Thread Christian Bauer
On 15 Nov (19:43), Les A. Hazlewood wrote: > Is there a way to tell Hibernate that all instances of any subclass of > java.security.Permission should get stored to a single table? It doesn't make > sense to me to create a different table per subclass, since all the columns are Thats why you have

[Hibernate] UserType question

2003-11-15 Thread Les A. Hazlewood
Folks, I haven't received a reply to my forum post, so I was wondering if anyone here on the developer mailing list might be able to help out My post: http://forum.hibernate.org/viewtopic.php?t=925582 Basically, I'm trying to save instances of different subclasses to the same table... the

RE: [Hibernate] JavaPolis

2003-11-15 Thread Eric Pugh
Who else is going? I am planning on attending and would love to meet up with some other Hibernate folks. Eric Pugh > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Max > Rydahl Andersen > Sent: Saturday, November 15, 2003 8:30 AM > To: Gavin King > Cc:

Re: [Hibernate] EHCache and JDK1.4

2003-11-15 Thread Juozas Baliuka
Fork and modify this class http://cvs.sourceforge.net/viewcvs.py/voruta/voruta/src/java/net/sf/voruta/S oftRefMemoryCache.java It is simple soft cache implementation and emulates LRU. BTW: Suns JVM SoftReference implements LRU algorythm itself . - Original Message - From: "Greg Luck" <

Re: [Hibernate] JavaPolis

2003-11-15 Thread Max Rydahl Andersen
Gavin King wrote: http://www.bejug.org/bejugPortal/appmanager/BeJUG/JP03?_nfpb=true&_pageLabel=P4022 see anyone we know? I do ... http://www.bejug.org:80/bejugPortal/appmanager/BeJUG/JP03;jsessionid=11WJu9tW4rFBqX5ZggSforOPmQxMwkpx1KWsZfHwxuG2BQX8uWYn!177128363?_nfpb=true&10002_actionOverr