Re: SQLTemplate causing exception with Frontbase

From: Jonathan Bélisl (jonathan_belisl..otmail.com)
Date: Sun Jul 02 2006 - 18:57:54 EDT

  • Next message: Andrus Adamchik: "Re: SQLTemplate causing exception with Frontbase"

    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 : Sun Jul 02 2006 - 18:58:20 EDT