RE: [Hibernate] Re: [Hibernate-commits] Hibernate/cirrus/hibernate/test FooBarTest.java,1.237,1.238 MultiTableTest.java,1.21,1.22

2002-12-31 Thread Gavin King
IBM JVM returns reflected methods in the reverse order. So if some test deosn't clean up after itself, it might fail on one JVM but not the other :) > -Original Message- > From: Max Rydahl Andersen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 31 December 2002 12:16 AM > To: [EMAIL PROTECTED

RE: [Hibernate] Using CLOBs

2002-12-31 Thread Gavin King
The name of the type is "clob", and the expected property type is java.sql.Clob. Note that there are restrictions upon what you can do with Clobs (they can't be used outside of transaction, for example). You should also take notice of Hibernate.createClob(). > -Original Message- > From: U

RE: [Hibernate] Tools road map

2002-12-31 Thread Gavin King
My comments are now added in /italics/ on the page itself... > -Original Message- > From: Max Rydahl Andersen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 31 December 2002 7:16 AM > To: [EMAIL PROTECTED] > Subject: [Hibernate] Tools road map > > > I've been so "insane" to plot down a "roa

[Hibernate] pre-Codegen enhancements

2002-12-31 Thread Max Rydahl Andersen
Hi! Just letting you know that I now has implemented support for the attribute in Hibernate hbm.xml. My local codegenerator does now support the following tags. "description" - Text that will be included as an javadoc comment "extends" - name of the class the entity class should extend. Is ig

RE: [Hibernate] Hibernate XDoclet Task

2002-12-31 Thread Gavin King
> * Is there any chance to add predefined queries to the > generated mapping? Ummm, I thought theres was a @hibernate.query tag > * Is there any chance to generate the bean-pattern > (setXXX(), getXXX() >and especially the addXXX(Child)/setXXX(Parent)) methods of the >java-bean class

RE: [Hibernate] CodeGenerator

2002-12-31 Thread Gavin King
> > > > > > JavaDoc comment for getBar() > > > > java.lang.Object > > > > . > > But this one ? Isn't this a bit "cloudy" > If I understand this correctly you want that if "java-type" > is provided the codegenerator should use that type instead of > t

[Hibernate] buglet in 1.2.1

2002-12-31 Thread Gavin King
For the new logging stuff I added something like: Log log = LogFactory.getLog( Type.class.getPackage().getName() ); Turns out that getPackage() is allowed to return null if the JVM can't be bothered implementing it. And some (but not all) versions of the IBM JVM do just that. So there is a v

[Hibernate] [1.2.1] Minor glitch in packaging

2002-12-31 Thread Ugo Cei
The hibernate-1.2.1.tar.gz archive unpacks to a directory called hibernate-1.2. Even though it's only a point release, this might casuse some confusion if people inadvertently overwrite the old version. The directory should be called hibernate-1.2.1 (IMHO of course). Ugo -- Ugo Cei - http://w

Re: [Hibernate] Re: [Hibernate-commits] Hibernate/cirrus/hibernate/test FooBarTest.java,1.237,1.238 MultiTableTest.java,1.21,1.22

2002-12-31 Thread Max Rydahl Andersen
That's a mean one :) I'll remember that when my reflective code starts trashing on IBM's :) /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: "Max Rydahl Andersen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 31, 2002 12:37 AM Subject: RE: [Hibern

[Hibernate] ms access dialect problem

2002-12-31 Thread Pietro Polsinelli
well g., thanks for support, but I'm getting nowhere. I finally found the keyword for generating autoincrement column via JDBC for access, "counter", but still does not seem to work in this context. public String getIdentityColumnString() { return " counter "; } I tried all vers

RE: [Hibernate] Hibernate XDoclet Task

2002-12-31 Thread Konstantin Priblouda
--- Gavin King <[EMAIL PROTECTED]> wrote: > > > * Is there any chance to add predefined queries > to the > > generated mapping? > > Ummm, I thought theres was a @hibernate.query tag > > > * Is there any chance to generate the > bean-pattern > > (setXXX(), getXXX() > >and especially the

RE: [Hibernate] Combining 2 tables into 1 object

2002-12-31 Thread Gavin King
Have a look in the Patterns section of the wiki at the "Delegate" pattern (and the discussion). > -Original Message- > From: Raible, Matt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 31 December 2002 3:56 AM > To: '[EMAIL PROTECTED]' > Subject: [Hibernate] Combining 2 tables into 1 object

[Hibernate] Hibernate XDoclet Task

2002-12-31 Thread Ralf E. Stranzenbach
Hi, as a newbie using XDoclet (today it's working for the very first time) i have two questions: * Is there any chance to add predefined queries to the generated mapping? * Is there any chance to generate the bean-pattern (setXXX(), getXXX() and especially the addXXX(Child)/setXXX(Parent)) m