Right, I should have said "The @Strategy annotation is defined to
*also*work at the type (Entity) level."  Tobias had already determined
it worked
at the field/property level.  I was just trying to indicate that @Strategy
was also usable at the type/entity level.  Sorry for the confusion.

On Sat, Nov 13, 2010 at 11:27 AM, Pinaki Poddar <[email protected]> wrote:

>
> Kevin,
> > > The @Strategy annotation is defined to work at the type (Entity) level.
>
> OpenJPA accepts @Strategy annotation on persistent properties as well
>
> @Target({ TYPE, METHOD, FIELD })
> @Retention(RUNTIME)
> public @interface Strategy {...}
>
> -----
> Pinaki
> --
> View this message in context:
> http://openjpa.208410.n2.nabble.com/Mapping-CHAR-column-to-String-tp5727930p5735779.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>

Reply via email to