Re: SQLTemplate causing exception with Frontbase

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sun Jul 02 2006 - 10:54:58 EDT

  • Next message: Jonathan Bélisl: "Re: SQLTemplate causing exception with Frontbase"

    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 : Sun Jul 02 2006 - 10:55:21 EDT