persistence@glassfish.java.net

Re: String Persistence Strategies

From: Shelley <randomshelley_at_gmail.com>
Date: Mon, 1 Oct 2007 14:07:57 -0700 (PDT)

Is there any provider-independent method to modify the default Column length
[1] for String attributes (preferably in the ORM xml mapping file)?

[1]
http://java.sun.com/javaee/5/docs/api/javax/persistence/Column.html#length()


James Sutherland wrote:
>
> You can customize the defaults through making your own TopLink
> DatabasePlatform class (oracle.toplink.essentials.platform.database).
> Subclass your existing database platform class and define the
> buildFieldTypes() method to change the default size.
>
> ---
> http://wiki.java.net/bin/view/People/JamesSutherland James Sutherland
>
>

-- 
View this message in context: http://www.nabble.com/String-Persistence-Strategies-tf4387515.html#a12987957
Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.