[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
Newsgroup Home
]
[news.eclipse.rt.eclipselink] DDL generation with WriteTransformer
From
:
sven.hoffmann@xxxxxxxxxxxxxxxx
(Sven Hoffmann)
Date
: Thu, 7 May 2009 07:32:42 +0000 (UTC)
Newsgroups
:
eclipse.rt.eclipselink
Organization
: Eclipse
User-agent
: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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
Follow-Ups
:
[news.eclipse.rt.eclipselink] Re: DDL generation with WriteTransformer
From:
Sven Hoffmann
Prev by Date:
[news.eclipse.rt.eclipselink] Re: Getting NegativeArraySizeException: allocArray
Next by Date:
[news.eclipse.rt.eclipselink] Re: DDL generation with WriteTransformer
Previous by thread:
[news.eclipse.rt.eclipselink] Getting NegativeArraySizeException: allocArray
Next by thread:
[news.eclipse.rt.eclipselink] Re: DDL generation with WriteTransformer
Index(es):
Date
Thread