[Hibernate] hibernate-sqlserver-jtds-testsuite Build Timed Out

2006-01-13 Thread qa

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-sqlserver-jtds-testsuite?log=log20060113181501
BUILD TIMED OUTAnt Error Message: build timeoutDate of build: 01/13/2006 18:15:01Time to build: Last changed: 12/31/2005 20:44:14Last log entry: less noisy




    Unit Tests: (0)    Total Errors and Failures: (0) 
 Modifications since last build: (110)1.113modifiedoneovthafewsrc/org/hibernate/cfg/Configuration.javaless noisy1.103modifiedoneovthafewsrc/org/hibernate/impl/SessionFactoryImpl.javaless noisy1.24modifiedturin42doc/reference/en/modules/transactions.xmlFixed BMT idiom1.21modifiedturin42doc/reference/en/modules/tutorial.xmlFixed typo1.139modifiedepbernardsrc/org/hibernate/cfg/HbmBinder.javaANN-176 add columnBinding mechanism in HbmBinder1.32modifiedepbernardsrc/org/hibernate/cfg/Mappings.javaANN-176 add columnBinding mechanism in HbmBinder1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleAssociatedEntity.javafixed build issue (cruise control)1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleEntityWithAssociation.hbm.xmlfixed build issue (cruise control)1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleEntityWithAssociation.javafixed build issue (cruise control)1.68modifiedsteveebersole/build.xmlfixed build issue (cruise control)1.176modifiedsteveebersoletest/org/hibernate/test/hql/HQLTest.javaHHH-1302 : query return types1.32modifiedsteveebersoletest/org/hibernate/test/hql/QueryTranslatorTestCase.javaHHH-1302 : query return types1.6modifiedsteveebersolesrc/org/hibernate/engine/query/HQLQueryPlan.javaHHH-1302 : query return types1.5modifiedsteveebersolesrc/org/hibernate/hql/ast/tree/FromElementType.javaoops1.25modifiedsteveebersoletest/org/hibernate/test/TestCase.javaminor1.48modifiedsteveebersoletest/org/hibernate/test/hql/BulkManipulationTest.javaHHH-1349 : hql delete/update statements and correlated subqueries1.4modifiedsteveebersolesrc/org/hibernate/hql/CollectionSubqueryFactory.javaHHH-1349 : hql delete/update statements and correlated subqueries1.10modifiedsteveebersolesrc/org/hibernate/hql/ast/tree/DotNode.javaHHH-1349 : hql delete/update statements and correlated subqueries1.4modifiedsteveebersolesrc/org/hibernate/hql/ast/tree/FromElement.javaHHH-1349 : hql delete/update statements and correlated subqueries1.4modifiedsteveebersolesrc/org/hibernate/hql/ast/tree/FromElementType.javaHHH-1349 : hql delete/update statements and correlated subqueries1.50modifiedepbernardsrc/org/hibernate/mapping/PersistentClass.javaoups1.45modifiedepbernardsrc/org/hibernate/impl/SQLQueryImpl.javaHHH-13601.87modifiedsteveebersoletest/org/hibernate/test/AllTests.javaminor changes to test filtering1.3modifiedsteveebersoletest/org/hibernate/test/TestSelector.javaminor changes to test filtering1.2modifiedsteveebersoletest/org/hibernate/test/TestSuiteVisitor.javaminor changes to test filtering1.175modifiedsteveebersoletest/org/hibernate/test/hql/HQLTest.javaminor1.5modifiedsteveebersoletest/org/hibernate/test/dynamic/DynamicClassTest.javaHHH-12901.2modifiedsteveebersolesrc/org/hibernate/SessionException.javaHHH-12901.5modifiedsteveebersolesrc/org/hibernate/impl/AbstractSessionImpl.javaHHH-12901.172modifiedsteveebersolesrc/org/hibernate/impl/SessionImpl.javaHHH-12901.19modifiedsteveebersolesrc/org/hibernate/impl/StatelessSessionImpl.javaHHH-12901.49modifiedepbernardsrc/org/hibernate/mapping/PersistentClass.javaHHH-1019 The code needs some clean up and mutualization regarding the same mechanic in EJB31.4modifiedepbernardtest/org/hibernate/test/legacy/Componentizable.hbm.xmlHHH-1019 The code needs some clean up and mutualization regarding the same mechanic in EJB31.23modifiedepbernardtest/org/hibernate/test/legacy/SQLLoaderTest.javaHHH-1019 The code needs some clean up and mutualization regarding the same mechanic in EJB31.114modifiedepbernardsrc/org/hibernate/cfg/Configuration.javaHHH-1019 The code needs some clean up and mutualization regarding the same mechanic in EJB31.142modifiedepbernardsrc/org/hibernate/cfg/HbmBinder.javaHHH-1019 The code needs some clean up and mutualization regarding the same mechanic in EJB31.1addedepbernardsrc/org/hibernate/cfg/NamedSQLQuerySecondPass.javaHHH-1019 The code needs some clean up and mutualization regarding the same mechanic in EJB31.1addedepbernardsrc/org/hibernate/cfg/QuerySecondPass.javaHHH-1019 The code needs some clean up and mutualization regarding the same mechanic in EJB31.1addedepbernardsrc/org/hibernate/cfg/ResultSetMappingBinder.javaHHH-1019 The code needs some clean up and mutualization regarding the same mechanic in EJB31.1addedepbernardsrc/org/hibernate/cfg/ResultSetMappingSecondPass.javaHHH-1019 The code needs some clean up and mutualization regarding the same mechanic in EJB31.2modifiedepbernardsrc/org/hibernate/event/def/DefaultPersistOnFlushEventListener.javaHHH-1019 The code needs some clean up and mutualization regarding 

