Converter and orm.xml configuration [message #892184] |
Wed, 27 June 2012 06:35  |
Eclipse User |
|
|
|
Hi guys,
I have a problem with custom converter configuration in my orm.xml file.
I've made a DateDimensionConverter.class which implements Converter,
if I use with annotation everything works fine :
@Converter(name="DateDimensionConverter", converterClass=DateDimensionConverter.class)
@Convert("DateDimensionConverter")
private MyClass item;
but if I use it in orm.xml I have this error:
Internal Exception: Exception [EclipseLink-7198] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Class: [com.ekovision.persistence.DateDimensionConverter.class] was not found while converting from class names to classes.
this is my orm file:
<package>com.ekovision.persistence</package>
<converter class="com.ekovision.persistence.DateDimensionConverter.class" name="DateDimensionConverter" />
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.21867 seconds