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

2006-06-22 Thread qa

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-hsqldb-testsuite?log=log20060622230643
TESTS FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:86: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:77: 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: 06/22/2006 23:06:43Time to build: 8 minutes 41 seconds




    Unit Tests: (849)    Total Errors and Failures: (13)testParameterTypeMismatchFailsorg.hibernate.test.hql.ASTParserLoadingTesttestCriteriaAggregationReturnTypeFailureExpectedorg.hibernate.test.hql.CriteriaHQLAlignmentTesttestReturnPropertyComponentRenameorg.hibernate.test.legacy.SQLLoaderTesttestReadOnlyOnProxiesFailureExpectedorg.hibernate.test.readonly.ReadOnlyTesttestCompositeIdJoinsFailureExpectedorg.hibernate.test.sql.GeneralTesttestAutoDetectAliasingorg.hibernate.test.sql.GeneralTesttestEmptyInListFailureExpectedorg.hibernate.test.hql.HQLTesttestMaxindexHqlFunctionInElementAccessorFailureExpectedorg.hibernate.test.hql.HQLTesttestMultipleElementAccessorOperatorsFailureExpectedorg.hibernate.test.hql.HQLTesttestKeyManyToOneJoinFailureExpectedorg.hibernate.test.hql.HQLTesttestDuplicateExplicitJoinFailureExpectedorg.hibernate.test.hql.HQLTesttestOptimisticLockDirtyDeleteFailureExpectedorg.hibernate.test.optlock.OptimisticLockTesttestOptimisticLockAllDeleteFailureExpectedorg.hibernate.test.optlock.OptimisticLockTest 
 Modifications since last build: (first 50 of 0)

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


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