Re: [Hibernate] Fwd: [Hibernate-commits] Hibernate3 build.xml,1.68,1.69 changelog.txt,1.67,1.68 readme.txt,1.26,1.27

2006-01-13 Thread Emmanuel Bernard

OK this is fixed now. Sorry guys.

Max Rydahl Andersen wrote:



If we release now native queries using return-collection and 
return-join  will *not* work.


emmanuel, what breaks in your end if I roll your "fix" back ?

/max

--- Forwarded message ---
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc:
Subject: [Hibernate-commits] Hibernate3 build.xml,1.68,1.69  
changelog.txt,1.67,1.68 readme.txt,1.26,1.27

Date: Fri, 13 Jan 2006 22:05:02 +0100

Update of /cvsroot/hibernate/Hibernate3
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10174

Modified Files:
build.xml changelog.txt readme.txt
Log Message:
prep for 3.1.1

Index: build.xml
===
RCS file: /cvsroot/hibernate/Hibernate3/build.xml,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- build.xml13 Jan 2006 15:58:26 -1.68
+++ build.xml13 Jan 2006 21:04:06 -1.69
@@ -16,10 +16,12 @@
 
 
 
-
-
-
-
+
+
+
+value="${version.major}.${version.minor}"/>
+value="${version.sansPatchLevel}.${version.patchlevel}"/>

+

 
 
@@ -36,7 +38,7 @@
 
 
 
-
+value="../${name}-${version.sansPatchLevel}"/>

 
 
 
@@ -149,7 +151,7 @@
 
 

 
-
+

 
 
@@ -336,7 +338,7 @@
 
 
 
-value="${version}.${patchlevel}"/>
+value="${version.full}"/>

 
 
 
@@ -356,7 +358,7 @@
 version="true"
 windowtitle="${Name} API Documentation"
 Overview="${doc.api.dir}/package.html"
-doctitle="${Name} API Documentation (${fullversion})"
+doctitle="${Name} API Documentation (${version.full})"
 stylesheetfile="${doc.api.dir}/jdstyle.css"
 link="${javadoc}">

@@ -462,11 +464,11 @@
 
depends="splash,versioncheck,jar,javadoc,copysource,copylib,extras,antlr.bnf,refdoc" 


 description="Build everything and package">
 
-
+dir="${dist.dir}"/>

 
 
 
-
+dir="${dist.dir}"/>

 
 
 
@@ -775,7 +777,7 @@



-   
+   


 

Index: changelog.txt
===
RCS file: /cvsroot/hibernate/Hibernate3/changelog.txt,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- changelog.txt12 Dec 2005 14:56:05 -1.67
+++ changelog.txt13 Jan 2006 21:04:06 -1.68
@@ -5,6 +5,35 @@
 refer to the particular case on JIRA using the issue tracking number 
to  learn

 more about each case.

+Changes in version 3.1.1 (01.13.2006)
+---
+
+** Bug
+* [HHH-853] - DML-style HQL queries and associations
+* [HHH-1281] - FORWARD_ONLY ScrollableResults#next() throw  
GenericJDBCException
+* [HHH-1286] - Set entity in HQL query without prefix -> 
incorrect SQL
+* [HHH-1308] - Session.createFilter(...).iterate() results in 
bogus  column names for result set extraction
+* [HHH-1314] - float/double literals not sent to the database  
correctly
+* [HHH-1316] - SchemaUpdate : java.sql.SQLException: You cannot  
commit during a managed transaction!
+* [HHH-1328] - org.hibernate.util.SimpleMRUCache keeps a soft  
reference to the cache key, so cached values get collected prematurely
+* [HHH-1336] - ForeignGenerator does not handle transient 
entities  with an entity-name properly
+* [HHH-1337] - Mapped  generated column names 
incorrect  with ImprovedNamingStrategy
+* [HHH-1349] - HQL delete statement problem due to oracle 
lacking  table aliases in delete clause
+* [HHH-1361] - creating temporary table for bulk delete will 
commit  current transaction in managed environment such as J2EE

