You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by "Leonardo K. Shikida" <sh...@gmail.com> on 2013/10/30 18:18:08 UTC

@ElementCollection can be mapped to a ?

Hi

I have a Map<String,String> annotated with @ElementCollection, which
generates two varchar columns.

Is there any way to tell openJPA to map to varchar,clob?

TIA

Leo

Re: @ElementCollection can be mapped to a ?

Posted by "Leonardo K. Shikida" <sh...@gmail.com>.
sorry, stupid question

just annotate with @Lob

TIA

Leo


On Wed, Oct 30, 2013 at 3:18 PM, Leonardo K. Shikida <sh...@gmail.com>wrote:

> Hi
>
> I have a Map<String,String> annotated with @ElementCollection, which
> generates two varchar columns.
>
> Is there any way to tell openJPA to map to varchar,clob?
>
> TIA
>
> Leo
>