Re: [Hibernate] Re: inefficient bidirectional association (Timestamp nanos)

2003-01-15 Thread Gavin King
I did a big commit to both sourcetrees last night that should fix this problem; please try it out. (I used your suggested fix.) (I agree with your comment about nanos, but I'm trying to be very "correct" here.) Thanks for tracking this down. Gavin > hi, > > for this test, i'm using hsqldb (1.7

Re: [Hibernate] Re: inefficient bidirectional association (Timestamp nanos)

2003-01-15 Thread Viktor Szathmary
hi, for this test, i'm using hsqldb (1.7.1).. but i'm not quite sure what this would have to do with the jdbc driver itself - in this case, we're only talking about two inserts, there's nothing to be read back from the db... OTOH, the jdk itself (i'm using 1.4.1_01) does silly things when creating

Re: [Hibernate] RE: Query only brings back first record

2003-01-15 Thread Konstantin Priblouda
>If the "best practice" is to create a primary key class >and go that >route - I'll do that. I just wanted to make sure I'm >following the >recommended path ;) Not sure whether it's the ultimative non-plus-ultra best practice - but certainly it's better than class being own id... regards, ==

RE: [Hibernate] RE: Query only brings back first record

2003-01-15 Thread Matt Raible
If the "best practice" is to create a primary key class and go that route - I'll do that. I just wanted to make sure I'm following the recommended path ;) Matt > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Konstantin Priblouda > Sent: Wednesd

Re: [Hibernate] RE: Query only brings back first record

2003-01-15 Thread Konstantin Priblouda
Hi Matt, Decision to not to suport "object being own identity" and basically require "primary key" class was made with Gavin on hibernate forum. What you like to do is considered deprecated. If you believe that there is error in xdoclet generated files, please fill in support request in xdoclet

Re: [Hibernate] delete relation-ship between objects in many-to-many relationship?

2003-01-15 Thread Gavin King
>>How can I delete relation-ship between objects in many-to-many relationship, without deleting objects themselves with Hibernate?<< //foo and bar are associated with session foo.getBars().remove(bar); bar.getFoos().remove(foo); session.flush(); --

[Hibernate] delete relation-ship between objects in many-to-many relationship?

2003-01-15 Thread Владимир
Hello! How can I delete relation-ship between objects in many-to-many relationship, without deleting objects themselves with Hibernate?

[Hibernate] [ hibernate-Bugs-667226 ] schema="hibernate" in map file causes StringIndexOutOfBounds

2003-01-15 Thread SourceForge.net
Bugs item #667226, was opened at 2003-01-14 03:10 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=667226&group_id=40712 Category: None Group: None Status: Open >Resolution: Fixed Priority: 5 Submitted By: Jeff (jwboring) Assigned to: Nobody/Anonymous (nob

[Hibernate] [ hibernate-Bugs-667777 ] MapGenerator output specifies obsolete DTD

2003-01-15 Thread SourceForge.net
Bugs item #66, was opened at 2003-01-14 10:17 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=66&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: garrett (steely1) Assigned to: Nobody/Anonymous (nob

[Hibernate] [ hibernate-Bugs-667226 ] schema="hibernate" in map file causes StringIndexOutOfBounds

2003-01-15 Thread SourceForge.net
Bugs item #667226, was opened at 2003-01-14 03:10 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=667226&group_id=40712 Category: None Group: None >Status: Closed Resolution: Fixed Priority: 5 Submitted By: Jeff (jwboring) Assigned to: Nobody/Anonymous (n

Re: [Hibernate] IncompatibleClassChangeError when trying to create a datastore

2003-01-15 Thread Juozas Baliuka
Try to upgrade Ant or use "forke" to execute tests outside Ant JVM, xml parser loaded by Ant conflicts with hibernate. > Just found this entry in the FAQ about junit, will give that a try first. > Sorry for bugging the list. (Although it would be nice to know the jars and > versions that are nec

Re: [Hibernate] Re: inefficient bidirectional association (Timestamp nanos)

2003-01-15 Thread Viktor Szathmary
hi, On Tue, 14 Jan 2003 21:55:49 -0500, "Viktor Szathmary" <[EMAIL PROTECTED]> said: > i found out more after playing around for a littlebit... it turns out one > of the properties in Bar is a java.util.Date... if i remove that property > from the mapping, everything's cool, it does 2 inserts as

Re: [Hibernate] Re: inefficient bidirectional association

2003-01-15 Thread Viktor Szathmary
hi, i found out more after playing around for a littlebit... it turns out one of the properties in Bar is a java.util.Date... if i remove that property from the mapping, everything's cool, it does 2 inserts as expected.. however, with the Date there, i believe an equality check fails (i assume hib

Re: [Hibernate] IncompatibleClassChangeError when trying to create a datastore

2003-01-15 Thread Warner Onstine
Just found this entry in the FAQ about junit, will give that a try first. Sorry for bugging the list. (Although it would be nice to know the jars and versions that are necessary). -warner - Original Message - From: "Warner Onstine" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday

Re: [Hibernate] IncompatibleClassChangeError when trying to create a datastore

2003-01-15 Thread Warner Onstine
Now when I add jars and attempt again with the latest I get the following: Testcase: testInitConnection took 2.041 sec Caused an ERROR loader constraints violated when linking org/w3c/dom/Node class java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class at cirrus

[Hibernate] IncompatibleClassChangeError when trying to create a datastore

2003-01-15 Thread Warner Onstine
Hi all, I am receiving the following when trying to create a datastore as described here: http://hibernate.bluemars.net/hib_docs/reference/html/session-configuration. html I have tried both the .storeFile() and .storeClass with the same results. This is part of my jUnit test output below regarding