+
+** Improvement
+* [HHH-1019] - Native SQL return-property mapping doesn't 
support  dot-syntax in return-property for components

+* [HHH-1290] - Defensive checking of session status
+* [HHH-1302] - query.getReturnTypes inconsistent
+* [HHH-1304] - better handling of borrowed connections in  
non-ON_CLOSE release semantics

+* [HHH-1309] - schemaupdate does not handle TableHiLoGenerator
+* [HHH-1339] - empty property name in mapping file gives  
imcomprehensible error message

+* [HHH-1344] - ANSI-SQL trim function for SQLServer
+* [HHH-1345] - ANSI-SQL mod function for SQLServer
+* [HHH-1346] - ANSI-SQL bit_length function for SQLServer
+* [HHH-1351] -  should be possible
+* [HHH-1360] - set autodiscovery flag for SQLQueries when  
resultsetmappings are used

+

 Changes in version 3.1  (12.12.2005)
 ---

Index: readme.txt
=

[Hibernate] Fwd: [Hibernate-commits] Hibernate3 build.xml,1.68,1.69 changelog.txt,1.67,1.68 readme.txt,1.26,1.27

2006-01-13 Thread Max Rydahl Andersen


If we release now native queries using return-collection and return-join  
will *not* work.


emmanuel, what breaks in your end if I roll your "fix" back ?

/max

--- Forwarded message ---
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc:
Subject: [Hibernate-commits] Hibernate3 build.xml,1.68,1.69  
changelog.txt,1.67,1.68 readme.txt,1.26,1.27

Date: Fri, 13 Jan 2006 22:05:02 +0100

Update of /cvsroot/hibernate/Hibernate3
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10174

Modified Files:
build.xml changelog.txt readme.txt
Log Message:
prep for 3.1.1

Index: build.xml
===
RCS file: /cvsroot/hibernate/Hibernate3/build.xml,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- build.xml   13 Jan 2006 15:58:26 -  1.68
+++ build.xml   13 Jan 2006 21:04:06 -  1.69
@@ -16,10 +16,12 @@



-   
-   
-
-
+   
+   
+   
+value="${version.major}.${version.minor}"/>
+value="${version.sansPatchLevel}.${version.patchlevel}"/>

+

 

@@ -36,7 +38,7 @@



-   
+   



@@ -149,7 +151,7 @@



-   
+   



@@ -336,7 +338,7 @@



-   
+   



@@ -356,7 +358,7 @@
version="true"
windowtitle="${Name} API Documentation"
Overview="${doc.api.dir}/package.html"
-   doctitle="${Name} API Documentation (${fullversion})"
+   doctitle="${Name} API Documentation (${version.full})"
stylesheetfile="${doc.api.dir}/jdstyle.css"
link="${javadoc}">

@@ -462,11 +464,11 @@

depends="splash,versioncheck,jar,javadoc,copysource,copylib,extras,antlr.bnf,refdoc"
description="Build everything and package">

-   
+			dir="${dist.dir}"/>


 

-   
+			dir="${dist.dir}"/>




@@ -775,7 +777,7 @@



-   
+   


 

Index: changelog.txt
===
RCS file: /cvsroot/hibernate/Hibernate3/changelog.txt,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- changelog.txt   12 Dec 2005 14:56:05 -  1.67
+++ changelog.txt   13 Jan 2006 21:04:06 -  1.68
@@ -5,6 +5,35 @@
 refer to the particular case on JIRA using the issue tracking number to  
learn

 more about each case.

+Changes in version 3.1.1 (01.13.2006)
+---
+
+** Bug
+* [HHH-853] - DML-style HQL queries and associations
+* [HHH-1281] - FORWARD_ONLY ScrollableResults#next() throw  
GenericJDBCException

+* [HHH-1286] - Set entity in HQL query without prefix -> incorrect SQL
+* [HHH-1308] - Session.createFilter(...).iterate() results in bogus  
column names for result set extraction
+* [HHH-1314] - float/double literals not sent to the database  
correctly
+* [HHH-1316] - SchemaUpdate : java.sql.SQLException: You cannot  
commit during a managed transaction!
+* [HHH-1328] - org.hibernate.util.SimpleMRUCache keeps a soft  
reference to the cache key, so cached values get collected prematurely
+* [HHH-1336] - ForeignGenerator does not handle transient entities  
with an entity-name properly
+* [HHH-1337] - Mapped  generated column names incorrect  
with ImprovedNamingStrategy
+* [HHH-1349] - HQL delete statement problem due to oracle lacking  
table aliases in delete clause
+* [HHH-1361] - creating temporary table for bulk delete will commit  
current transaction in managed environment such as J2EE

+
+** Improvement
+* [HHH-1019] - Native SQL return-property mapping doesn't support  
dot-syntax in return-property for components

