You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(32) |
Jun
(175) |
Jul
(209) |
Aug
(302) |
Sep
(287) |
Oct
(339) |
Nov
(314) |
Dec
(329) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(479) |
Feb
(389) |
Mar
(599) |
Apr
(307) |
May
(390) |
Jun
(300) |
Jul
(410) |
Aug
(458) |
Sep
(299) |
Oct
(315) |
Nov
(363) |
Dec
(529) |
2005 |
Jan
(568) |
Feb
(434) |
Mar
(1004) |
Apr
(823) |
May
(767) |
Jun
(763) |
Jul
(854) |
Aug
(862) |
Sep
(560) |
Oct
(853) |
Nov
(763) |
Dec
(731) |
2006 |
Jan
(776) |
Feb
(608) |
Mar
(657) |
Apr
(424) |
May
(559) |
Jun
(440) |
Jul
(448) |
Aug
(58) |
Sep
|
Oct
(17) |
Nov
(16) |
Dec
(8) |
2007 |
Jan
(1) |
Feb
(8) |
Mar
(2) |
Apr
(5) |
May
(3) |
Jun
(3) |
Jul
(3) |
Aug
(16) |
Sep
(10) |
Oct
(4) |
Nov
(4) |
Dec
(4) |
2008 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: <leg...@at...> - 2003-11-05 00:03:14
|
Message: The following issue has been re-assigned. Assignee: Gavin King (mailto:ga...@hi...) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?= key=3DHB-452 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-452 Summary: Composite key behaviour Type: Bug Status: Assigned Priority: Major Project: Hibernate2 Components:=20 core Versions: 2.0.3 Assignee: Gavin King Reporter: Philippe Chal=C3=A9at Created: Tue, 4 Nov 2003 3:10 AM Updated: Tue, 4 Nov 2003 6:02 PM Description: Using composite key, there are some problem on query (see http://forum.hibe= rnate.org/viewtopic.php?t=3D925205&highlight=3D) The exception is : could not resolve property type: piece.id.lot.id [from fr.infologic.stocks.= modele.Mouv as mouv where mouv.piece.piecePK.lot.lotPK.prod =3D ? ] =09at net.sf.hibernate.hql.PathExpressionParser.getPropertyType(PathExpress= ionParser.java:235) See attached zip file to reproduce the problem. Philippe --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators= .jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 23:59:14
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 4 Nov 2003 5:57 PM Thanks, this was silly. However, the only way that this could occur really is that your cache timeout is set too short for the length of your transactions! Or you are using a cache that is too small, or something. (thats why it did not occur in my tests) P.S. John, since you are finding all the cache-related bugs right now, perhaps you could build a good test suite? --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-453 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-453 Summary: ClassCastException in ReadWriteCache.afterUpdate Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: Hibernate2 Components: core Fix Fors: 2.1 rc1 Versions: 2.1 rc1 Assignee: Reporter: John Kristian Created: Tue, 4 Nov 2003 4:37 PM Updated: Tue, 4 Nov 2003 5:57 PM Environment: Windows XP, WebLogic 8.1 SP1, Microsoft SQL Server Description: Hibernate 2.1 beta 6 propagates an AssertionFailure and logs error.log (attached). This did not occur with 2.1 beta 5. notlock.patch (attached) solves this problem for me. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 23:50:15
|
The following issue has been updated: Updater: Gavin King (mailto:ga...@hi...) Date: Tue, 4 Nov 2003 5:48 PM Comment: p.s. its not a "bug" Changes: type changed from Bug --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-139&page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-139 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-139 Summary: Relax rowcount to be > instead of equal to account for triggers. Type: Improvement Status: Assigned Priority: Major Project: Hibernate2 Components: core Versions: 2.0 final Assignee: Gavin King Reporter: Don Eddleman Created: Tue, 17 Jun 2003 10:15 AM Updated: Tue, 4 Nov 2003 5:48 PM Environment: All OSs, SQLServer and more than likely any other DB that supports triggers. Description: Within the NonBatchingBatcher class the check for row count to determine success should be relaxed to rowCount >= expected so that any triggers defined on tables affected by the insert/update will not cause a txn to fail just because they fired. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 23:50:14
|
Message: The following issue has been re-assigned. Assignee: Gavin King (mailto:ga...@hi...) Assigner: Gavin King (mailto:ga...@hi...) Date: Tue, 4 Nov 2003 5:48 PM Comment: If no-one votes for this, I'm not going to accept it - but I would have expected that this would be a problem for others! --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-139 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-139 Summary: Relax rowcount to be > instead of equal to account for triggers. Type: Bug Status: Assigned Priority: Major Project: Hibernate2 Components: core Versions: 2.0 final Assignee: Gavin King Reporter: Don Eddleman Created: Tue, 17 Jun 2003 10:15 AM Updated: Tue, 4 Nov 2003 5:48 PM Environment: All OSs, SQLServer and more than likely any other DB that supports triggers. Description: Within the NonBatchingBatcher class the check for row count to determine success should be relaxed to rowCount >= expected so that any triggers defined on tables affected by the insert/update will not cause a txn to fail just because they fired. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 22:40:14
|
The following issue has been updated: Updater: John Kristian (mailto:jkr...@do...) Date: Tue, 4 Nov 2003 4:38 PM Changes: Attachment changed to notlock.patch --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-453&page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-453 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-453 Summary: ClassCastException in ReadWriteCache.afterUpdate Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1 rc1 Assignee: Reporter: John Kristian Created: Tue, 4 Nov 2003 4:37 PM Updated: Tue, 4 Nov 2003 4:38 PM Environment: Windows XP, WebLogic 8.1 SP1, Microsoft SQL Server Description: Hibernate 2.1 beta 6 propagates an AssertionFailure and logs error.log (attached). This did not occur with 2.1 beta 5. notlock.patch (attached) solves this problem for me. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 22:38:14
|
The following issue has been updated: Updater: John Kristian (mailto:jkr...@do...) Date: Tue, 4 Nov 2003 4:37 PM Changes: Attachment changed to error.log --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-453&page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-453 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-453 Summary: ClassCastException in ReadWriteCache.afterUpdate Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1 rc1 Assignee: Reporter: John Kristian Created: Tue, 4 Nov 2003 4:37 PM Updated: Tue, 4 Nov 2003 4:37 PM Environment: Windows XP, WebLogic 8.1 SP1, Microsoft SQL Server Description: Hibernate 2.1 beta 6 propagates an AssertionFailure and logs error.log (attached). This did not occur with 2.1 beta 5. notlock.patch (attached) solves this problem for me. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 22:38:14
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-453 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-453 Summary: ClassCastException in ReadWriteCache.afterUpdate Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.1 rc1 Assignee: Reporter: John Kristian Created: Tue, 4 Nov 2003 4:37 PM Updated: Tue, 4 Nov 2003 4:37 PM Environment: Windows XP, WebLogic 8.1 SP1, Microsoft SQL Server Description: Hibernate 2.1 beta 6 propagates an AssertionFailure and logs error.log (attached). This did not occur with 2.1 beta 5. notlock.patch (attached) solves this problem for me. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 18:52:14
|
The following comment has been added to this issue: Author: Max Rydahl Andersen Created: Tue, 4 Nov 2003 12:51 PM Body: hmm...i actually think that both Gavin and I have thought about the dupe being the report on the forum....I at least can't find the dupe ;) So, keeping this one open and try to fix it ;) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-451 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-451 Summary: hbm2java is overwriting a class file with an empty one. Type: Bug Status: Assigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Paul Callahan Created: Mon, 3 Nov 2003 2:10 PM Updated: Tue, 4 Nov 2003 2:37 AM Environment: Red hat 9, amd pc Description: We're using hbm2java to create class files. When I set up a particular mapping, one of the class files gets overwritten. Below, the file ValueObject.java that is created in the class mapping gets overwriten by a completely empty ValueObject.java. I'm assuming MapClass mapping is creating its own ValueObject.java. <class name="KeyObject" table="ko"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someField" type="string" not-null="true"/> </class> <class name="ValueObject" table="vo"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> <map name="stuff" lazy="true" > <key column="id"/> <index column="key" type="string"/> <element column="value" type="string"/> </map> </class> <class name="MapClass" table="mc"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <map name="kvMapping" lazy="true" > <key column="id"/> <composite-index class="KeyObject" > <key-property name="name"/> <key-property name="someField"/> </composite-index> <composite-element class="ValueObject" /> </map> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> </class> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 17:50:14
|
The following comment has been added to this issue: Author: Gavin King Created: Tue, 4 Nov 2003 11:49 AM Body: I said HB-437 does not work on MySQL. This will work fine. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-380 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-380 Summary: Use ResultSet.getGeneratedKeys() when supported by JDBC driver Type: Improvement Status: Assigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Gavin King Reporter: David Morris Created: Sat, 4 Oct 2003 1:02 AM Updated: Tue, 4 Nov 2003 12:06 AM Environment: JDBC 3.0 Drivers with 1.4 JDKs. MySql and DB2 both have JDBC drivers that support get generated keys. Description: Retrieve ResultSet of natively generated keys after inserting records into databases that provide this support. Performance is genrally better with this technique. The code change should be backward compatable with 1.3 JREs and older JDBC drivers. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 17:45:14
|
The following comment has been added to this issue: Author: David Morris Created: Tue, 4 Nov 2003 11:44 AM Body: I am not sure I follow your comments, but I have tested this quite a bit with MySQL and it certainly works. It is possible that during one of the rebuilds I dropped something but I will retest against MySQL, SQL Server, and DB2 if it helps. My test uses a DAO layer that I can factor out if you would like to see what I tested with. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-380 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-380 Summary: Use ResultSet.getGeneratedKeys() when supported by JDBC driver Type: Improvement Status: Assigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Gavin King Reporter: David Morris Created: Sat, 4 Oct 2003 1:02 AM Updated: Tue, 4 Nov 2003 12:06 AM Environment: JDBC 3.0 Drivers with 1.4 JDKs. MySql and DB2 both have JDBC drivers that support get generated keys. Description: Retrieve ResultSet of natively generated keys after inserting records into databases that provide this support. Performance is genrally better with this technique. The code change should be backward compatable with 1.3 JREs and older JDBC drivers. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 17:40:13
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 4 Nov 2003 11:39 AM fixed, finally --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-157 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-157 Summary: MapGenerator generator xml fix Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: Hibernate2 Components: toolset Versions: 2.0.1 Assignee: Max Rydahl Andersen Reporter: TURIN ACCOUNT Created: Tue, 8 Jul 2003 3:37 PM Updated: Tue, 4 Nov 2003 11:39 AM Description: HB-94 is still open with the hibernate-extensions-2.0.zip from 2003-06-12 07:00. I didn't found a way to re-open HB-94, so I submit this new bug. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 17:32:13
|
The following comment has been added to this issue: Author: Gavin King Created: Tue, 4 Nov 2003 11:31 AM Body: If its a dupe, please close it. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-451 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-451 Summary: hbm2java is overwriting a class file with an empty one. Type: Bug Status: Assigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Paul Callahan Created: Mon, 3 Nov 2003 2:10 PM Updated: Tue, 4 Nov 2003 2:37 AM Environment: Red hat 9, amd pc Description: We're using hbm2java to create class files. When I set up a particular mapping, one of the class files gets overwritten. Below, the file ValueObject.java that is created in the class mapping gets overwriten by a completely empty ValueObject.java. I'm assuming MapClass mapping is creating its own ValueObject.java. <class name="KeyObject" table="ko"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someField" type="string" not-null="true"/> </class> <class name="ValueObject" table="vo"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> <map name="stuff" lazy="true" > <key column="id"/> <index column="key" type="string"/> <element column="value" type="string"/> </map> </class> <class name="MapClass" table="mc"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <map name="kvMapping" lazy="true" > <key column="id"/> <composite-index class="KeyObject" > <key-property name="name"/> <key-property name="someField"/> </composite-index> <composite-element class="ValueObject" /> </map> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> </class> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 17:30:14
|
The following comment has been added to this issue: Author: Gavin King Created: Tue, 4 Nov 2003 11:29 AM Body: Ah, I mean HB-437! --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-380 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-380 Summary: Use ResultSet.getGeneratedKeys() when supported by JDBC driver Type: Improvement Status: Assigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Gavin King Reporter: David Morris Created: Sat, 4 Oct 2003 1:02 AM Updated: Tue, 4 Nov 2003 12:06 AM Environment: JDBC 3.0 Drivers with 1.4 JDKs. MySql and DB2 both have JDBC drivers that support get generated keys. Description: Retrieve ResultSet of natively generated keys after inserting records into databases that provide this support. Performance is genrally better with this technique. The code change should be backward compatable with 1.3 JREs and older JDBC drivers. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 17:30:14
|
The following comment has been added to this issue: Author: Gavin King Created: Tue, 4 Nov 2003 11:29 AM Body: I am being slow on this one, (a) because its a bit hard to see exactly what changed from the patch and (b) it competes with HB-447. 380 is currently winning, 'cos I couldn't make the 447 approach work on MySQL. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-380 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-380 Summary: Use ResultSet.getGeneratedKeys() when supported by JDBC driver Type: Improvement Status: Assigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Gavin King Reporter: David Morris Created: Sat, 4 Oct 2003 1:02 AM Updated: Tue, 4 Nov 2003 12:06 AM Environment: JDBC 3.0 Drivers with 1.4 JDKs. MySql and DB2 both have JDBC drivers that support get generated keys. Description: Retrieve ResultSet of natively generated keys after inserting records into databases that provide this support. Performance is genrally better with this technique. The code change should be backward compatable with 1.3 JREs and older JDBC drivers. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 17:00:14
|
The following comment has been added to this issue: Author: Paul Callahan Created: Tue, 4 Nov 2003 10:59 AM Body: Sorry. Max told me in the forums to report this, guess someone beat me to it! :) Thanks. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-451 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-451 Summary: hbm2java is overwriting a class file with an empty one. Type: Bug Status: Assigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Paul Callahan Created: Mon, 3 Nov 2003 2:10 PM Updated: Tue, 4 Nov 2003 2:37 AM Environment: Red hat 9, amd pc Description: We're using hbm2java to create class files. When I set up a particular mapping, one of the class files gets overwritten. Below, the file ValueObject.java that is created in the class mapping gets overwriten by a completely empty ValueObject.java. I'm assuming MapClass mapping is creating its own ValueObject.java. <class name="KeyObject" table="ko"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someField" type="string" not-null="true"/> </class> <class name="ValueObject" table="vo"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> <map name="stuff" lazy="true" > <key column="id"/> <index column="key" type="string"/> <element column="value" type="string"/> </map> </class> <class name="MapClass" table="mc"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <map name="kvMapping" lazy="true" > <key column="id"/> <composite-index class="KeyObject" > <key-property name="name"/> <key-property name="someField"/> </composite-index> <composite-element class="ValueObject" /> </map> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> </class> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 09:12:13
|
The following issue has been updated: Updater: Philippe Chal=C3=A9at (mailto:pc...@in...) Date: Tue, 4 Nov 2003 3:11 AM Comment: Here are the minimal files to reproduce the pb (this is not "production" fi= le - no equals and hashcode definition etc...) Changes: Attachment changed to compositekey.zip --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?= key=3DHB-452&page=3Dhistory --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?= key=3DHB-452 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-452 Summary: Composite key behaviour Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components:=20 core Versions: 2.0.3 Assignee:=20 Reporter: Philippe Chal=C3=A9at Created: Tue, 4 Nov 2003 3:10 AM Updated: Tue, 4 Nov 2003 3:11 AM Description: Using composite key, there are some problem on query (see http://forum.hibe= rnate.org/viewtopic.php?t=3D925205&highlight=3D) The exception is : could not resolve property type: piece.id.lot.id [from fr.infologic.stocks.= modele.Mouv as mouv where mouv.piece.piecePK.lot.lotPK.prod =3D ? ] =09at net.sf.hibernate.hql.PathExpressionParser.getPropertyType(PathExpress= ionParser.java:235) See attached zip file to reproduce the problem. Philippe --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators= .jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 09:10:13
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?= key=3DHB-452 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-452 Summary: Composite key behaviour Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Components:=20 core Versions: 2.0.3 Assignee:=20 Reporter: Philippe Chal=C3=A9at Created: Tue, 4 Nov 2003 3:10 AM Updated: Tue, 4 Nov 2003 3:10 AM Description: Using composite key, there are some problem on query (see http://forum.hibe= rnate.org/viewtopic.php?t=3D925205&highlight=3D) The exception is : could not resolve property type: piece.id.lot.id [from fr.infologic.stocks.= modele.Mouv as mouv where mouv.piece.piecePK.lot.lotPK.prod =3D ? ] =09at net.sf.hibernate.hql.PathExpressionParser.getPropertyType(PathExpress= ionParser.java:235) See attached zip file to reproduce the problem. Philippe --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators= .jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 08:48:24
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 4 Nov 2003 2:46 AM OK, cool. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-447 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-447 Summary: SAPDB hangs with big strings. Type: Patch Status: Closed Priority: Minor Resolution: WON'T FIX Project: Hibernate2 Components: core Versions: 2.0.2 Assignee: Reporter: the_Ellessar Created: Mon, 3 Nov 2003 2:44 AM Updated: Tue, 4 Nov 2003 2:46 AM Environment: Sapdb 7.4, Linux red hat 9 Description: I'm having a problem with SapDB and long strings. It is probably a bug in SapDB (driver) but I made an easy fix in the sapdb dialect. According to the SapDB documentation it is possible to put dat with a length 8k in a VARCHAR field, but when I define a string with length bigger than 1024 SapDB becomes REAL slow. As far as I know the clob type doesn't work very well with the SAP JDBC driver. So I created the next patch: Index: SAPDBDialect.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/dialect/SAPDBDialect.java,v retrieving revision 1.12 diff -u -r1.12 SAPDBDialect.java --- SAPDBDialect.java 30 Jul 2003 02:53:06 -0000 1.12 +++ SAPDBDialect.java 3 Nov 2003 08:43:48 -0000 @@ -25,7 +25,8 @@ register( Types.TINYINT, "FIXED(3,0)" ); register( Types.INTEGER, "INT" ); register( Types.CHAR, "CHAR(1)" ); - register( Types.VARCHAR, "VARCHAR($l)" ); + register( Types.VARCHAR, 512, "VARCHAR($l)" ); + register( Types.VARCHAR, "LONG VARCHAR" ); register( Types.FLOAT, "FLOAT" ); register( Types.DOUBLE, "DOUBLE PRECISION" ); register( Types.DATE, "DATE" ); --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 08:46:13
|
Message: The following issue has been closed. Resolver: Gavin King Date: Tue, 4 Nov 2003 2:45 AM Thanks. Fixed. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-449 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-449 Summary: ScrollableResults setRowNumber() Type: Patch Status: Closed Priority: Minor Resolution: FIXED Project: Hibernate2 Components: core Fix Fors: 2.1 rc1 Versions: 2.1 beta 5 Assignee: Reporter: Martin Priekopa Created: Mon, 3 Nov 2003 8:10 AM Updated: Tue, 4 Nov 2003 2:45 AM Description: I think that implementation of ScrollableResultsImpl method: public boolean setRowNumber(int rowNumber) throws HibernateException { if (rowNumber>0) rowNumber--; try { return rs.absolute(rowNumber); } catch (SQLException sqle) { throw new JDBCException(sqle); } } should IMHO look like this one: public boolean setRowNumber(int rowNumber) throws HibernateException { if (rowNumber>0) rowNumber++; try { return rs.absolute(rowNumber); } catch (SQLException sqle) { throw new JDBCException(sqle); } } Or if you want to be java.sql.ResultSet compatible, both setRowNumber and getRowNumber should be wrappers only. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 08:44:16
|
The following comment has been added to this issue: Author: Max Rydahl Andersen Created: Tue, 4 Nov 2003 2:43 AM Body: yes ;( --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-451 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-451 Summary: hbm2java is overwriting a class file with an empty one. Type: Bug Status: Assigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Paul Callahan Created: Mon, 3 Nov 2003 2:10 PM Updated: Tue, 4 Nov 2003 2:37 AM Environment: Red hat 9, amd pc Description: We're using hbm2java to create class files. When I set up a particular mapping, one of the class files gets overwritten. Below, the file ValueObject.java that is created in the class mapping gets overwriten by a completely empty ValueObject.java. I'm assuming MapClass mapping is creating its own ValueObject.java. <class name="KeyObject" table="ko"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someField" type="string" not-null="true"/> </class> <class name="ValueObject" table="vo"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> <map name="stuff" lazy="true" > <key column="id"/> <index column="key" type="string"/> <element column="value" type="string"/> </map> </class> <class name="MapClass" table="mc"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <map name="kvMapping" lazy="true" > <key column="id"/> <composite-index class="KeyObject" > <key-property name="name"/> <key-property name="someField"/> </composite-index> <composite-element class="ValueObject" /> </map> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> </class> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 08:37:14
|
Message: The following issue has been re-assigned. Assignee: Max Rydahl Andersen (mailto:xa...@xa...) Assigner: Gavin King (mailto:ga...@hi...) Date: Tue, 4 Nov 2003 2:37 AM Comment: This is a dupe isn't it, Max? --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-451 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-451 Summary: hbm2java is overwriting a class file with an empty one. Type: Bug Status: Assigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Paul Callahan Created: Mon, 3 Nov 2003 2:10 PM Updated: Tue, 4 Nov 2003 2:37 AM Environment: Red hat 9, amd pc Description: We're using hbm2java to create class files. When I set up a particular mapping, one of the class files gets overwritten. Below, the file ValueObject.java that is created in the class mapping gets overwriten by a completely empty ValueObject.java. I'm assuming MapClass mapping is creating its own ValueObject.java. <class name="KeyObject" table="ko"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someField" type="string" not-null="true"/> </class> <class name="ValueObject" table="vo"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> <map name="stuff" lazy="true" > <key column="id"/> <index column="key" type="string"/> <element column="value" type="string"/> </map> </class> <class name="MapClass" table="mc"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <map name="kvMapping" lazy="true" > <key column="id"/> <composite-index class="KeyObject" > <key-property name="name"/> <key-property name="someField"/> </composite-index> <composite-element class="ValueObject" /> </map> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> </class> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-04 06:07:14
|
The following issue has been updated: Updater: David Morris (mailto:dmm...@ce...) Date: Tue, 4 Nov 2003 12:06 AM Comment: Here is a newer version against the most recent changes. It is getting difficult to produce a clean patch because I have several outstanding issues with patches (and would like to submit some more) and some of the file like Settings.java and SettingsFactory.java insist on marking every line as changed. Changes: Attachment changed to getgeneratedkeys3.patch --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-380&page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-380 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-380 Summary: Use ResultSet.getGeneratedKeys() when supported by JDBC driver Type: Improvement Status: Assigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Gavin King Reporter: David Morris Created: Sat, 4 Oct 2003 1:02 AM Updated: Tue, 4 Nov 2003 12:06 AM Environment: JDBC 3.0 Drivers with 1.4 JDKs. MySql and DB2 both have JDBC drivers that support get generated keys. Description: Retrieve ResultSet of natively generated keys after inserting records into databases that provide this support. Performance is genrally better with this technique. The code change should be backward compatable with 1.3 JREs and older JDBC drivers. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-03 21:22:14
|
The following comment has been added to this issue: Author: Sunil Reddy Created: Mon, 3 Nov 2003 3:21 PM Body: Hi Gavin, I have tried both your methods, which are 1) remove overloaded get/set methods and 2) move to 2.1 Hibernate and use access="field" but i get the same exception in both. I have sent the set of code in a zip file to ga...@hi..., can you take a look. Thanks, Sunil. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-443 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-443 Summary: JRE incompatibility, gives no persister for : java.lang.Boolean Type: Bug Status: Closed Priority: Critical Resolution: WON'T FIX Project: Hibernate2 Versions: 2.0.3 Assignee: Reporter: Sunil Reddy Created: Fri, 31 Oct 2003 1:26 PM Updated: Fri, 31 Oct 2003 6:31 PM Environment: Windows 2000, going against DB2 7.0, Hibernate 2.0.3, Websphere 5.0, Sun JDK 1.3.1_01. Description: Topic: JRE incompatibility, gives no persister for : java.lang.Long Hi Gavin, Thanks for your reply, i think Hibernate is excellent, i am struggling with this problem whole week, i have tried everything from recompile hibernate to traversing trees but the bug exists whenever i switch from Ibm jre to Sun jre. I don't know where i am making a mistake, here is a recreation of the problem : Classes : "Derivation" is a choice of "Aggregation" or "Formula", which are lists of "Item". "Aggregation" has method attribute of type min or max. "Item" can be a "Constant" or "Operator". DTD is as follows : <!ELEMENT Derivation (Formula | Aggregation)> <!ATTLIST Derivation Type (aggregation | formula) #REQUIRED > <!ELEMENT Aggregation (Item+)> <!ATTLIST Aggregation Method (max | min) #REQUIRED > <!ELEMENT Formula (Item+)> <!ELEMENT Item EMPTY> <!ATTLIST Item Type (constant | operator | reference) #REQUIRED Value CDATA #REQUIRED > Derivation.java : public String getType () //can be aggregation or formula public void setType (String enumValue) public Formula getFormula () public void setFormula (Formula obj) public void setFormula (XmlElement xml) public Aggregation getAggregation () public void setAggregation (Aggregation obj) public void setAggregation (XmlElement xml) Aggregation.java : public String getMethod () //can be max or min public void setMethod (String enumValue) public java.util.List getItem () public void setItem (java.util.List newList) Formula.java public java.util.List getItem () public void setItem (java.util.List newList) Item.java public String getType () //can be constant or operator public void setType (String enumValue) //building session factory Properties prop = new Properties(); prop.load( new FileInputStream("hibernate.properties") ); Configuration cfg = new Configuration(); cfg.addClass(example.Aggregation.class); cfg.addClass(example.Derivation.class); cfg.addClass(example.Formula.class); cfg.addClass(example.Item.class); cfg.setProperties(prop); sessionFactory = cfg.buildSessionFactory(); //main SampleApp sa = new SampleApp(); sa.session = sessionFactory.openSession(); Derivation d = (Derivation) obj; //created this object with sample data shown below sa.session.save(d); sa.session.flush(); sa.session.connection().commit(); sa.session.close(); //sample data <Derivation Type="aggregation"> <Aggregation Method="max"> <Item Type="constant" Value="5"/> <Item Type="constant" Value="24"/> <Item Type="constant" Value="18"/> </Aggregation> </Derivation> //exception i get with Sun 1.3.1_01 or 1.3.1_09 or 1.4.2 versions but not with Ibm jre is 13:59:37,846 DEBUG SessionImpl:413 - opened session 13:59:37,846 DEBUG SessionImpl:656 - saving [example.Derivation#<null>] 13:59:37,846 DEBUG Cascades:336 - processing cascades for: example.Derivation 13:59:37,846 DEBUG Cascades:87 - cascading to saveOrUpdate() net.sf.hibernate.MappingException: No persister for: java.lang.Boolean at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryImpl.java:420) at net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2302) at net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2309) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1195) at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:88) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:258) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:341) at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:693) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:605) at example.SampleApp.main(SampleApp.java:89) //Mappings for the above classes are : <hibernate-mapping> <class name="example.Derivation" table="ex_derivation"> <id name="id" type="long" column="id" unsaved-value="0"> <generator class="native"/> </id> <property name="type"/> <many-to-one name="formula" class="example.Formula" column="formula_id" cascade="all"/> <many-to-one name="aggregation" class="example.Aggregation" column="aggregation_id" cascade="all"/> </class> <class name="example.Formula" table="ex_formula"> <id name="id" type="long" column="id" unsaved-value="0"> <generator class="native"/> </id> <list name="item" table="ex_item" cascade="all"> <key column="formula_id"/> <index column="formula_index"/> <one-to-many class="example.Item"/> </list> </class> <class name="example.Aggregation" table="ex_aggregation"> <id name="id" type="long" column="id" unsaved-value="0"> <generator class="native"/> </id> <property name="method"/> <list name="item" table="ex_item" cascade="all"> <key column="aggregation_id"/> <index column="aggregation_index"/> <one-to-many class="example.Item"/> </list> </class> <class name="example.Item" table="ex_item"> <id name="id" type="long" column="id" unsaved-value="0"> <generator class="native"/> </id> <property name="type"/> <property name="value"/> </class> </hibernate-mapping> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-03 20:11:14
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-451 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-451 Summary: hbm2java is overwriting a class file with an empty one. Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Reporter: Paul Callahan Created: Mon, 3 Nov 2003 2:10 PM Updated: Mon, 3 Nov 2003 2:10 PM Environment: Red hat 9, amd pc Description: We're using hbm2java to create class files. When I set up a particular mapping, one of the class files gets overwritten. Below, the file ValueObject.java that is created in the class mapping gets overwriten by a completely empty ValueObject.java. I'm assuming MapClass mapping is creating its own ValueObject.java. <class name="KeyObject" table="ko"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someField" type="string" not-null="true"/> </class> <class name="ValueObject" table="vo"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> <map name="stuff" lazy="true" > <key column="id"/> <index column="key" type="string"/> <element column="value" type="string"/> </map> </class> <class name="MapClass" table="mc"> <id name="id" type="string" unsaved-value="null" > <column name="id" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <map name="kvMapping" lazy="true" > <key column="id"/> <composite-index class="KeyObject" > <key-property name="name"/> <key-property name="someField"/> </composite-index> <composite-element class="ValueObject" /> </map> <property name="name" type="string" not-null="true"/> <property name="someOtherField" type="string" not-null="true"/> </class> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-11-03 17:37:14
|
The following issue has been updated: Updater: Jesse Costello-Good (mailto:je...@ba...) Date: Mon, 3 Nov 2003 11:35 AM Changes: Attachment changed to postgres-ext.tgz --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-450&page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-450 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-450 Summary: Support for Some PostgreSQL Types (Contribution) Type: New Feature Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Assignee: Reporter: Jesse Costello-Good Created: Mon, 3 Nov 2003 11:35 AM Updated: Mon, 3 Nov 2003 11:35 AM Description: Here's some classes to support PostgreSQL circle, lseg, point, inet, string[], box, and polygon types. It includes tests and a build.xml. I'm not really sure how to contribute this, so I'll post it here. Feel free to contact me if there is some other way in which I should post this. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |