Re: [Hibernate] Problem with upgrading to 2.0

2003-02-12 Thread Christian Bauer
On 12 Feb (09:14), Jason Carreira wrote: > Why is this in the jar file? I just want to use the hibernate.cfg.xml > and provide my own connections. Hibernate doesn't need to know anything > about JDBC drivers in my case, and I wouldn't want to default to DB2 > anyway. > > I guess I can go in and r

[Hibernate] Problem with upgrading to 2.0

2003-02-12 Thread Jason Carreira
Hi, I've been working on upgrading us to 2.0, and we've run into a strange bug. It seems that the hibernate.jar file ships with a hibernate.properties file in it with the JDBC driver set to DB2. Since we're using Oracle and thus don't have the DB2 driver, it's throwing an exception. Why is this i

[Hibernate] huge tring storage

2003-02-12 Thread Justen Stepka
Regard,   I am looking to store a String to the database that would be a legal contract so the amount of space necessary would be rather large in the database.   What type of mapping declaration do I want for my tag? I have tried serializable and object but both are just not enough... I was

[Hibernate] How to do this (assiciation)?

2003-02-12 Thread Aapo Laakkonen
Let's say I have a Message table: message (id, subject, content, toaddr, ccaddr) - id = long identifier - subject = text string - content = text string - toaddr = mapping to a address table with address.type='t'. - ccaddr = mapping to a address table with address.type='c'. Or it can be an integer

R: [Hibernate] [ hibernate-Bugs-684496 ] Nested multiple columns composite-id causes "broken mapping"

2003-02-12 Thread Travelli Stefano
Ok. The order is correct. There was an error in the mapping files I was using for the test. There was also a bug in the code of my previous message. I think that this should be the correct version of EntityPersister.postInstantiate in order to manage nested multiple columns composite-id. public

R: [Hibernate] [ hibernate-Bugs-684496 ] Nested multiple columns composite-id causes "broken mapping"

2003-02-12 Thread Travelli Stefano
I'm trying to change EntityPersister.postInstantiate method in order to fix the nested multiple columns composite-id. With this implementation the code take care of the exact number of columns for each component of the composite-id. However it doesn't work because the order with which the columns

[Hibernate] [ hibernate-Feature Requests-684810 ] Persistent String Enum

2003-02-12 Thread SourceForge.net
Feature Requests item #684810, was opened at 2003-02-12 05:39 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=684810&group_id=40712 Category: None Group: None Status: Open >Priority: 8 Submitted By: Stefano Travelli (stefanotravelli) Assigned to: Nobody/A

[Hibernate] [ hibernate-Feature Requests-684442 ] Define datasource name in mapping file

2003-02-12 Thread SourceForge.net
Feature Requests item #684442, was opened at 2003-02-11 19:02 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=684442&group_id=40712 Category: None Group: None Status: Open >Priority: 1 Submitted By: Jonas Van Poucke (jvpoucke) Assigned to: Nobody/Anonymou

Re: [Hibernate] ClassMetadata

2003-02-12 Thread Gavin . King
In Hibernate2 you can get access to this kind of stuff via the Configuration object (not from the Sessionfactory, since these things are not used at runtime).

[Hibernate] ClassMetadata

2003-02-12 Thread Ken Robinson
Hi there, Looking throught the hibernate-mapping-1.1 dtd I noticed that the property element has a property called length. I'm assuming this can be used to indicate the size of the underlying column. From ClassMetadata I can get to the property names and types, but there doesn't seem to be any