+* [HHH-1290] - Defensive checking of session status
+* [HHH-1302] - query.getReturnTypes inconsistent
+* [HHH-1304] - better handling of borrowed connections in  
non-ON_CLOSE release semantics

+* [HHH-1309] - schemaupdate does not handle TableHiLoGenerator
+* [HHH-1339] - empty property name in mapping file gives  
imcomprehensible error message

+* [HHH-1344] - ANSI-SQL trim function for SQLServer
+* [HHH-1345] - ANSI-SQL mod function for SQLServer
+* [HHH-1346] - ANSI-SQL bit_length function for SQLServer
+* [HHH-1351] -  should be possible
+* [HHH-1360] - set autodiscovery flag for SQLQueries when  

[Hibernate] hibernate-mysql-testsuite Build Completed With Testsuite Errors

2006-01-13 Thread qa

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-mysql-testsuite?log=log20060113150114
TESTS FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:103: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:59: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-common-targets.xml:11: Build Successful - Tests completed with errors or failures.Date of build: 01/13/2006 15:01:14Time to build: 24 minutes 9 secondsLast changed: 12/31/2005 20:44:14Last log entry: less noisy




    Unit Tests: (774)    Total Errors and Failures: (43)testSimpleDeleteOnAnimalorg.hibernate.test.hql.BulkManipulationTesttestQueryorg.hibernate.test.legacy.FooBarTesttestQueryCollectionOfValuesorg.hibernate.test.legacy.FooBarTesttestOneToOneGeneratororg.hibernate.test.legacy.FooBarTesttestCollectionsInSelectorg.hibernate.test.legacy.FooBarTesttestReachabilityorg.hibernate.test.legacy.FooBarTesttestIteratorsorg.hibernate.test.legacy.FooBarTesttestVersionedCollectionsorg.hibernate.test.legacy.FooBarTesttestRecursiveLoadorg.hibernate.test.legacy.FooBarTesttestNoForeignKeyViolationsorg.hibernate.test.legacy.FooBarTesttestCompositeIDQueryorg.hibernate.test.legacy.FumTesttestKeyManyToOneorg.hibernate.test.legacy.FumTesttestCompositeKeyPathExpressionsorg.hibernate.test.legacy.FumTesttestUnionSubclassorg.hibernate.test.legacy.IJ2TesttestFormulaDiscriminatororg.hibernate.test.legacy.IJTesttestOneToOnePropertyReforg.hibernate.test.legacy.MapTesttestMapOneToOneorg.hibernate.test.legacy.MapTesttestMasterDetailorg.hibernate.test.legacy.MasterDetailTesttestIncomingOutgoingorg.hibernate.test.legacy.MasterDetailTesttestQueriesorg.hibernate.test.legacy.MultiTableTesttestNarroworg.hibernate.test.legacy.MultiTableTesttestJoinsorg.hibernate.test.legacy.MultiTableTesttestSubclassCollectionorg.hibernate.test.legacy.MultiTableTesttestMultiTableorg.hibernate.test.legacy.MultiTableTesttestMultiTableGeneratedIdorg.hibernate.test.legacy.MultiTableTesttestCollectionQueryorg.hibernate.test.legacy.ParentChildTesttestQueryOneToOneorg.hibernate.test.legacy.ParentChildTesttestHandSQLorg.hibernate.test.sql.MySQLTesttestSQLQueryInterfaceorg.hibernate.test.sql.MySQLTesttestResultSetMappingDefinitionorg.hibernate.test.sql.MySQLTesttestScalarValuesorg.hibernate.test.sql.MySQLTesttestScalarStoredProcedureorg.hibernate.test.sql.MySQLTesttestParameterHandlingorg.hibernate.test.sql.MySQLTesttestEntityStoredProcedureorg.hibernate.test.sql.MySQLTesttestMappedAliasStrategyorg.hibernate.test.sql.MySQLTesttestAutoDetectAliasingorg.hibernate.test.sql.MySQLTesttestCollectionJoinsInSubselectFailureExpectedorg.hibernate.test.hql.HQLTesttestEmptyInListFailureExpectedorg.hibernate.test.hql.HQLTesttestMaxindexHqlFunctionInElementAccessorFailureExpectedorg.hibernate.test.hql.HQLTesttestMultipleElementAccessorOperatorsFailureExpectedorg.hibernate.test.hql.HQLTesttestKeyManyToOneJoinFailureExpectedorg.hibernate.test.hql.HQLTesttestDuplicateExplicitJoinFailureExpectedorg.hibernate.test.hql.HQLTesttestCollectionFetchVsLoadorg.hibernate.test.stats.StatsTest 
 Modifications since last build: (110)1.113modifiedoneovthafewsrc/org/hibernate/cfg/Configuration.javaless noisy1.103modifiedoneovthafewsrc/org/hibernate/impl/SessionFactoryImpl.javaless noisy1.24modifiedturin42doc/reference/en/modules/transactions.xmlFixed BMT idiom1.21modifiedturin42doc/reference/en/modules/tutorial.xmlFixed typo1.139modifiedepbernardsrc/org/hibernate/cfg/HbmBinder.javaANN-176 add columnBinding mechanism in HbmBinder1.32modifiedepbernardsrc/org/hibernate/cfg/Mappings.javaANN-176 add columnBinding mechanism in HbmBinder1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleAssociatedEntity.javafixed build issue (cruise control)1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleEntityWithAssociation.hbm.xmlfixed build issue (cruise control)1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleEntityWithAssociation.javafixed build issue (cruise control)1.68modifiedsteveebersole/build.xmlfixed build issue (cruise control)1.176modifiedsteveebersoletest/org/hibernate/test/hql/HQLTest.javaHHH-1302 : query return types1.32modifiedsteveebersoletest/org/hibernate/test/hql/QueryTranslatorTestCase.javaHHH-1302 : query return types1.6modifiedsteveebersolesrc/org/hibernate/engine/query/HQLQueryPlan.javaHHH-1302 : query return types1.5modifiedsteveebersolesrc/org/hibernate/hql/ast/tree/FromElementType.javaoops1.25modifiedsteveebersoletest/org/hibernate/test/TestCase.javaminor1.48modifiedsteveebersoletest/org/hibernate/test/hql/BulkManipulationTest.javaHHH-1349 : hql delete/update statements and correlated subqueries1.4modifiedsteveebersolesrc/org/hibernate/hql/CollectionSubqueryFactory.javaHHH-1349 : hql delete/update statements and correlated subqueries1.10modi

