[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] DDL generation with WriteTransformer

Hi,

I found that DDL generation of EclipseLink 1.1 does not take the attribute length of WriteTransformer's column attribute into account.

I configured ReadTransformer and WriteTransformer on an entities attribute as follows:
@ReadTransformer(method = "readDeliveryInstructions")
@WriteTransformer(method = "writeDeliveryInstructions", column = @Column(name = "INSTRUCTIONS", length = 228))
private List<String> instructions;


Return value of WriteTransformer is of type java.lang.String.

The generated DDL contains VARCHAR(255) which is the default value of String fields.

Is there way to make sure the define length is used in the generated DDL? Should i file a bug?

Best regards,
Sven