Using multiple converters in an entity

View: New views
2 Messages — Rating Filter:   Alert me  

Using multiple converters in an entity

by Andreas Schmidt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using eclipselink 1.1.1 with annotations and wonder how I can configure more than one @Converter in an entity.

The error I get is "Duplicate annotation @Converter"

Somebody any idea ?

Thank you.

Re: Using multiple converters in an entity

by James Sutherland :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks like we need a @Converters annotation, please log a bug for this.

You can just put them on different fields/methods for now.

Andreas Schmidt wrote:
I'm using eclipselink 1.1.1 with annotations and wonder how I can configure more than one @Converter in an entity.

The error I get is "Duplicate annotation @Converter"

Somebody any idea ?

Thank you.