Re: Registering extended types

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Sep 21 2005 - 15:17:52 EDT

  • Next message: Todd O'Bryan: "Re: CayenneDataObjects across RMI"

    Are you using #result(..) directive with explicit Java type in your
    SQLTemplate (2 or 3 argument version)? If not, Cayenne won't have
    enough information to pick up your ExtendedType.

    http://objectstyle.org/cayenne/userguide/fetch/sqltemplate-
    scripting.html

    Andrus

    On Sep 20, 2005, at 8:59 PM, Damir Bijuklic wrote:

    > Hi,
    >
    > I have created my own firebird boolean extended type
    > mapping boolean to '0' and '1' (char). Everything is
    > working correctly except in SQLTemplates which do not
    > use new converter in JDBCResultIterator.readDataRow().
    >
    > I have tried both registering new extended type in my
    > single DataNode on application startup, and changing
    > implementation of FirebirdAdapter to register new
    > type.
    >
    > Both without success. ?
    >
    > Damir
    >
    >
    >
    > __________________________________
    > Yahoo! Mail - PC Magazine Editors' Choice 2005
    > http://mail.yahoo.com
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Sep 21 2005 - 15:17:54 EDT