Jon Wilmoth wrote:
With a field defined like the one below I get a
mapping exception.  What is the correct mapping type
values for Time SQL field?

Thanks,
Jon

<field name="defaultEntryStartTime"
type="java.sql.Time" required="true">
<sql name="DEFAULT_ENTRY_START_TIME" type="time"/>
</field>

org.exolab.castor.mapping.MappingException: Field
element, "java.sql.Time"  not found!
        at
org.exolab.castor.persist.DatingService.close(DatingService.java:134)
        at org.exolab.castor.persist.ClassMolder.resolve(ClassMolder.java:525)

John,

Is this within a 'depends' relationship? Please post more of the mapping file (e.g. the entire <class> element). It's difficult to understand this issue without more context.

Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\\"F9E<G)E=\\$\\!F<FEI+F-O;0\\`\\`");'


The Castor Project
http://www.castor.org/

Apache Geronimo
http://incubator.apache.org/projects/geronimo.html



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user

Reply via email to