[Hibernate] native sql broken...

2006-01-13 Thread Max Rydahl Andersen


Emmanuel, I think you broke load-collection/return-join with the '.' fix...

http://cruisecontrol.jboss.com:80/cc/artifacts/hibernate-oracle10-testsuite/20060113144001/results/org/hibernate/test/sql/102_OracleSQLTest.html

Was it not intended that they should still work ?

--
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] hibernate-oracle10-testsuite Build Completed With Testsuite Errors

2006-01-13 Thread qa

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-oracle10-testsuite?log=log20060113144001
TESTS FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:82: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:59: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-common-targets.xml:11: Build Successful - Tests completed with errors or failures.Date of build: 01/13/2006 14:40:01Time to build: 18 minutes 29 secondsLast changed: 12/31/2005 20:44:14Last log entry: less noisy




    Unit Tests: (777)    Total Errors and Failures: (44)testJDBC3GetGeneratedKeysSupportOnOracleorg.hibernate.test.generatedkeys.oracle.OracleGeneratedKeysTesttestNarroworg.hibernate.test.legacy.ABCProxyTesttestSubclassingorg.hibernate.test.legacy.ABCTesttestQueryorg.hibernate.test.legacy.FooBarTesttestQueryCollectionOfValuesorg.hibernate.test.legacy.FooBarTesttestParameterCheckorg.hibernate.test.legacy.FooBarTesttestCollectionsInSelectorg.hibernate.test.legacy.FooBarTesttestIteratorsorg.hibernate.test.legacy.FooBarTesttestRecursiveLoadorg.hibernate.test.legacy.FooBarTesttestNoForeignKeyViolationsorg.hibernate.test.legacy.FooBarTesttestCompositeIDQueryorg.hibernate.test.legacy.FumTesttestKeyManyToOneorg.hibernate.test.legacy.FumTesttestCompositeKeyPathExpressionsorg.hibernate.test.legacy.FumTesttestUnionSubclassorg.hibernate.test.legacy.IJ2TesttestFormulaDiscriminatororg.hibernate.test.legacy.IJTesttestOneToOnePropertyReforg.hibernate.test.legacy.MapTesttestMapOneToOneorg.hibernate.test.legacy.MapTesttestMasterDetailorg.hibernate.test.legacy.MasterDetailTesttestIncomingOutgoingorg.hibernate.test.legacy.MasterDetailTesttestQueriesorg.hibernate.test.legacy.MultiTableTesttestNarroworg.hibernate.test.legacy.MultiTableTesttestJoinsorg.hibernate.test.legacy.MultiTableTesttestSubclassCollectionorg.hibernate.test.legacy.MultiTableTesttestMultiTableorg.hibernate.test.legacy.MultiTableTesttestMultiTableGeneratedIdorg.hibernate.test.legacy.MultiTableTesttestCollectionQueryorg.hibernate.test.legacy.ParentChildTesttestQueryOneToOneorg.hibernate.test.legacy.ParentChildTesttestSQLFunctionsorg.hibernate.test.legacy.SQLFunctionsTesttestHandSQLorg.hibernate.test.sql.OracleSQLTesttestSQLQueryInterfaceorg.hibernate.test.sql.OracleSQLTesttestResultSetMappingDefinitionorg.hibernate.test.sql.OracleSQLTesttestScalarValuesorg.hibernate.test.sql.OracleSQLTesttestScalarStoredProcedureorg.hibernate.test.sql.OracleSQLTesttestParameterHandlingorg.hibernate.test.sql.OracleSQLTesttestEntityStoredProcedureorg.hibernate.test.sql.OracleSQLTesttestMappedAliasStrategyorg.hibernate.test.sql.OracleSQLTesttestAutoDetectAliasingorg.hibernate.test.sql.OracleSQLTesttestCollectionJoinsInSubselectFailureExpectedorg.hibernate.test.hql.HQLTesttestEmptyInListFailureExpectedorg.hibernate.test.hql.HQLTesttestMaxindexHqlFunctionInElementAccessorFailureExpectedorg.hibernate.test.hql.HQLTesttestMultipleElementAccessorOperatorsFailureExpectedorg.hibernate.test.hql.HQLTesttestKeyManyToOneJoinFailureExpectedorg.hibernate.test.hql.HQLTesttestDuplicateExplicitJoinFailureExpectedorg.hibernate.test.hql.HQLTesttestCollectionFetchVsLoadorg.hibernate.test.stats.StatsTest 
 Modifications since last build: (110)1.113modifiedoneovthafewsrc/org/hibernate/cfg/Configuration.javaless noisy1.103modifiedoneovthafewsrc/org/hibernate/impl/SessionFactoryImpl.javaless noisy1.24modifiedturin42doc/reference/en/modules/transactions.xmlFixed BMT idiom1.21modifiedturin42doc/reference/en/modules/tutorial.xmlFixed typo1.139modifiedepbernardsrc/org/hibernate/cfg/HbmBinder.javaANN-176 add columnBinding mechanism in HbmBinder1.32modifiedepbernardsrc/org/hibernate/cfg/Mappings.javaANN-176 add columnBinding mechanism in HbmBinder1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleAssociatedEntity.javafixed build issue (cruise control)1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleEntityWithAssociation.hbm.xmlfixed build issue (cruise control)1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleEntityWithAssociation.javafixed build issue (cruise control)1.68modifiedsteveebersole/build.xmlfixed build issue (cruise control)1.176modifiedsteveebersoletest/org/hibernate/test/hql/HQLTest.javaHHH-1302 : query return types1.32modifiedsteveebersoletest/org/hibernate/test/hql/QueryTranslatorTestCase.javaHHH-1302 : query return types1.6modifiedsteveebersolesrc/org/hibernate/engine/query/HQLQueryPlan.javaHHH-1302 : query return types1.5modifiedsteveebersolesrc/org/hibernate/hql/ast/tree/FromElementType.javaoops1.25modifiedsteveebersoletest/org/hibernate/test/TestCase.javaminor1.48modifiedsteveebersoletest/org/hibernate/test/hql/BulkManipulationTest.javaHHH-1349 : hql delete/update statements and correlated subqueries1.4modifiedsteveebersolesrc/org/hib

