Re: [ANNOUNCEMENT] Apache Commons DBCP 2.10.0

2023-09-26 Thread Greg Huber
If I am understanding this correctly, I replace jakarta.transaction jakarta.transaction-api 1.3.1 with org.apache.geronimo.specs geronimo-jta_1.1_spec 1.1.1 true in the source of 2.10.0 pom.xml and then mvn clean package. I get this error [ERRO

Re: [ANNOUNCEMENT] Apache Commons DBCP 2.10.0

2023-09-25 Thread Phil Steitz
Thanks, Greg. I assume that dependency was there and working with DBCP 2.9, correct? Can you try reverting the pom change above, replacing the Jakarta transactions reference with org.apache.geronimo.specs geronimo-jta_1.1_spec 1.1.1 true Then recompile DBCP from 2.10 s

Re: [ANNOUNCEMENT] Apache Commons DBCP 2.10.0

2023-09-25 Thread Greg Huber
>> does your code maybe bring in the 2.0 jakarta spec jar? I do have : jakarta.transaction-api-2.0.1.jar which comes from hibernate-core 6.3.1.Final. ### Using eclipse here are the errors The project was not built since its build path is incomplete. Cannot find the class file

Re: [ANNOUNCEMENT] Apache Commons DBCP 2.10.0

2023-09-24 Thread Phil Steitz
On Sun, Sep 24, 2023 at 10:28 AM Greg Huber wrote: > Forgot to add, I use hibernate 6. > I suspect this is a side effect of the change to use the jakarta spec jar In 2.10, we have jakarta.transaction jakarta.transaction-api 1.3.1 vs org.apache.geronimo.specs geroni

Re: [ANNOUNCEMENT] Apache Commons DBCP 2.10.0

2023-09-24 Thread Greg Huber
Forgot to add, I use hibernate 6. Cheers. On Sun, 24 Sept 2023 at 12:49, Gary Gregory wrote: > What else has changed in your app? > > Gary > > On Sun, Sep 24, 2023 at 5:13 AM Greg Huber wrote: > > > > Hello, > > > > On upgrading from 2.9.0 I get this message and my class won't compile. > > > >

Re: [ANNOUNCEMENT] Apache Commons DBCP 2.10.0

2023-09-24 Thread Greg Huber
> What else has changed in your app? Nothing, if I go back to 2.9.0 it works. On Sun, 24 Sept 2023 at 12:49, Gary Gregory wrote: > What else has changed in your app? > > Gary > > On Sun, Sep 24, 2023 at 5:13 AM Greg Huber wrote: > > > > Hello, > > > > On upgrading from 2.9.0 I get this messag

Re: [ANNOUNCEMENT] Apache Commons DBCP 2.10.0

2023-09-24 Thread Gary Gregory
What else has changed in your app? Gary On Sun, Sep 24, 2023 at 5:13 AM Greg Huber wrote: > > Hello, > > On upgrading from 2.9.0 I get this message and my class won't compile. > > I get this error > > The type jakarta.transaction.Synchronization cannot be resolved. It is > indirectly referenced

Re: [ANNOUNCEMENT] Apache Commons DBCP 2.10.0

2023-09-24 Thread Greg Huber
Hello, On upgrading from 2.9.0 I get this message and my class won't compile. I get this error The type jakarta.transaction.Synchronization cannot be resolved. It is indirectly referenced from required type org.hibernate.context.internal.ThreadLocalSessionContext.CleanupSync I am on : open

[ANNOUNCEMENT] Apache Commons DBCP 2.10.0

2023-09-03 Thread Gary Gregory
The Apache Commons DBCP team is pleased to announce the release of Apache Commons DBCP 2.10.0. Apache Commons DBCP software implements Database Connection Pooling. This is a minor release, including bug fixes and enhancements: https://commons.apache.org/proper/commons-dbcp/changes-report.html#a2.