2006-06-22 Thread qa

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-timesten-testsuite?log=log2006064208
TESTS FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:93: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:77: 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: 06/22/2006 22:42:08Time to build: 23 minutes 47 seconds




    Unit Tests: (849)    Total Errors and Failures: (215)testCompositeIdsorg.hibernate.test.cid.CompositeIdTesttestNonLazyFetchorg.hibernate.test.cid.CompositeIdTesttestMultipleCollectionFetchorg.hibernate.test.cid.CompositeIdTesttestUpdateFalseorg.hibernate.test.component.ComponentTesttestComponentorg.hibernate.test.component.ComponentTesttestComponentFormulaQueryorg.hibernate.test.component.ComponentTesttestNamedQueryorg.hibernate.test.component.ComponentTesttestSerializationFailsOnAfterStatementAggressiveReleaseWithOpenResourcesorg.hibernate.test.connections.AggressiveReleaseTesttestQueryScrollingorg.hibernate.test.connections.AggressiveReleaseTesttestConnectedSerializationorg.hibernate.test.connections.AggressiveReleaseTesttestManualDisconnectWithOpenResourcesorg.hibernate.test.connections.AggressiveReleaseTesttestConnectedSerializationorg.hibernate.test.connections.BasicConnectionProviderTesttestManualDisconnectWithOpenResourcesorg.hibernate.test.connections.BasicConnectionProviderTesttestSerializationFailsOnAfterStatementAggressiveReleaseWithOpenResourcesorg.hibernate.test.connections.CurrentSessionConnectionTesttestQueryScrollingorg.hibernate.test.connections.CurrentSessionConnectionTesttestConnectedSerializationorg.hibernate.test.connections.CurrentSessionConnectionTesttestManualDisconnectWithOpenResourcesorg.hibernate.test.connections.CurrentSessionConnectionTesttestConnectedSerializationorg.hibernate.test.connections.SuppliedConnectionTesttestManualDisconnectWithOpenResourcesorg.hibernate.test.connections.SuppliedConnectionTesttestScrollCriteriaorg.hibernate.test.criteria.CriteriaQueryTesttestRestrictionOnSubclassCollectionorg.hibernate.test.criteria.CriteriaQueryTesttestClassPropertyorg.hibernate.test.criteria.CriteriaQueryTesttestCompositeUserTypeorg.hibernate.test.cut.CompositeUserTypeTesttestDom4jorg.hibernate.test.dom4j.Dom4jTesttestMapIndexEmisionorg.hibernate.test.dom4j.Dom4jTesttestOrphanDeleteorg.hibernate.test.extralazy.ExtraLazyTesttestIndexFormulaMaporg.hibernate.test.extralazy.ExtraLazyTesttestJdkEnumStyleEnumConstantorg.hibernate.test.hql.ASTParserLoadingTesttestParameterTypeMismatchFailsorg.hibernate.test.hql.ASTParserLoadingTesttestCollectionJoinsInSubselectorg.hibernate.test.hql.ASTParserLoadingTesttestCollectionFetchWithDistinctionAndLimitorg.hibernate.test.hql.ASTParserLoadingTesttestNestedCollectionFetchorg.hibernate.test.hql.ASTParserLoadingTesttestSelectClauseSubselectorg.hibernate.test.hql.ASTParserLoadingTesttestImplicitPolymorphismorg.hibernate.test.hql.ASTParserLoadingTesttestCoalesceorg.hibernate.test.hql.ASTParserLoadingTesttestStrorg.hibernate.test.hql.ASTParserLoadingTesttestCastorg.hibernate.test.hql.ASTParserLoadingTesttestExtractorg.hibernate.test.hql.ASTParserLoadingTesttestOneToManyFilterorg.hibernate.test.hql.ASTParserLoadingTesttestSelectExpressionsorg.hibernate.test.hql.ASTParserLoadingTesttestWhereorg.hibernate.test.hql.ASTParserLoadingTesttestEntityFetchingorg.hibernate.test.hql.ASTParserLoadingTesttestCollectionFetchingorg.hibernate.test.hql.ASTParserLoadingTesttestStandardFunctionsorg.hibernate.test.hql.ASTParserLoadingTesttestDynamicInstantiationQueriesorg.hibernate.test.hql.ASTParserLoadingTesttestResultTransformerScalarQueriesorg.hibernate.test.hql.ASTParserLoadingTesttestResultTransformerEntityQueriesorg.hibernate.test.hql.ASTParserLoadingTesttestEJBQLFunctionsorg.hibernate.test.hql.ASTParserLoadingTesttestSubselectBetweenorg.hibernate.test.hql.ASTParserLoadingTesttestTempTableGenerationIsolationorg.hibernate.test.hql.BulkManipulationTesttestSimpleInsertorg.hibernate.test.hql.BulkManipulationTesttestSimpleNativeSQLInsertorg.hibernate.test.hql.BulkManipulationTesttestInsertWithManyToOneorg.hibernate.test.hql.BulkManipulationTesttestInsertWithMismatchedTypesorg.hibernate.test.hql.BulkManipulationTesttestInsertIntoSuperclassPropertiesFailsorg.hibernate.test.hql.BulkManipulationTesttestInsertAcrossMappedJoinFailsorg.hibernate.test.hql.BulkManipulationTesttestInsertWithGeneratedIdorg.hibernate.test.hql.BulkManipulationTesttestInsertWithGeneratedVersionAndIdorg.hibernate.test.hql.BulkManipulationTesttestInsertWithGeneratedTimestampVersionorg.hibernate.test.hql.BulkManipulationTesttestUpdateOnDiscriminatorSubclassorg.hibernate.test.hql.BulkManipulationTesttestUpdateOnAnimalorg.hibernate.test.hql.BulkManipulationTesttestUpdateOnMa

Re: [Hibernate] New error on Annotation query

2006-06-22 Thread Steve Ebersole
Actually, I just tested with HSQLDB.  For me, HSQLDB is *also* returning
columnType = 12 for both of those scalars (and Hibernate then returns
Strings for both)...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steve Ebersole
Sent: Thursday, June 22, 2006 3:37 PM
To: Hibernate development
Subject: Re: [Hibernate] New error on Annotation query

On Oracle10g it actually returns String for both of the scalars.

Not sure what you want to have happen here.  The ResultSetMetaData
explicitly reports columnType = 12 (java.sql.Types.VARCHAR) for both of
these columns.  It's not like I can return numerics for all columnType =
12 auto-discoveries...

