This one time, at band camp, Romilson Cruz de Carvalho said:

RCdC>Castor 0.9.3.19 has generated in mapping file:
RCdC>
RCdC>        <field cst:name="type" cst:type="int">
RCdC>            <bind-xml name="type" node="attribute"/>
RCdC>        </field>
RCdC>
RCdC>
RCdC>at the moment to unmarshall /marshall ,, castor said:
RCdC>
RCdC>org.exolab.castor.mapping.MappingException: Could not find the class int
RCdC> at 
com.cpqd.promus.ebpp.persistence.metamodel.DAO.CastorPersistence.persist(CastorPersistence.java:267)
RCdC> at 
com.cpqd.promus.ebpp.persistence.metamodel.DAO.CastorPersistence.persist(CastorPersistence.java:279)
RCdC> at 
com.cpqd.promus.ebpp.test.persistence.metamodel.DAO.CastorPersistenceTest.testStoragePersistence(CastorPersistenceTest.java:240)
RCdC>
RCdC>
RCdC>?? Why castor has puted "int" in mapping file if its not know about int ?
RCdC>Or .. where is my error ?

Romilson,

Change the int to integer and all should be OK. I'm not sure why
Castor XML would generate int and not integer. This would be a good
question for Arnaud and/or Keith.

Bruce
--

perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

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

Reply via email to