Thomas Dudziak wrote:
Nope, it is required to be the same as the real name of the java field,
otherwise OJB wouldn't find the field. So in short, you cannot specify a
different name (as this would refer to a different field). You can however
add anonymous fields (put a field tag in the class javadoc comment with a
name attribute).

I realise it has to match up on the Java/OJB side, but the table column name can be anything, as in:


    <field-descriptor
        name="someProperty"
        column="THE_COLUMN"
        jdbc-type="INTEGER"
        nullable="true"
        access="anonymous"
    />

Basically, I'd like the 'name' property from ojb.field to control the value of 'column'. Does that make sense?

L.



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



Reply via email to