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

2006-04-18 Thread qa

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-hsqldb-testsuite?log=log20060419023108
TESTS FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:85: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:76: 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: 04/19/2006 02:31:08Time to build: 8 minutes 27 seconds




    Unit Tests: (828)    Total Errors and Failures: (8)testReturnPropertyComponentRenameorg.hibernate.test.legacy.SQLLoaderTesttestReadOnlyOnProxiesFailureExpectedorg.hibernate.test.readonly.ReadOnlyTesttestEmptyInListFailureExpectedorg.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: (first 50 of 0)



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

2006-04-18 Thread qa

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-mysql-testsuite?log=log20060419011347
TESTS FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:120: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:76: 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: 04/19/2006 01:13:47Time to build: 19 minutes 8 seconds




    Unit Tests: (826)    Total Errors and Failures: (17)testUpdateWithWhereExistsSubqueryorg.hibernate.test.hql.BulkManipulationTesttestQueryorg.hibernate.test.legacy.FooBarTesttestOneToOneGeneratororg.hibernate.test.legacy.FooBarTesttestReachabilityorg.hibernate.test.legacy.FooBarTesttestVersionedCollectionsorg.hibernate.test.legacy.FooBarTesttestReturnPropertyComponentRenameorg.hibernate.test.legacy.SQLLoaderTesttestReadOnlyOnProxiesFailureExpectedorg.hibernate.test.readonly.ReadOnlyTesttestAutoDetectAliasingorg.hibernate.test.sql.GeneralTesttestScalarStoredProcedureorg.hibernate.test.sql.MySQLTesttestParameterHandlingorg.hibernate.test.sql.MySQLTesttestEntityStoredProcedureorg.hibernate.test.sql.MySQLTesttestEmptyInListFailureExpectedorg.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: (first 50 of 0)



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

2006-04-18 Thread qa

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-oracle10-testsuite?log=log20060419001931
TESTS FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:99: The following error occurred while executing this line: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:76: 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: 04/19/2006 00:19:31Time to build: 15 minutes 22 seconds




    Unit Tests: (830)    Total Errors and Failures: (10)testSequenceIdentityGeneratororg.hibernate.test.generatedkeys.seqidentity.SequenceIdentityTesttestReturnPropertyComponentRenameorg.hibernate.test.legacy.SQLLoaderTesttestReadOnlyOnProxiesFailureExpectedorg.hibernate.test.readonly.ReadOnlyTesttestResultTransformerScalarQueriesorg.hibernate.test.hql.ASTParserLoadingTesttestEmptyInListFailureExpectedorg.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: (first 50 of 0)



Re: [Hibernate] left outer join

2006-04-18 Thread Max Rydahl Andersen

please go to forum.hibernate.org for user questions.

/max



Hallo,

can help me somebody.
I wan't to to execute following MySQL-statement in hibernate:
SELECT b.*, s* FROM bbp_test.BLSBAS b left outer join bbp_test.BLSSTR s  
on b.SBLS=s.SBLS where b.sbls like '%N710900%'


The two tables are not in relation to each other. They both have only  
one column that is the same and this is SBLS.


How can I execute this statement in Hibernate.

Greeting,
Stasa


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting  
language
that extends applications into web and mobile media. Attend the live  
webcast
and join the prime developer group breaking into this new coding  
territory!

http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] left outer join

2006-04-18 Thread Stasa Jerinic
Hallo,

can help me somebody.
I wan't to to execute following MySQL-statement in hibernate:
SELECT b.*, s* FROM bbp_test.BLSBAS b left outer join bbp_test.BLSSTR s on 
b.SBLS=s.SBLS where b.sbls like '%N710900%'

The two tables are not in relation to each other. They both have only one 
column that is the same and this is SBLS.

How can I execute this statement in Hibernate.

Greeting,
Stasa


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] hibernate , cglib 2.2.(2) , asm 2.x

