You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrey Razumovsky (JIRA)" <ji...@apache.org> on 2010/01/11 19:34:54 UTC

[jira] Closed: (CAY-1168) Cayenne fails on querying the database when using dots on the column names

     [ https://issues.apache.org/jira/browse/CAY-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Razumovsky closed CAY-1168.
----------------------------------

    Resolution: Won't Fix

I assume this is now covered by already implemented quoting of identifiers

> Cayenne fails on querying the database when using dots on the column names
> --------------------------------------------------------------------------
>
>                 Key: CAY-1168
>                 URL: https://issues.apache.org/jira/browse/CAY-1168
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library, Modeler
>         Environment: XP SP3
>            Reporter: Javier Rubio
>            Priority: Minor
>
> The problem is a StringTokenizer in org.apache.cayenne.map.Entity (line 331) which in method next()  thinks that the dot of an attribute whose name contains a dot (e.g. "mail.host") is another token so it treats it  
> like two attributes instead of one.
> Note that it also affects CayenneModeler as it behaves weird when generating ObjEntitys from shuch columns, and does not validate the project (thows an exception).

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