-Original Message-
From: Emmanuel Bernard [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 4:59 PM
To: Steve Ebersole
Cc: Hibernate development
Subject: Re: [Hibernate] New error on Annotation query

My description was too generic. I've updated the GeneralTest by adding a

SpaceShip class.
It now fails with the error I encountered.

Steve Ebersole wrote:
> I just ran this on Oracle-10g and HSQLDB and both worked fine for me.
>
> On Oracle, the discovered types were BigDecimalType and
BigDecimalType.
>
> On HSQLDB, the discovered types were BigIntegerType and BigDecimalType
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Steve Ebersole
> Sent: Wednesday, June 21, 2006 3:55 PM
> To: Max Andersen; Emmanuel Bernard
> Cc: Hibernate development
> Subject: Re: [Hibernate] New error on Annotation query
>
> I am creating a similar test in the core testsuite and see if I can
> reproduce.
>
> -Original Message-
> From: Max Andersen 
> Sent: Wednesday, June 21, 2006 3:53 PM
> To: Emmanuel Bernard; Steve Ebersole
> Cc: Hibernate development
> Subject: Re: [Hibernate] New error on Annotation query
>
>
> This should be controlled by calls to Dialect.registerHibernateType()
> and  
> whatever the underlying db returns.
>
> This has not changed afaik.
>
> /max
>
>   
>> The initial issue is fixed,
>> But now I do have some weird type conversion using HSQLDB (didn't
>> 
> tried
>   
>> the other ones).
>>
>> basically I do have
>> public Dimension() {
>>   private int length;
>>   private int width;
>> }
>>
>> ints are converted into INTEGER types at the DB level, fine
>>
>> The following native SQL query, mapped using scalar autodiscovery
>> select length * width as surface, length * width * 10 as volume ...
>>
>> returns String for the first argument and Double for the second
>> The same query used to return BigInteger for the first one and
>> BigDecimal for the second.
>>
>>
>>
>> Steve Ebersole wrote:
>> 
>>> Try it again from SVN.
>>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of
>>> Emmanuel Bernard
>>> Sent: Sunday, June 18, 2006 10:21 PM
>>> To: Hibernate development
>>> Subject: [Hibernate] New error on Annotation query
>>>
>>> Has something changed that I haven't propagated in my code?
>>>
>>>
>>> org.hibernate.HibernateException: cannot perform autodiscovery on
>>> queries with non-scalar results
>>> at
>>>
>>>   
>
org.hibernate.loader.custom.CustomLoader$NonScalarResultColumnProcessor.
>   
>>> performDiscovery(CustomLoader.java:453)
>>> at
>>>
>>>   
>
org.hibernate.loader.custom.CustomLoader.autoDiscoverTypes(CustomLoader.
>   
>>> java:511)
>>> at org.hibernate.loader.Loader.getResultSet(Loader.java:1677)
>>> at org.hibernate.loader.Loader.doQuery(Loader.java:662)
>>> at
>>>
>>>   
>
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loade
>   
>>> r.java:224)
>>> at org.hibernate.loader.Loader.doList(Loader.java:2144)
>>> at
>>> org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
>>> at org.hibernate.loader.Loader.list(Loader.java:2023)
>>> at
>>> org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:290)
>>> at
>>>
org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)
>>> at
>>>
>>>   
>
org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142
>   
>>> )
>>> at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:150)
>>> at
>>>
>>>   
>
org.hibernate.test.annotations.query.QueryTest.testNativeQueryAndComposi
>   
>>> tePKAndComponents(QueryTest.java:195)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>>
>>>   
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
>   
>>> a:39)
>>> at
>>>
>>>   
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
>   
>>> Impl.java:25)
>>> at
>>>   
> org.hibernate.test.annotations.TestCase.runTest(TestCase.java:67)
>   
>>> at
>>>
>>>   
>
com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:32)
>   
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>>
>>>

Re: [Hibernate] New error on Annotation query

2006-06-22 Thread Steve Ebersole
On Oracle10g it actually returns String for both of the scalars.

Not sure what you want to have happen here.  The ResultSetMetaData
explicitly reports columnType = 12 (java.sql.Types.VARCHAR) for both of
these columns.  It's not like I can return numerics for all columnType =
12 auto-discoveries...

