Hi!
I've got a big problem and need a quick solution for this.
In the mapping file I declare a field like this (used latest CVS):
<field name="kbpuhrzeit" type="org.exolab.castor.types.Time">
<sql name="KBPUHRZEIT" type="time"/>
<bind-xml name="uhrzeit" />
</field>
Castor says:
org.exolab.castor.mapping.MappingException: No convertor exists for converting type
java.sql.Time to type org.exolab.castor.types.Time
at org.exolab.castor.jdo.engine.SQLTypes.getConvertor(SQLTypes.java:500)
at
org.exolab.castor.jdo.engine.JDOMappingLoader.getTypeInfo(JDOMappingLoader.java:262)
at
org.exolab.castor.mapping.loader.MappingLoader.createFieldDesc(MappingLoader.java:624)
at
org.exolab.castor.jdo.engine.JDOMappingLoader.createFieldDesc(JDOMappingLoader.java:286)
What do I have to do? Tried to leave out the field-type, used Date,
org.exolab.castor.types.Date, but nothing works. Classes are generated
from an XSD. In the XSD the type is "xs:time". Need quick help, please.
Thanks in advance,
Marc.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev