Re: Issue with FrontBase PK generation in Cayenne 4.1

2020-10-18 Thread Andrus Adamchik
Yes, SQLTemplate is processed via a different JDBC call in 4.1. > On Oct 18, 2020, at 7:57 PM, Amedeo Mantica > wrote: > > btw I have no issues using Cayenne 4.0.2, the issue happens only in 4.1 > >> On 18 Oct 2020, at 09:36, Andrus Adamchik wrote: >> >> Hi Amedeo, >> >> You hit this

Re: Issue with FrontBase PK generation in Cayenne 4.1

2020-10-18 Thread Amedeo Mantica
btw I have no issues using Cayenne 4.0.2, the issue happens only in 4.1 > On 18 Oct 2020, at 09:36, Andrus Adamchik wrote: > > Hi Amedeo, > > You hit this issue: https://issues.apache.org/jira/browse/CAY-2574 > . This is a bug in FrontBase >

Re: Issue with FrontBase PK generation in Cayenne 4.1

2020-10-18 Thread Andrus Adamchik
Hi Amedeo, You hit this issue: https://issues.apache.org/jira/browse/CAY-2574 . This is a bug in FrontBase driver. We started a conversation with FrontBase folks a year and a half ago, and even made some progress. But it died down and we are

Issue with FrontBase PK generation in Cayenne 4.1

2020-10-17 Thread Amedeo Mantica
Hi, I have noticed an NPE in PrimaryKey generation when using Frointbase database Cayenne version 4.0.2 works fine, but in Cayenne 4.1 there is an issue in SQLTemplateAction the line PreparedStatement statement = connection.prepareStatement(compiled.getSql()); returns a null statement,