[Hibernate] Error: Foreign key must have same number of columns as referenced primary key

2003-01-14 Thread Raible, Matt
I have a mapping with the following child (bag) declared in the hbm.xml file: This works fine, but the true primary key is two columns: But when I try with the

[Hibernate] [ hibernate-Patches-662319 ] Codegen for Hibernate 2 - release

2003-01-14 Thread SourceForge.net
Patches item #662319, was opened at 2003-01-05 07:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=662319&group_id=40712 Category: Codegen Group: None Status: Open Resolution: Out of Date >Priority: 6 Submitted By: Max R. Andersen (maxcsaucdk) Assigned

RE: [Hibernate] Query only brings back first record

2003-01-14 Thread Schnitzer, Jeff
I had similar odd problems with lists when my indexes were wrong. Check to be sure they are continuous, unique, and start at 0. Hibernate will maintain them properly, but they're easy to mangle if you're doing updates by hand. Jeff Schnitzer [EMAIL PROTECTED] > -Original Message- > From

[Hibernate] [ANN] Pixory beta-2.3-- Hibernate based personal image server

2003-01-14 Thread Joseph Panico
This release adds a number of minor bug fixes and enhancements to existing features. It can be found here: www.pixory.org Pixory is a personal image server based on Hibernate and HsqlDB. --- Pixory allows you to store your photos on your own pc but to access, compose

[Hibernate] Query only brings back first record

2003-01-14 Thread Raible, Matt
I have the following hibernate code that queries a table and brings back rows. Hibernate brings back the proper number of rows (3), but each object (row) is identical - the first one. StringBuffer query = new StringBuffer(); query.append("from cr in class com.comcast.cable.dmc.itd

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

2003-01-14 Thread SourceForge.net
Bugs item #667226, was opened at 2003-01-13 11: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: None Priority: 5 Submitted By: Jeff (jwboring) Assigned to: Nobody/Anonymous (nobod

[Hibernate] [ hibernate-Bugs-663037 ] Interface Inheritance not seen at Runtime

2003-01-14 Thread SourceForge.net
Bugs item #663037, was opened at 2003-01-06 21:57 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=663037&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 8 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Gavin K

[Hibernate] [ hibernate-Bugs-667504 ] Remove javax.mail.* from lib/j2ee.jar

2003-01-14 Thread SourceForge.net
Bugs item #667504, was opened at 2003-01-13 20:24 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=667504&group_id=40712 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Robert Gash (gashalot) Assigned to: Nobody/Anonymous

[Hibernate] [ hibernate-Patches-662319 ] Codegen for Hibernate 2 - release

2003-01-14 Thread SourceForge.net
Patches item #662319, was opened at 2003-01-04 21:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=662319&group_id=40712 Category: Codegen Group: None Status: Open Resolution: Out of Date Priority: 6 Submitted By: Max R. Andersen (maxcsaucdk) Assigned t

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

2003-01-14 Thread Matt Raible
I changed from a single primary key to a composite one and now I get the three rows I'm expecting: I'm using XDoclet to generate my mapping file, and I've found a few issues with generating the element, so I guess I'll take my generated-then-edited

[Hibernate] RE: Query only brings back first record

2003-01-14 Thread Raible, Matt
I'm guessing this might be b/c I have a single primary key defined in my mapping file, and there are actually multiple records in this table with that primary key. Thanks, Matt -Original Message- From: Raible, Matt Sent: Tuesday, January 14, 2003 12:33 PM To: '[EMAIL PROTECTED]' Subject