-Original Message-
From: Emmanuel Bernard [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 4:59 PM
To: Steve Ebersole
Cc: Hibernate development
Subject: Re: [Hibernate] New error on Annotation query

My description was too generic. I've updated the GeneralTest by adding a

SpaceShip class.
It now fails with the error I encountered.

Steve Ebersole wrote:
> I just ran this on Oracle-10g and HSQLDB and both worked fine for me.
>
> On Oracle, the discovered types were BigDecimalType and
BigDecimalType.
>
> On HSQLDB, the discovered types were BigIntegerType and BigDecimalType
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Steve Ebersole
> Sent: Wednesday, June 21, 2006 3:55 PM
> To: Max Andersen; Emmanuel Bernard
> Cc: Hibernate development
> Subject: Re: [Hibernate] New error on Annotation query
>
> I am creating a similar test in the core testsuite and see if I can
> reproduce.
>
> -Original Message-
> From: Max Andersen 
> Sent: Wednesday, June 21, 2006 3:53 PM
> To: Emmanuel Bernard; Steve Ebersole
> Cc: Hibernate development
> Subject: Re: [Hibernate] New error on Annotation query
>
>
> This should be controlled by calls to Dialect.registerHibernateType()
> and  
> whatever the underlying db returns.
>
> This has not changed afaik.
>
> /max
>
>   
>> The initial issue is fixed,
>> But now I do have some weird type conversion using HSQLDB (didn't
>> 
> tried
>   
>> the other ones).
>>
>> basically I do have
>> public Dimension() {
>>   private int length;
>>   private int width;
>> }
>>
>> ints are converted into INTEGER types at the DB level, fine
>>
>> The following native SQL query, mapped using scalar autodiscovery
>> select length * width as surface, length * width * 10 as volume ...
>>
>> returns String for the first argument and Double for the second
>> The same query used to return BigInteger for the first one and
>> BigDecimal for the second.
>>
>>
>>
>> Steve Ebersole wrote:
>> 
>>> Try it again from SVN.
>>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of
>>> Emmanuel Bernard
>>> Sent: Sunday, June 18, 2006 10:21 PM
>>> To: Hibernate development
>>> Subject: [Hibernate] New error on Annotation query
>>>
>>> Has something changed that I haven't propagated in my code?
>>>
>>>
>>> org.hibernate.HibernateException: cannot perform autodiscovery on
>>> queries with non-scalar results
>>> at
>>>
>>>   
>
org.hibernate.loader.custom.CustomLoader$NonScalarResultColumnProcessor.
>   
>>> performDiscovery(CustomLoader.java:453)
>>> at
>>>
>>>   
>
org.hibernate.loader.custom.CustomLoader.autoDiscoverTypes(CustomLoader.
>   
>>> java:511)
>>> at org.hibernate.loader.Loader.getResultSet(Loader.java:1677)
>>> at org.hibernate.loader.Loader.doQuery(Loader.java:662)
>>> at
>>>
>>>   
>
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loade
>   
>>> r.java:224)
>>> at org.hibernate.loader.Loader.doList(Loader.java:2144)
>>> at
>>> org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
>>> at org.hibernate.loader.Loader.list(Loader.java:2023)
>>> at
>>> org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:290)
>>> at
>>>
org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)
>>> at
>>>
>>>   
>
org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142
>   
>>> )
>>> at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:150)
>>> at
>>>
>>>   
>
org.hibernate.test.annotations.query.QueryTest.testNativeQueryAndComposi
>   
>>> tePKAndComponents(QueryTest.java:195)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>>
>>>   
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
>   
>>> a:39)
>>> at
>>>
>>>   
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
>   
>>> Impl.java:25)
>>> at
>>>   
> org.hibernate.test.annotations.TestCase.runTest(TestCase.java:67)
>   
>>> at
>>>
>>>   
>
com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:32)
>   
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>>
>>>   
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
>   
>>> a:39)
>>> at
>>>
>>>   
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
>   
>>> Impl.java:25)
>>> at
>>> com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
>>>
>>>
>>>
>>> @NamedNativeQuery(name = "compositekey",
>>> query = "select 

Re: [Hibernate] Plan for 3.1.x JIRA issues?

2006-06-22 Thread Steve Ebersole
I'll look at other issues after JPA work is complete.  The hope is to
release the final 3.2.0 CR after that work is complete.  So I would
expect anything else to be bundled into 3.2 point releases.  The DTD
thing is an obvious typo and is trivial to fix, so I'll correct that.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Josh
Moore
Sent: Wednesday, June 21, 2006 3:29 PM
To: hibernate-devel@lists.sourceforge.net
Subject: [Hibernate] Plan for 3.1.x JIRA issues?

Is there a procedure for having 3.1.x issues moved to 3.2? Two tickets 
from the 3.1.2/3.1.3 days, in particular, that I've been watching for 
months still haven't been assigned. If there's anything I need to do to 
have them apply to the 3.2 branch (more than adding a comment such as 
cloning), please let me know.

Specifically they are:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1401
which outlines a fairly large problem with session.merge() while using 
versions. Test case included.

http://opensource.atlassian.com/projects/hibernate/browse/HHH-1507
which points to a simple typo in hibernate-mapping-3.0.dtd, that forces 
us to patch every release.

Thanks,
Josh Moore
The Openmicroscopy Environment

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications
in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel