openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Trelle <tobias.tre...@codecentric.de>
Subject Re: Mapping CHAR column to String
Date Thu, 11 Nov 2010 17:14:38 GMT


lwp wrote:
> 
> See if this gets you what you want:
> 
>      @Column(name = "PROD_VAR", columnDefinition = "CHAR(5)")
>      private String produktVariante;
> 
> 

Unfortunately, this applies only for schema creation. We'll have to work
with an exisiting one.

Cheers,
Tobias

-- 
View this message in context: http://openjpa.208410.n2.nabble.com/Mapping-CHAR-column-to-String-tp5727930p5729435.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message