[Hibernate] hibernate-hsqldb-testsuite Build Completed With Testsuite Errors

2006-01-13 Thread qa

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-hsqldb-testsuite?log=log20060113143512
TESTS FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:68: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:59: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-common-targets.xml:11: Build Successful - Tests completed with errors or failures.Date of build: 01/13/2006 14:35:12Time to build: 3 minutes 37 secondsLast changed: 12/31/2005 20:44:14Last log entry: less noisy




    Unit Tests: (769)    Total Errors and Failures: (28)testQueryorg.hibernate.test.legacy.FooBarTesttestQueryCollectionOfValuesorg.hibernate.test.legacy.FooBarTesttestCollectionsInSelectorg.hibernate.test.legacy.FooBarTesttestIteratorsorg.hibernate.test.legacy.FooBarTesttestRecursiveLoadorg.hibernate.test.legacy.FooBarTesttestNoForeignKeyViolationsorg.hibernate.test.legacy.FooBarTesttestCompositeIDQueryorg.hibernate.test.legacy.FumTesttestKeyManyToOneorg.hibernate.test.legacy.FumTesttestCompositeKeyPathExpressionsorg.hibernate.test.legacy.FumTesttestUnionSubclassorg.hibernate.test.legacy.IJ2TesttestOneToOnePropertyReforg.hibernate.test.legacy.MapTesttestMapOneToOneorg.hibernate.test.legacy.MapTesttestIncomingOutgoingorg.hibernate.test.legacy.MasterDetailTesttestQueriesorg.hibernate.test.legacy.MultiTableTesttestNarroworg.hibernate.test.legacy.MultiTableTesttestJoinsorg.hibernate.test.legacy.MultiTableTesttestSubclassCollectionorg.hibernate.test.legacy.MultiTableTesttestMultiTableorg.hibernate.test.legacy.MultiTableTesttestMultiTableGeneratedIdorg.hibernate.test.legacy.MultiTableTesttestCollectionQueryorg.hibernate.test.legacy.ParentChildTesttestQueryOneToOneorg.hibernate.test.legacy.ParentChildTesttestCollectionJoinsInSubselectFailureExpectedorg.hibernate.test.hql.HQLTesttestEmptyInListFailureExpectedorg.hibernate.test.hql.HQLTesttestMaxindexHqlFunctionInElementAccessorFailureExpectedorg.hibernate.test.hql.HQLTesttestMultipleElementAccessorOperatorsFailureExpectedorg.hibernate.test.hql.HQLTesttestKeyManyToOneJoinFailureExpectedorg.hibernate.test.hql.HQLTesttestDuplicateExplicitJoinFailureExpectedorg.hibernate.test.hql.HQLTesttestCollectionFetchVsLoadorg.hibernate.test.stats.StatsTest 
 Modifications since last build: (110)1.113modifiedoneovthafewsrc/org/hibernate/cfg/Configuration.javaless noisy1.103modifiedoneovthafewsrc/org/hibernate/impl/SessionFactoryImpl.javaless noisy1.24modifiedturin42doc/reference/en/modules/transactions.xmlFixed BMT idiom1.21modifiedturin42doc/reference/en/modules/tutorial.xmlFixed typo1.139modifiedepbernardsrc/org/hibernate/cfg/HbmBinder.javaANN-176 add columnBinding mechanism in HbmBinder1.32modifiedepbernardsrc/org/hibernate/cfg/Mappings.javaANN-176 add columnBinding mechanism in HbmBinder1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleAssociatedEntity.javafixed build issue (cruise control)1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleEntityWithAssociation.hbm.xmlfixed build issue (cruise control)1.1addedsteveebersoletest/org/hibernate/test/hql/SimpleEntityWithAssociation.javafixed build issue (cruise control)1.68modifiedsteveebersole/build.xmlfixed build issue (cruise control)1.176modifiedsteveebersoletest/org/hibernate/test/hql/HQLTest.javaHHH-1302 : query return types1.32modifiedsteveebersoletest/org/hibernate/test/hql/QueryTranslatorTestCase.javaHHH-1302 : query return types1.6modifiedsteveebersolesrc/org/hibernate/engine/query/HQLQueryPlan.javaHHH-1302 : query return types1.5modifiedsteveebersolesrc/org/hibernate/hql/ast/tree/FromElementType.javaoops1.25modifiedsteveebersoletest/org/hibernate/test/TestCase.javaminor1.48modifiedsteveebersoletest/org/hibernate/test/hql/BulkManipulationTest.javaHHH-1349 : hql delete/update statements and correlated subqueries1.4modifiedsteveebersolesrc/org/hibernate/hql/CollectionSubqueryFactory.javaHHH-1349 : hql delete/update statements and correlated subqueries1.10modifiedsteveebersolesrc/org/hibernate/hql/ast/tree/DotNode.javaHHH-1349 : hql delete/update statements and correlated subqueries1.4modifiedsteveebersolesrc/org/hibernate/hql/ast/tree/FromElement.javaHHH-1349 : hql delete/update statements and correlated subqueries1.4modifiedsteveebersolesrc/org/hibernate/hql/ast/tree/FromElementType.javaHHH-1349 : hql delete/update statements and correlated subqueries1.50modifiedepbernardsrc/org/hibernate/mapping/PersistentClass.javaoups1.45modifiedepbernardsrc/org/hibernate/impl/SQLQueryImpl.javaHHH-13601.87modifiedsteveebersoletest/org/hibernate/test/AllTests.javaminor changes to test filtering1.3modifiedsteveebersoletest/org/hibernate/test/TestSelector.javaminor changes to test filtering1.2modifiedsteveebersoletest/org/hibernate/test/TestSuiteVisitor.javaminor changes to test filtering1.

