Re: split expressions

2010-01-14 Thread Lachlan Deck
On 14/01/2010, at 8:40 PM, Aristedes Maniatis wrote: > On 14/01/10 8:10 PM, Andrus Adamchik wrote: >> >> Artist.PAINTINGS.dot(Painting.EXHIBITS).alias("X").dot(Exhibit.GALLERIES).eq("Y"); > > This is a long way from obvious for the most common use of the syntax: > combining AND queries across a

Re: Test results before RC2

2010-01-14 Thread Aristedes Maniatis
Yes, I set that up two years ago. I really like fisheye since it is so much more flexible and useful compared to viewvc. You can see it here: http://fisheye6.atlassian.com/browse/cayenne/ but the URL is malformed from Hudson. Ari On 15/01/10 1:29 AM, Andrus Adamchik wrote: Another Hudson /

Re: Test results before RC2

2010-01-14 Thread Andrus Adamchik
Another Hudson / Fisheye thing: (link originating from hudson) http://fisheye6.atlassian.com/browse/cayenne/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/ReturnTypesMappingTest.java?r1=899185&r2=899186 Are we even setup on Fisheye? Andrus On

RE: Derby types mappping tests

2010-01-14 Thread Рябицкий Евгений
Ah yeah... sory I am wrong... there is no such types... sad... Super db... never use it http://db.apache.org/derby/docs/10.5/ref/ Evgeny. -Original Message- From: Рябицкий Евгений [mailto:eryabits...@diasoft.ru] Sent: Thursday, January 14, 2010 3:32 PM To: dev@cayenne.apache.org

Re: Derby types mappping tests

2010-01-14 Thread Andrus Adamchik
I don't remember the actual details, but the link you sent is from OJB project, not Derby. Andrus On Jan 14, 2010, at 2:31 PM, Рябицкий Евгений wrote: Schema generation is using this query to create test table on Derby: INFO: CREATE TABLE TYPES_MAPPING_TEST1 (AAAID INTEGER NOT NULL, BIT_COL

Derby types mappping tests

2010-01-14 Thread Рябицкий Евгений
Schema generation is using this query to create test table on Derby: INFO: CREATE TABLE TYPES_MAPPING_TEST1 (AAAID INTEGER NOT NULL, BIT_COLUMN SMALLINT, BOOLEAN_COLUMN SMALLINT, TINYINT_COLUMN SMALLINT PRIMARY KEY (AAAID)) Why everything is mapped to SMALLINT? There is BIT, BOOLEAN and TINYI

Re: Build failed in Hudson: Cayenne -trunk » h2,Harmony 1.5 64-bit (on Ub untu only) ,Ubuntu #173

2010-01-14 Thread Aristedes Maniatis
On 14/01/10 10:34 PM, Apache Hudson Server wrote: --- constituent[0]:file:/home/hudson/tools/maven/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar --- java.lang.StringIndexOutOfBoundsException: String inde

Re: Test results before RC2

2010-01-14 Thread Aristedes Maniatis
On 14/01/10 10:12 PM, Andrus Adamchik wrote: Ari, they were disabled for a different reason - property name activating profiles contains dots on 3.0. So they won't work (or rather work against HSQLDB). Doh! Yeah, I remember now... I'll go switch them off. Ari -- --> Ar

Re: Test results before RC2

2010-01-14 Thread Andrus Adamchik
On Jan 14, 2010, at 1:09 PM, Aristedes Maniatis wrote: I just enabled H2 and Derby database tests on the 3.0 build. Ari, they were disabled for a different reason - property name activating profiles contains dots on 3.0. So they won't work (or rather work against HSQLDB). Andrus

Re: Test results before RC2

2010-01-14 Thread Aristedes Maniatis
Now that most of the false failures coming from Hudson have been sorted out, I just enabled H2 and Derby database tests on the 3.0 build. Ari On 14/01/10 9:59 PM, Ольга Ткачева wrote: I was wrong in the tests on Derby. Here correct results: derby Tests in error: testDifferentEntity(org.apa

Re: Test results before RC2

2010-01-14 Thread Ольга Ткачева
I was wrong in the tests on Derby. Here correct results: derby Tests in error: testDifferentEntity(org.apache.cayenne.access.DataContextEJBQLSubqueryTest) testExists(org.apache.cayenne.access.DataContextEJBQLSubqueryTest) Tests run: 2087, Failures: 0, Errors: 2, Skipped: 0 And now in RC2 we

Re: svn commit: r899143 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src: main/java/org/apache/cayenne/access/jdbc/ main/java/org/apache/cayenne/dba/ test/java/org/apache/art/ test/ja

2010-01-14 Thread Andrus Adamchik
Looks like we still have Hudson failures on H2 and Derby DBs. Andrus On Jan 14, 2010, at 12:14 PM, evg...@apache.org wrote: CAY-1354 Wrong Types mapping for selected values in Row Queries Fixed default mapping for most of types. Add JUnits to control regression. Still problem with mapping o

Re: Test results before RC2

2010-01-14 Thread Ольга Ткачева
Postgres - BUILD SUCCESSFUL. I fixed testNullParameter(org.apache.cayenne.query.EJBQLQueryTest) 2010/1/14 Andrus Adamchik > > On Jan 13, 2010, at 4:41 PM, Kevin Menard wrote: > > Andrey mentioned he knew what the error in postgres is. IIRC it was a >> case >> of "= NULL" being used instead of

Re: split expressions

2010-01-14 Thread Andrus Adamchik
On Jan 14, 2010, at 11:40 AM, Aristedes Maniatis wrote: Sure named aliases might be useful in themselves, maybe, for someone. I can't personally think of a reason. You are not using EJBQL (not that it is very usable in 3.0). It has an explicit notion of named joins. This is where it all f

Re: split expressions

2010-01-14 Thread Aristedes Maniatis
On 14/01/10 8:10 PM, Andrus Adamchik wrote: On Jan 13, 2010, at 2:38 PM, Aristedes Maniatis wrote: I've tried to explain the current usage better in the docs, given what I now understand. Please let me know if I misunderstood something. I had originally thought they were there as shortcuts to

Re: split expressions

2010-01-14 Thread Andrus Adamchik
doh, was going to send this to dev... On Jan 14, 2010, at 11:10 AM, Andrus Adamchik wrote: On Jan 13, 2010, at 2:38 PM, Aristedes Maniatis wrote: I've tried to explain the current usage better in the docs, given what I now understand. Please let me know if I misunderstood something. I ha

Re: Test results before RC2

2010-01-14 Thread Andrus Adamchik
On Jan 13, 2010, at 4:41 PM, Kevin Menard wrote: Andrey mentioned he knew what the error in postgres is. IIRC it was a case of "= NULL" being used instead of "IS NULL" on an EJBQL expression.. -- Kevin True, but since Cayenne expressions do support "= NULL", it sort of made sense to mak