I'd like to be able to use something like:
  <member name="time" java-type="long" handler="mypkg.DTGFieldHandler"/>

I believe I've written a reasonable fieldhandler for this case, but the code generator balks at storing my data as a long.
The fieldHandler parses string-form dates into java-epoch times and returns Long objects.  I can use Long as the actual member type, but since the point of the exercise is to minimize the object footprint, I'd prefer to avoid the overhead of a wrapper (Long or Date).

It appears that TypeConversion.convertType doesn't understand "long", event though it understands other primitives.

Thanks.

PS - I'm using and looking at 1.0M3
--
Michael Thome
BBN Technologies 10 Moulton St, Cambridge MA 02138 USA
phone: +1 617 873 1853
------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

Reply via email to