cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: SQLTemplate causing exception with Frontbase
Date Sun, 02 Jul 2006 14:54:58 GMT
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.
>
>
>


Mime
View raw message