2006-04-18 Thread Max Rydahl Andersen


the simplest possible configuration of hibernate is not via spring.
Just write a main class that creates a configuration, add the  
mapping/class and
build the session factory. No magic - just works (assuming the libraries  
are correct)


I don't know if changing the libs could affect here, but it shouldn't - it  
should rather

fail pretty fast.

Questions/work on concrete issues with newer cglib/asm version in respect  
to hibernate goes here.
basic configuration issues goes to the relevant user forum: Hibernate or  
Spring.


/max



Hello Max,
before trying the proposed solution, i tried a different way: producing  
the
simplest possible configuration file (i'm writing a spring  
application)..and

i couldn't reproduce the error I got before.
Unfortunatly, i get a MappingException: unknown entity..
the fact is, my entity is there:


 it.chi.commercialisti.model.Empty



(there are no other entities to be persisted);
and the class looks like very simple:
import javax.persistence.Entity;

@Entity
public class Empty {
public Empty() {

}
}

So, i'm wondering wheter this problem comes from the manipulation  
performed

over that class before it is persisted. In particular, i introduce (using
asm2.x) a field and related getter/setter methods.

 I was thinking about dynamically introducing
 the annotation, but if I get this error with the current state of
development, i guess there's something wrong in the technique.

i'm copy/pasting the stacktrace for sake of completeness. i could attach  
a

testcase to reproduce the problem.
feel free to forward me to the hibernate users forum.

some info on my env:

org.hibernate
hibernate-annotations
3.1beta8


org.hibernate
hibernate
3.1.2

java version "1.5.0_06"

thanks,
valerio

On 4/18/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote:



1) I don't it will work because of api changes, but feel free to
try/submit patches
2) In Hibernate 3.2 we can run (optionally) with javaassist, removing  
the

need for the mentioned libraries
3) We don't use sf.net for cvs anymore, we use JBoss SVN (see
http://hibernate.org/30.html#A3)

/max

> Hello everyone,
> in my application I need to use asm 2.x . The latest version of
> hibernate I
> can find so far (at ibiblio repository, 3.1.2) depends on cglib 2.1.3,
> which
> in turn depends on asm 1.5.3. There's been an API refactoring from the
> two
> major releases of asm, which means the new version is not backward
> compatile.
>  I'm  also aware  of the latest published version of cglib , but in  
the

> cglib cvs repository it possible to checkout  a version which actually
> depends on asm2.x .
> My question then is the following: does the current version of  
hibernate

> will continue working if I 'manually' upgrade cglib (and all its
> dependencies) ? I'm asking this before doing because the checkout from
> sourceforge seems to not work right now, so maybe I can have some
helpful
> feedback before getting into the whole process.
>
> Thanks a lot,
> Valerio Schiavoni
>
> --
> http://valerioschiavoni.blogspot.com
> http://jroller.com/page/vschiavoni



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

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

JBoss Inc
[EMAIL PROTECTED]





--
http://valerioschiavoni.blogspot.com




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

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

JBoss Inc
[EMAIL PROTECTED]


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] hibernate , cglib 2.2.(2) , asm 2.x

2006-04-18 Thread Valerio Schiavoni
Hello Max,before trying the proposed solution, i tried a different way: producing the simplest possible configuration file (i'm writing a spring application)..and i couldn't reproduce the error I got before. Unfortunatly, i get a MappingException: unknown entity..
the fact is, my entity is there:                                     it.chi.commercialisti.model.Empty                
(there are no other entities to be persisted);and the class looks like very simple:import javax.persistence.Entity;@Entitypublic class Empty {
    public Empty() {            }}So, i'm wondering wheter this problem comes from the manipulation performed over that class before it is persisted. In particular, i introduce (using 
asm2.x) a field and related getter/setter methods. I was thinking about dynamically introducing the annotation, but if I get this error with the current state of development, i guess there's something wrong in the technique.
i'm copy/pasting the stacktrace for sake of completeness. i could attach a testcase to reproduce the problem.feel free to forward me to the hibernate users forum.some info on my env:
            org.hibernate            hibernate-annotations            3.1beta8
            org.hibernate            hibernate            3.1.2java version "1.5.0_06
