Regards
Werner
--Original Message Text---
From: Werner Guttmann
Date: Mon, 10 Jan 2005 12:46:25 +0100
Christophe,
I was just about to reply that 'Castor JDO does support fields of type enumeration as per documentation'. Well, it looks like either the documentation is incomplete, or we have a slight mismatch here. According to the source code, Castor JDO should have support for java.util.Enumerations. A mapping for a field of that type should look similar to
<field type="org.4ever.Love" collection="enumerate">
<sql name="love" />
</field>
Please bear in mind that this might prevent you from running under Java 5.0 as it stands right now (though there's already a bug report out there that will address this particular issue).
Thanks
Werner
--Original Message Text---
From: Christophe Ass�mat
Date: Thu, 16 Dec 2004 16:19:19 +0100
Clean Clean DocumentEmail 21 MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tableau Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";}
Hi,
Sorry to ask again the same question but Im still blocked with the question of mapping fields which have an enumeration type& Does Castor-JDO automatically handle this (and how) ? or is it necessary to write specific field handler (or getter/setter) ?
Regards,
C.ASSEMAT
PS: Whats the main difference between writing a field handler and writing getter/setter ? is there any example of how to write a handler and how to use it ?
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
