09-26-05 10:45 PM
[ http://issues.apache.org/jira/browse/JDO-108?page=all ]
Erik Bengtson resolved JDO-108:
-------------------------------
Resolution: Fixed
fixed in JPOX CVS
> ERROR 42Y03: 'ASCII' is not recognized as a function or procedure.
> ------------------------------------------------------------------
>
> Key: JDO-108
> URL: http://issues.apache.org/jira/browse/JDO-108
> Project: JDO
> Type: Bug
> Components: tck20
> Reporter: Michelle Caisse
> Assignee: Erik Bengtson
>
> Three tests affected:
> org.apache.jdo.tck.query.operators.BinaryAddition
> org.apache.jdo.tck.query.operators.BinarySubtraction
> org.apache.jdo.tck.query.operators.SignInversion
> (org.apache.jdo.tck.query.operators.BinaryAddition)javax.jdo.JDODataStoreException
: Error executing JDOQL query "SELECT 'org.apache.jdo.tck.pc.mylib.PrimitiveTypes' A
S JPOXMETADATA,THIS.PRIMITIVETYPES,THIS.BIGDECIMAL,THIS.BIGINTEGER,THIS.BOOLEANNOTNU
LL,
THIS.BOOLEANNULL,THIS.BYTENOTNULL,THIS.BYTENULL,THIS.CHARNOTNULL,THIS.CHARNU
LL,THIS.DATENULL,THIS.DOUBLENOTNULL,THIS.DOUBLENULL,THIS.FLOATNOTNULL,THIS.F
LOATNULL,THIS.ID,THIS.INTNOTNULL,THIS.INTNULL,THIS.LONGNOTNULL,THIS.LONGNULL
,THIS.SHORTNOTNULL,THIS.SHO
RTNULL,THIS.STRINGNULL FROM applicationidentity0.PRIMITIVETYPES THIS WHERE ASCII(THIS.CHARNU
LL) + 1 = ?" : 'ASCII' is not recognized as a function or procedure.
> ERROR 42Y03: 'ASCII' is not recognized as a function or procedure.
> at org.apache.derby.iapi.error.StandardException.newException(StandardExc
eption.java)
> at org.apache.derby.impl.sql.compile.StaticMethodCallNode.bindExpression(
StaticMethodCallNode.java)
> at org.apache.derby.impl.sql.compile.JavaToSQLValueNode.bindExpression(Ja
vaToSQLValueNode.java)
> at org.apache.derby.impl.sql.compile.BinaryOperatorNode.bindExpression(Bi
naryOperatorNode.java)
> at org.apache.derby.impl.sql.compile.BinaryArithmeticOperatorNode.bindExp
ression(BinaryArithmeticOperatorNode.java)
> at org.apache.derby.impl.sql.compile.BinaryOperatorNode.bindExpression(Bi
naryOperatorNode.java)
> at org.apache.derby.impl.sql.compile.BinaryComparisonOperatorNode.bindExp
ression(BinaryComparisonOperatorNode.java)
> at org.apache.derby.impl.sql.compile.SelectNode.bindExpressions(SelectNod
e.java)
> at org.apache.derby.impl.sql.compile.DMLStatementNode.bindExpressions(DML
StatementNode.java)
> at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(DMLStatementNo
de.java)
> at org.apache.derby.impl.sql.compile.ReadCursorNode.bind(ReadCursorNode.j
ava)
> at org.apache.derby.impl.sql.compile.CursorNode.bind(CursorNode.java)
> at org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement
.java)
> at org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.ja
va)
> at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepar
eInternalStatement(GenericLanguageConnec
tionContext.java)
> at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(EmbedPrepared
Statement.java)
> at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.<init>(EmbedPrepar
edStatement20.java)
> at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.<init>(EmbedPrepar
edStatement30.java)
> at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Driver30.java
)
> at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConne
ction.java)
> at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConne
ction.java)
> at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyC
onnection.java:303)
> at org.jpox.store.StatementText.prepareStatement(StatementText.java:194)
> at org.jpox.store.query.JDOQLQuery.performExecute(JDOQLQuery.java:654)
> at org.jpox.store.query.Query.executeWithMap(Query.java:891)
> at org.jpox.store.query.Query.executeWithArray(Query.java:871)
> at org.jpox.store.query.Query.execute(Query.java:803)
> at org.apache.jdo.tck.query.QueryTest.runSimplePrimitiveTypesQuery(QueryT
est.java:219)
> at org.apache.jdo.tck.query.operators.BinaryAddition.runTest(BinaryAdditi
on.java:117)
> at org.apache.jdo.tck.query.operators.BinaryAddition.test(BinaryAddition.
java:65)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
> at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
> at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128
)
> at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
> .
> at org.jpox.store.query.JDOQLQuery.performExecute(JDOQLQuery.java:719)
> at org.jpox.store.query.Query.executeWithMap(Query.java:891)
> at org.jpox.store.query.Query.executeWithArray(Query.java:871)
> at org.jpox.store.query.Query.execute(Query.java:803)
> at org.apache.jdo.tck.query.QueryTest.runSimplePrimitiveTypesQuery(QueryT
est.java:219)
> at org.apache.jdo.tck.query.operators.BinaryAddition.runTest(BinaryAdditi
on.java:117)
> at org.apache.jdo.tck.query.operators.BinaryAddition.test(BinaryAddition.
java:65)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
> at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
> at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128
)
> at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|