"thanks,valerioOn 4/18/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote:
1) I don't it will work because of api changes, but feel free totry/submit patches
2) In Hibernate 3.2 we can run (optionally) with javaassist, removing theneed for the mentioned libraries3) We don't use sf.net for cvs anymore, we use JBoss SVN (see
http://hibernate.org/30.html#A3)/max> Hello everyone,> in my application I need to use asm 2.x . The latest version of> hibernate I> can find so far (at ibiblio repository, 3.1.2
) depends on cglib 2.1.3,> which> in turn depends on asm 1.5.3. There's been an API refactoring from the> two> major releases of asm, which means the new version is not backward> compatile.
>  I'm  also aware  of the latest published version of cglib , but in the> cglib cvs repository it possible to checkout  a version which actually> depends on asm2.x .> My question then is the following: does the current version of hibernate
> will continue working if I 'manually' upgrade cglib (and all its> dependencies) ? I'm asking this before doing because the checkout from> sourceforge seems to not work right now, so maybe I can have some helpful
> feedback before getting into the whole process.>> Thanks a lot,> Valerio Schiavoni>> --> http://valerioschiavoni.blogspot.com
> http://jroller.com/page/vschiavoniMax Rydahl Andersencallto://max.rydahl.andersenHibernate
[EMAIL PROTECTED]http://hibernate.orgJBoss Inc[EMAIL PROTECTED]-- 
http://valerioschiavoni.blogspot.com


Re: [Hibernate] hibernate , cglib 2.2.(2) , asm 2.x

2006-04-18 Thread Max Rydahl Andersen


1) I don't it will work because of api changes, but feel free to  
try/submit patches
2) In Hibernate 3.2 we can run (optionally) with javaassist, removing the  
need for the mentioned libraries
3) We don't use sf.net for cvs anymore, we use JBoss SVN (see  
http://hibernate.org/30.html#A3)


/max


Hello everyone,
in my application I need to use asm 2.x . The latest version of  
hibernate I
can find so far (at ibiblio repository, 3.1.2) depends on cglib 2.1.3,  
which
in turn depends on asm 1.5.3. There's been an API refactoring from the  
two

major releases of asm, which means the new version is not backward
compatile.
 I'm  also aware  of the latest published version of cglib , but in the
cglib cvs repository it possible to checkout  a version which actually
depends on asm2.x .
My question then is the following: does the current version of hibernate
will continue working if I 'manually' upgrade cglib (and all its
dependencies) ? I'm asking this before doing because the checkout from
sourceforge seems to not work right now, so maybe I can have some helpful
feedback before getting into the whole process.

Thanks a lot,
Valerio Schiavoni

--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni




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

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

JBoss Inc
[EMAIL PROTECTED]


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] hibernate , cglib 2.2.(2) , asm 2.x

2006-04-18 Thread Valerio Schiavoni
Hello everyone,in my application I need to use asm 2.x . The latest version of hibernate I can find so far (at ibiblio repository, 3.1.2) depends on cglib 2.1.3, which in turn depends on asm 1.5.3. There's been an API refactoring from the two major releases of asm, which means the new version is not backward compatile.
 I'm  also aware  of the latest published version of cglib , but in the cglib cvs repository it possible to checkout  a version which actually depends on asm2.x .My question then is the following: does the current version of hibernate will continue working if I 'manually' upgrade cglib (and all its dependencies) ? I'm asking this before doing because the checkout from sourceforge seems to not work right now, so maybe I can have some helpful feedback before getting into the whole process.
Thanks a lot,Valerio Schiavoni-- http://valerioschiavoni.blogspot.comhttp://jroller.com/page/vschiavoni