Re: SQLTemplate causing exception with Frontbase

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Jul 03 2006 - 05:27:39 EDT

  • Next message: Marcin Skladaniec: "concurrent modification exception (cayenne 3.0 branch, remote persistence)"

    You may want to contact FrontBase folks on that - their site may have
    outdated info. Also I'll send you my driver jar off the list.

    Andrus

    On Jul 2, 2006, at 11:57 PM, Jonathan Bélisle wrote:

    > Thanks Andrus,
    >
    > Do you know where can i get a driver newer than 2.5.2 ?
    > The only version available for download on Frontbase web site is
    > 2.5.2.
    >
    > Jonathan.
    >
    >> Hi Jonathan,
    >
    >> You will need a driver newer that 2.5.2. There were some issues in
    >> 2.5.2 that we found when implementing Cayenne FrontBase adapter.
    >> Needless to say FrontBase folks fixed them immediately. So please
    >> upgrade the driver.
    >>
    >> Andrus
    >>
    >> On Jun 30, 2006, at 6:06 PM, Jonathan Bélisle wrote:
    >
    >> Hi,
    >>
    >> I'm trying to use SQLTemplate with Frontbase but it's giving me an
    >> exception when i try to run
    >> the simpliest queries.
    >>
    >> Event select * from XXX won't work.
    >>
    >> It always give me a NullPointerException on
    >> com.frontbase.jdbc.FBJStatement.getUpdateCount
    >> in SQLTemplateAction.execute
    >>
    >> Caused by: java.lang.NullPointerException
    >> at com.frontbase.jdbc.FBJStatement.getUpdateCount
    >> (FBJStatement.java:342)
    >> at org.objectstyle.cayenne.access.jdbc.SQLTemplateAction.execute
    >> (SQLTemplateAction.java:210)
    >> at
    >> org.objectstyle.cayenne.access.jdbc.SQLTemplateAction.performAction
    >> (SQLTemplateAction.java:145)
    >> at org.objectstyle.cayenne.access.DataNodeQueryAction.runQuery
    >> (DataNodeQueryAction.java:95)
    >> at org.objectstyle.cayenne.access.DataNode.performQueries
    >> (DataNode.java:309)
    >>
    >> I'm using Cayenne 1.2RC2 with Frontbase JDBC Driver 2.5.2
    >>
    >> Can someone help me ?
    >>
    >> Thanks in advance, Jonathan.
    >> Jonathan.
    >>
    >>
    >>
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Jul 03 2006 - 05:28:03 EDT