2006/10/3, Stephen Greenlee <[EMAIL PROTECTED]>:


Vitaly,

We also set "PROPERTY_VALUE" of type BLOB for the same reason. I think
that you can do so without any problem.

Stephen

On 10/3/06, Vitaly Baranovsky <[EMAIL PROTECTED]> wrote:
> Hmm... Maybe, making column "PROPERTY_VALUE" of type BLOB would be
better
> decision? Because there can be preference with big length. And length of
> preference doesn't limited in JSR-168 specification. How do you think?
>

Changing the column data type will require a change to the jdbc-type om the object-relational mapping file prefs_repository.xml found inside the prefs jar:

            </field-descriptor>
            <field-descriptor
                name="propertyValue"
                column="PROPERTY_VALUE"
                jdbc-type="VARCHAR"
                nullable="true"
                length="254"
            >

Hopefully it supports mapping CLOB onto java.lang.String, it should
Also, you will want to experiment with changing and removing the length


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

Reply via email to