cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ari Maniatis (JIRA)" <>
Subject [jira] Updated: (CAY-1064) Exception for unsupported expression comes too late
Date Wed, 06 Jan 2010 11:48:55 GMT


Ari Maniatis updated CAY-1064:

    Component/s: Core Library

> Exception for unsupported expression comes too late
> ---------------------------------------------------
>                 Key: CAY-1064
>                 URL:
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>         Environment: MS SQL server and Derby in combination
>            Reporter: √ėyvind Harboe
>            Assignee: Andrus Adamchik
> Cayenne MS SQL adapter does not support likeIgnoreCase for CLOB's(does a JIRA issue exist?).
> However, the *main* problem is that I tested w/Derby and it worked fine. What I'd like
to see is a way to have Derby(or any other database adapter) fail if a feature is not supported
on all the adapters.
> Ideally I'd like to catch this compile time, but if I can catch the use of features which
are not supported for  a list of adapters I care about during normal smoketesting that will
do nicely.
> 	at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(
> 	... 29 more
> Caused by: org.apache.cayenne.CayenneException: [v.3.0-SNAPSHOT May 21 2008 12:37:01]
Error getting ResultIterator: Query Exception:
> java.sql.SQLException: Argument data type text is invalid for argument 1 of upper function.
> 	at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(
> 	at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(
> 	at net.sourceforge.jtds.jdbc.TdsCore.nextToken(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message