RE: [Hibernate] Commit when updating db schema in hbm2ddl

2006-01-13 Thread Steve Ebersole








Not all databases handle DDL the same in
terms of transactional semantics.

 

The simple (and most natural) solution is
to bootstrap your SessionFactory (and thus run hbm2ddl) when the app
deploys/starts-up, not on first access.

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan Janecek
Sent: Friday, January 13, 2006
10:10 AM
To:
hibernate-devel@lists.sourceforge.net
Subject: [Hibernate] Commit when
updating db schema in hbm2ddl



 

Hi,

commit issued by hbm2ddl when updating database schema is fairly problematic.
It failes when hbm2ddl is run in container managed bean.

I have a framework that fairly well converts project in ejb3 to ejb2.1. Problem
arises with injection of EntityManager. I implement this injection by an
aspect. This aspect is invoked every time the field annotated with
@javax.persistence.PersistenceContext is read. If it is read for the first time
inside a CMP bean then hbm2ddl is run (and I want to have it run) but fails
because of the mentioned commit statement.

Is there a simple workaround (except for the obvious one - get the
EntityManager inside a BMP bean for the first time)?
Is issuing commit realy necessary at all? I've thought that ddl commands don't
run in a transaction.

Thanks for help,
Jan

PS: I'm sorry if this e-mail is inappropriate in this list but I've seen the
same problem posted to the users list with no reply.








