I agree that using the "->" symbol is strange. Ideally we should be
supporting JavaBean syntax on names for accessing the data. The "->" symbol
is just not Java. There is a problem with queries, but this can be solved
with a bit of extra coding.

I have actually written an implementation of PersistentField that uses
nested JavaBeans similar to PersistentFieldpropertyImpl which I can donate
to the project., but this issue needs to be resolved so that I can make
sure the PATH_TOKEN is consistent.

I am willing to have a go at making the queries work using a "." separator
is it is agreed that this is the way to go.



                                                                                       
                       
                    oliver.matz@p                                                      
                       
                    pi.de                To:     [EMAIL PROTECTED]           
                       
                                         cc:                                           
                       
                    31/01/2003           Subject:     
PersistentNestedFieldMaxPerformanceImpl.PATH_TOKEN == " 
                    06:30 PM             ->"                                           
                       
                    Please                                                             
                       
                    respond to                                                         
                       
                    "OJB Users                                                         
                       
                    List"                                                              
                       
                                                                                       
                       
                                                                                       
                       



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