You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Aristedes Maniatis <ar...@maniatis.org> on 2010/01/14 12:49:44 UTC

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

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 index out of range: -1
> 	at java.lang.AbstractStringBuilder.setLength(AbstractStringBuilder.java:545)
> 	at java.lang.StringBuffer.setLength(StringBuffer.java:699)
> 	at org.apache.maven.cli.CLIManager.cleanArgs(CLIManager.java:271)
> 	at org.apache.maven.cli.CLIManager.parse(CLIManager.java:224)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:119)
> 	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> 	at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 	at java.lang.reflect.Method.invoke(Method.java:317)
> 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Recording test results


Well, I'll turn this one back off as well, but now we know that maven doesn't run on Harmony.


Ari


-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

RE: Derby types mappping tests

Posted by Рябицкий Евгений <er...@diasoft.ru>.

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:eryabitskiy@diasoft.ru] 
Sent: Thursday, January 14, 2010 3:32 PM
To: dev@cayenne.apache.org
Subject: Derby types mappping tests

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 TINYINT types in Derby.

http://db.apache.org/ojb/docu/guides/jdbc-types.html

Evgeny.

Re: Derby types mappping tests

Posted by Andrus Adamchik <an...@objectstyle.org>.
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_COLUMN SMALLINT,
> BOOLEAN_COLUMN SMALLINT,
> TINYINT_COLUMN SMALLINT
> PRIMARY KEY (AAAID))
>
> Why everything is mapped to SMALLINT?
> There is BIT, BOOLEAN and TINYINT types in Derby.
>
> http://db.apache.org/ojb/docu/guides/jdbc-types.html
>
> Evgeny.
>


Derby types mappping tests

Posted by Рябицкий Евгений <er...@diasoft.ru>.
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 TINYINT types in Derby.

http://db.apache.org/ojb/docu/guides/jdbc-types.html

Evgeny.