Re: [Hibernate] Commit when updating db schema in hbm2ddl

2006-01-13 Thread Max Rydahl Andersen
On Fri, 13 Jan 2006 17:09:40 +0100, Jan Janecek <[EMAIL PROTECTED]>  
wrote:



 It failes when hbm2ddl is run in container managed bean.


dont run it in a container bean then ;)

and it *has* been answered multiple times in the forum.


--
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Commit when updating db schema in hbm2ddl

2006-01-13 Thread Jan Janecek
Hi,

commit issued by hbm2ddl when updating database schema is fairly
problematic. It failes when hbm2ddl is run in container managed bean.

I have a framework that fairly well converts project in ejb3 to ejb2.1.
Problem arises with injection of EntityManager. I implement this
injection by an aspect. This aspect is invoked every time the field
annotated with @javax.persistence.PersistenceContext is read. If it is
read for the first time inside a CMP bean then hbm2ddl is run (and I
want to have it run) but fails because of the mentioned commit
statement.

Is there a simple workaround (except for the obvious one - get the EntityManager inside a BMP bean for the first time)?
 Is issuing commit realy necessary at all? I've thought that ddl commands don't run in a transaction.

Thanks for help,
Jan

PS: I'm sorry if this e-mail is inappropriate in this list but I've
seen the same problem posted to the users list with no reply.


Re: [Hibernate] Tools: ClassCastException when reverse-engineering table containing MS-SQL "money" field

2006-01-13 Thread Max Rydahl Andersen


you should go to the user forum/jira about this stuff.

no one have reported any classcastexception when doing reverse engineering
so feel free to report that in jira.

/max


I've got a problem with the current build.

I've got an MS-SQL Server database containing a number of tables (which
was created by "upsizing" a MS Access database).
Some of these tables contain columns which are of syntax "money" (which
is basically a fixed-point decimal field storing a number to 4 decimal
points).

If I use the build version "3.1.0 beta1JBIDERC2" then all is (mostly)
ok.  I say "mostly" as initialising Sets aren't JDK5-compliant (code
says "private Set services = new HashSet();" instead of
"private Set services = new HashSet();".
This JDK5 issue is fixed in the current (as of 5pm GMT Jan 12 2006) CVS
code, hence I'd like to use this later code.

However, if I use the current (as of 5pm GMT Jan 12 2006) CVS code then,
when I attempt to generate the *.hbm.xml files, I get the a
ClassCastException exception reported (reported by the plugin GUI - it
doesn't show up on any logfiles I can find, even with log4j told to log
"debug") - ClassCastException(java.lang.String) to be exact.

So, two questions:
1) Has anyone else seen this / reported this / is aware of this / knows
of a fix/workaround for this ?
2) Does anyone know how I can crank-up the logging to the extent that I
can see a full stack trace and further narrow-down the cause of the
exception?

Thanks,

  Peter

_
This e-mail has been scanned for viruses by MCI's Internet Managed  
Scanning Services - powered by MessageLabs. For further information  
visit http://www.mci.com



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log  
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel




--
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Tools: ClassCastException when reverse-engineering table containing MS-SQL "money" field

2006-01-13 Thread Peter Darton
I've got a problem with the current build.

I've got an MS-SQL Server database containing a number of tables (which
was created by "upsizing" a MS Access database).
Some of these tables contain columns which are of syntax "money" (which
is basically a fixed-point decimal field storing a number to 4 decimal
points).

If I use the build version "3.1.0 beta1JBIDERC2" then all is (mostly)
ok.  I say "mostly" as initialising Sets aren't JDK5-compliant (code
says "private Set services = new HashSet();" instead of
"private Set services = new HashSet();".
This JDK5 issue is fixed in the current (as of 5pm GMT Jan 12 2006) CVS
code, hence I'd like to use this later code.

However, if I use the current (as of 5pm GMT Jan 12 2006) CVS code then,
when I attempt to generate the *.hbm.xml files, I get the a
ClassCastException exception reported (reported by the plugin GUI - it
doesn't show up on any logfiles I can find, even with log4j told to log
"debug") - ClassCastException(java.lang.String) to be exact.

So, two questions:
1) Has anyone else seen this / reported this / is aware of this / knows
of a fix/workaround for this ?
2) Does anyone know how I can crank-up the logging to the extent that I
can see a full stack trace and further narrow-down the cause of the
exception?

Thanks,

  Peter

_
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning 
Services - powered by MessageLabs. For further information visit 
http://www.mci.com


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel