[Hibernate] Combining 2 tables into 1 object

2002-12-30 Thread Raible, Matt
I have two tables that are very simple code_category - category_id category_name code_reference - code_id category_id code_desc Is it possible to combine these into one object in Hibernate? All I've read seem to indicate that these should be separate objects. Is it best

Re: [Hibernate] Using Oracle Sequence

2002-12-30 Thread Ugo Cei
Raible, Matt wrote: How do I convert the following Oracle query to a hiberate? select ccr_master_sq.nextval from dual; Here's a WAG: ccr_master_sq.nextval dual Is this correct? No, use ccr_master_sq Thanks, Matt You're welcome, Ugo -- Ugo Ce

[Hibernate] Using Oracle Sequence

2002-12-30 Thread Raible, Matt
How do I convert the following Oracle query to a hiberate? select ccr_master_sq.nextval from dual; Here's a WAG: ccr_master_sq.nextval dual Is this correct? Thanks, Matt --- This sf.net email is sponsored by:Th

[Hibernate] Using CLOBs

2002-12-30 Thread Ugo Cei
Hi people, does anybody have some documentation and/or samples re using CLOBs in the current CVS version? Do I have to declare 'type="clob"' in my mapping file? Do my class attributes have to be String's or java.sql.Clob's or something else? Since I need this feature, I'd like to help testing

Re: [Hibernate] images on hibernte wiki ?

2002-12-30 Thread Christian Bauer
On 30 Dec (14:36), Max Rydahl Andersen wrote: > Im in the process of writing some thoughts about the tool suite for > Hibernate. In this regard I have a set of nice little pictures that I wanna > show you - anyone know how to include/embed them in the wiki pages on > hibernate.sf.net ? Please sen

[Hibernate] images on hibernte wiki ?

2002-12-30 Thread Max Rydahl Andersen
Hi! Im in the process of writing some thoughts about the tool suite for Hibernate. In this regard I have a set of nice little pictures that I wanna show you - anyone know how to include/embed them in the wiki pages on hibernate.sf.net ? /max

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

2002-12-30 Thread Max Rydahl Andersen
Just curious, what is different in IBM JVM since the tests did not run on it ? /max - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 30, 2002 2:11 PM Subject: [Hibernate-commits] Hibernate/cirrus/hibernate/test FooBarTest.java,1.237,1.238 Multi

Re: Re[2]: [Hibernate] Hibernate XDoclet task

2002-12-30 Thread Konstantin Priblouda
--- "Pablo I. Lalloni" <[EMAIL PROTECTED]> wrote: > > Here are the templates with the changes I've > done to them so > Hibernate XDoclet module support some > "inheritable" tags as > Ara suggested. > > See changes.txt for list of changes and some > notes. Hi Pablo, I will lo

Re: [Hibernate] CodeGenerator

2002-12-30 Thread Max Rydahl Andersen
> > Thus, I'll suggest (and also make a patch as I get to it) that it > > should be optional to have the dependency on commons-lang. > Optimal, we > > could generate a bare-boned toString method based on the > > attributes/properties know to the metadata. > > > > On second thought - I'll add an opt

RE: [Hibernate] CodeGenerator

2002-12-30 Thread Gavin King
> > >The generated classes now have a dependency upon > commons-lang, which > > >doesn't bother me in the slightest, but other people may > have another > > >opinion. > > > > Yes - me for one :) I would like to keep the generated code > as simple > > as possible :) (but at the same time I li

[Hibernate] [ hibernate-Feature Requests-650588 ] Logging of JDBC parameters

2002-12-30 Thread noreply
Feature Requests item #650588, was opened at 2002-12-08 23:40 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=650588&group_id=40712 Category: None Group: None Status: Closed Priority: 4 Submitted By: Gavin King (oneovthafew) Assigned to: Nobody/Anonymous

RE: [Hibernate] CodeGenerator

2002-12-30 Thread Gavin King
Well, its probably best to implement equals() and hashCode() if you plan on keeping it in a Set. But since Hibernate guarantees == is preserved for objects in the same Session, even thats not vital, as long as you are carefull not to mix and match objects from different sessions. And its up to you

[Hibernate] [ hibernate-Bugs-659534 ] build.xml is broken

2002-12-30 Thread noreply
Bugs item #659534, was opened at 2002-12-28 16:39 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=659534&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Woon (unkyaku) Assigned to: Nobody/Anonymous (n

[Hibernate] darn...(and a codegenerator patch)

2002-12-30 Thread Max Rydahl Andersen
Here I sit with a patch for the codegenerator and know sourceforge is down for maintanence - bummer! Well, you get it here as an attachment instead then, so I can go happily to bed :) Yappering starts here: This patch solves the problems regarding the subclass not knowing about the supers fields