cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Rubio (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAY-1168) Cayenne fails on querying the database when using dots on the column names
Date Tue, 13 Jan 2009 17:35:45 GMT
Cayenne fails on querying the database when using dots on the column names
--------------------------------------------------------------------------

                 Key: CAY-1168
                 URL: https://issues.apache.org/cayenne/browse/CAY-1168
             Project: Cayenne
          Issue Type: Bug
          Components: Cayenne Core Library, CayenneModeler GUI
         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.


Mime
View raw message