[Hibernate] Set x Nag

2003-10-27 Thread Miguel Henley
Hi, It's not clear to me the difference between the XML element and the XML element at the hibernate mappings file. Can someone explain me that ? Regards, Miguel. --- This SF.net email is sponsored by: The SF.net Donation Program. Do you

Re: [Hibernate] Set x Nag

2003-10-27 Thread Christian Bauer
On 27 Oct (09:12), Miguel Henley wrote: > It's not clear to me the difference between the XML element and the XML > element at the hibernate mappings file. > Can someone explain me that ? Please read the documentation. -- Christian Bauer [EMAIL PROTECTED] --

[Hibernate] Session problem

2003-10-27 Thread Nikolay Ganev
hi guys, i have 2 q: 1. I can get and set Interceptor for Configuration(which is common for the sesion Factory). Now I need to get Interceptor for a session, but there is no method getInteresptor to get the Interceptor for a given Session! How can i get the Interceptor for a session? 2. I want t

[Hibernate] New method proposal for session

2003-10-27 Thread Matt Dowell
Would anyone else use this? session.delete(Class class, Object ID) Matt Dowell Notiva Corp. --- 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 c

[Hibernate] Check for invariants

2003-10-27 Thread Miguel Henley
Hello, I know that I can implement the Validatable interface at the persistence class to check for invariant. But supose that the invariant depends of the operation -- if the persistence class is going to be "inserted" at the database the rules is not the same for the update operation. What is

Re: [Hibernate] Check for invariants

2003-10-27 Thread Bear Giles
Miguel Henley wrote: I know that I can implement the Validatable interface at the persistence class to check for invariant. But supose that the invariant depends of the operation -- if the persistence class is going to be "inserted" at the database the rules is not the same for the update operati

[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

[Hibernate] [Maybe OT] odmg.jar licence

2003-10-27 Thread fabio . tudone
Hi all, does anybody know the exact licensing terms of the odmg.jar file? I was unable to find anything mentioning something about it. TIA Fabio "Lievore" T. --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like wh

Re: [Hibernate] CGLIB2

2003-10-27 Thread Gavin King
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? Cheers, matthew porter --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like wha

[Hibernate] Runtime error Question

2003-10-27 Thread BINGHAM, EARL (SBCSI)
I receive a runtime error during the initial setup of the persisting objects to my oracle database. These include: 16:53:38,992 WARN SessionFactoryImpl:262 - Problem opening output stylesheet - databinding disabled javax.xml.transform.TransformerConfigurationException: javax.xml.transform.Transf

Re: [Hibernate] Runtime error Question

2003-10-27 Thread Gavin King
It is just a warn that i'm sure is irrelevant to you. BINGHAM, EARL (SBCSI) wrote: I receive a runtime error during the initial setup of the persisting objects to my oracle database. These include: 16:53:38,992 WARN SessionFactoryImpl:262 - Problem opening output stylesheet - databinding disable

RE: [Hibernate] Lazy initialization problem

2003-10-27 Thread Andrew Zeon
How does EJBs address this issue? thanks. -Original Message- From: Gavin King [mailto:[EMAIL PROTECTED] Sent: Monday, 27 October 2003 2:12 PM To: Andrew Zeon Cc: Hibernate (E-mail) Subject: Re: [Hibernate] Lazy initialization problem Really, the correct approach is to use lazy initiali

Re: [Hibernate] CGLIB2

2003-10-27 Thread Josh Rehman
Hmm. Cglib is neat, 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?

Re: [Hibernate] CGLIB2

2003-10-27 Thread Matthew E . Porter
Please note. I am not asking/suggesting to change to version 2 because of its faster reflection code (although every little bit helps!). I am asking because we want to use some of the other new features. Cheers, matthew On Oct 27, 2003, at 5:42 PM, Josh Rehman wrote: Hmm. Cglib is neat, but

[Hibernate] Re: CGLIB2

2003-10-27 Thread Chris Nokleberg
Josh Rehman wrote: > Hmm. Cglib is neat, but reflection is so fast that I would spend my time > elsewhere, for example adding support for a typesafe-enum representation > of lookup tables. :-) Hibernate won't get much reflection speedup with CGLIB2, since it is already using similar code in 1.0.

Re: [Hibernate] Re: CGLIB2

2003-10-27 Thread Gavin King
Ah. hm. I am actually ready to release 2.1rc1. Just waiting on Bela's stuff. Exactly how beta is "beta"? Gavin, with the API changes it's probably quickest if I put a patch together. Let me know when you want to do this and whether it should be against HEAD or some branch. I would only recom

Re: [Hibernate] New method proposal for session

2003-10-27 Thread Muthukumaran Thayumanavan
Yes, I would use this. >From: "Matt Dowell" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: [Hibernate] New method proposal for session >Date: Mon, 27 Oct 2003 10:44:25 -0600 > >Would anyone else use this? > >session.delete(Class class, Object ID) > > >Matt Dowell >Notiva Corp. >

[Hibernate] Re: Re: CGLIB2

2003-10-27 Thread Chris Nokleberg
Gavin King wrote: > Ah. hm. I am actually ready to release 2.1rc1. Just waiting on > Bela's stuff. > > Exactly how beta is "beta"? Not very beta? :-) Of course there may be some minor API changes going forward, but I think our release schedule is a bit conservative, so if all the tests pass i

Re: [Hibernate] Re: Re: CGLIB2

2003-10-27 Thread Gavin King
OK. You wanna make a patch? The CVS branch is v21branch. Chris Nokleberg wrote: Gavin King wrote: Ah. hm. I am actually ready to release 2.1rc1. Just waiting on Bela's stuff. Exactly how beta is "beta"? Not very beta? :-) Of course there may be some minor API changes going forward, b

Re: [Hibernate] Re: CGLIB2

2003-10-27 Thread Juozas Baliuka
> > Ah. hm. I am actually ready to release 2.1rc1. Just waiting on > Bela's stuff. > > Exactly how beta is "beta"? We are going to change package name, but I do not think we will change something not trivial. > > >Gavin, with the API changes it's probably quickest if I put a patch > >toget