Hi Oliver,

Unfortunately  the "." causes problems in queries.
In a Query a dot is interpreted as a reference to another persistent Object
and translated into a SQL JOIN.
There was some discussion on the user list on this issue:
http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]
e.org&msgId=517299

cheers,
Thomas



> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 31. Januar 2003 08:30
> An: [EMAIL PROTECTED]
> Betreff: PersistentNestedFieldMaxPerformanceImpl.PATH_TOKEN == "->"
> 
> 
> Hello,
> 
> I have a minor issue that is not really caused by OJB.
> I apologize if this mail is misplaced here.  If you feel so, 
> please ignore it.
> 
> In order to use the PersistentNestedFieldMaxPerformanceImpl, 
> I have to place something like 
> 
> <field-descriptor name="x->y" column="X_Y" jdbc-type="INTEGER"/>
> 
> into the repository_user.xml
> 
> I generate this file using xslt-stylesheets, and it is a bit
> difficult to get that '>' symbol into the attribute.
> Can't we change the syntax to use PATH_TOKEN == "."
> rather than "->"?
> 
> I know I can write my own PersistentNestedFieldImpl with 
> that modification, but maybe other people have that same 
> problem.  Besides, the "->"-syntax is not Java-like, is it?
> 
> Olli
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to