subclassing standard Java types

From: Aristedes Maniatis (ar..sh.com.au)
Date: Sat Feb 03 2007 - 19:37:31 EST

  • Next message: Ryan Holmes: "Re: [ANN] New Web Site"

    Some time ago we extended BigDecimal to our own Money subclass (which
    maintains two decimal points of scale amongst other things). However
    when we tried to add that directly to Cayenne an exception occurred
    in Hessian (we are using ROP three tier). http://thread.gmane.org/
    gmane.comp.java.cayenne.user/5998/focus=6005

    Is there any conceptual reason why this should not work? I'd have
    thought that in theory any class could be mapped to a field in
    Cayenne, as long as it could be serialised and the JDBC adaptor can
    successfully translate the class or its superclass to SQL.

    Cheers
    Ari

    -------------------------->
    ish
    http://www.ish.com.au
    Level 1, 30 Wilson Street Newtown 2042 Australia
    phone +61 2 9550 5001 fax +61 2 9550 4001
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A



    This archive was generated by hypermail 2.0.0 : Sat Feb 03 2007 - 19:41:24 EST