Thread: Right version of jdbc

Right version of jdbc

From
Raivo Rebane
Date:
Hi,

The same problem of postgres-jdbc compatibility remains and I pushed it to github - https://github.com/raaivore/APIexperiment.

I am using Postgres 15 and Java 1.8 and Tomcat9.
Maybe somebody can help me to solve the problem.

Regards
Raivo

Re: Right version of jdbc

From
Dave Cramer
Date:
The latest version of postgis-jdbc is Maven Repository: net.postgis » postgis-jdbc » 2021.1.0 (mvnrepository.com)
Dave Cramer
www.postgres.rocks


On Thu, 28 Sept 2023 at 14:51, Raivo Rebane <raivore55@gmail.com> wrote:
Hi,

The same problem of postgres-jdbc compatibility remains and I pushed it to github - https://github.com/raaivore/APIexperiment.

I am using Postgres 15 and Java 1.8 and Tomcat9.
Maybe somebody can help me to solve the problem.

Regards
Raivo

Re: Right version of jdbc

From
Raivo Rebane
Date:
If I use this jar i give errors - Description Resource Path Location Type
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 22 Java Problem
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 46 Java Problem
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 46 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 14 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 35 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 47 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 47 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 83 Java Problem
Point cannot be resolved to a type Utils.java /KatseAPIs/src/main/java/MushroomAPIs line 9 Java Problem
Point cannot be resolved to a type Utils.java /KatseAPIs/src/main/java/MushroomAPIs line 22 Java Problem

Raivo

On Thu, Sep 28, 2023 at 11:06 PM Dave Cramer <davecramer@postgres.rocks> wrote:
The latest version of postgis-jdbc is Maven Repository: net.postgis » postgis-jdbc » 2021.1.0 (mvnrepository.com)
Dave Cramer
www.postgres.rocks


On Thu, 28 Sept 2023 at 14:51, Raivo Rebane <raivore55@gmail.com> wrote:
Hi,

The same problem of postgres-jdbc compatibility remains and I pushed it to github - https://github.com/raaivore/APIexperiment.

I am using Postgres 15 and Java 1.8 and Tomcat9.
Maybe somebody can help me to solve the problem.

Regards
Raivo

Re: Right version of jdbc

From
Raivo Rebane
Date:
It goes better, if I add postgis-geometry-2.5.0.jar and Eclipse founds

import org.postgis.Point;


Raivo


On Fri, Sep 29, 2023 at 7:18 AM Raivo Rebane <raivore55@gmail.com> wrote:
If I use this jar i give errors - Description Resource Path Location Type
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 22 Java Problem
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 46 Java Problem
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 46 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 14 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 35 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 47 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 47 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 83 Java Problem
Point cannot be resolved to a type Utils.java /KatseAPIs/src/main/java/MushroomAPIs line 9 Java Problem
Point cannot be resolved to a type Utils.java /KatseAPIs/src/main/java/MushroomAPIs line 22 Java Problem

Raivo

On Thu, Sep 28, 2023 at 11:06 PM Dave Cramer <davecramer@postgres.rocks> wrote:
The latest version of postgis-jdbc is Maven Repository: net.postgis » postgis-jdbc » 2021.1.0 (mvnrepository.com)
Dave Cramer
www.postgres.rocks


On Thu, 28 Sept 2023 at 14:51, Raivo Rebane <raivore55@gmail.com> wrote:
Hi,

The same problem of postgres-jdbc compatibility remains and I pushed it to github - https://github.com/raaivore/APIexperiment.

I am using Postgres 15 and Java 1.8 and Tomcat9.
Maybe somebody can help me to solve the problem.

Regards
Raivo

Re: Right version of jdbc

From
Raivo Rebane
Date:
But goes worst if I am using
postgis-geometry-2021.1.0.jar

Raivo

On Fri, Sep 29, 2023 at 8:14 AM Raivo Rebane <raivore55@gmail.com> wrote:
It goes better, if I add postgis-geometry-2.5.0.jar and Eclipse founds

import org.postgis.Point;


Raivo


On Fri, Sep 29, 2023 at 7:18 AM Raivo Rebane <raivore55@gmail.com> wrote:
If I use this jar i give errors - Description Resource Path Location Type
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 22 Java Problem
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 46 Java Problem
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 46 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 14 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 35 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 47 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 47 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 83 Java Problem
Point cannot be resolved to a type Utils.java /KatseAPIs/src/main/java/MushroomAPIs line 9 Java Problem
Point cannot be resolved to a type Utils.java /KatseAPIs/src/main/java/MushroomAPIs line 22 Java Problem

Raivo

On Thu, Sep 28, 2023 at 11:06 PM Dave Cramer <davecramer@postgres.rocks> wrote:
The latest version of postgis-jdbc is Maven Repository: net.postgis » postgis-jdbc » 2021.1.0 (mvnrepository.com)
Dave Cramer
www.postgres.rocks


On Thu, 28 Sept 2023 at 14:51, Raivo Rebane <raivore55@gmail.com> wrote:
Hi,

The same problem of postgres-jdbc compatibility remains and I pushed it to github - https://github.com/raaivore/APIexperiment.

I am using Postgres 15 and Java 1.8 and Tomcat9.
Maybe somebody can help me to solve the problem.

Regards
Raivo

Re: Right version of jdbc

From
Dave Cramer
Date:



On Fri, 29 Sept 2023 at 01:23, Raivo Rebane <raivore55@gmail.com> wrote:
But goes worst if I am using
postgis-geometry-2021.1.0.jar

Raivo

On Fri, Sep 29, 2023 at 8:14 AM Raivo Rebane <raivore55@gmail.com> wrote:
It goes better, if I add postgis-geometry-2.5.0.jar and Eclipse founds

import org.postgis.Point;


Raivo


On Fri, Sep 29, 2023 at 7:18 AM Raivo Rebane <raivore55@gmail.com> wrote:
If I use this jar i give errors - Description Resource Path Location Type
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 22 Java Problem
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 46 Java Problem
PGgeometry cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 46 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 14 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 35 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 47 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 47 Java Problem
Point cannot be resolved to a type ProcAddMushrooms.java /KatseAPIs/src/main/java/MushroomAPIs line 83 Java Problem
Point cannot be resolved to a type Utils.java /KatseAPIs/src/main/java/MushroomAPIs line 9 Java Problem
Point cannot be resolved to a type Utils.java /KatseAPIs/src/main/java/MushroomAPIs line 22 Java Problem

Raivo

On Thu, Sep 28, 2023 at 11:06 PM Dave Cramer <davecramer@postgres.rocks> wrote:
The latest version of postgis-jdbc is Maven Repository: net.postgis » postgis-jdbc » 2021.1.0 (mvnrepository.com)
Dave Cramer
www.postgres.rocks


On Thu, 28 Sept 2023 at 14:51, Raivo Rebane <raivore55@gmail.com> wrote:
Hi,

The same problem of postgres-jdbc compatibility remains and I pushed it to github - https://github.com/raaivore/APIexperiment.

I am using Postgres 15 and Java 1.8 and Tomcat9.
Maybe somebody can help me to solve the problem.

Regards
Raivo

Sorry, I just realized I dropped the ball here. Did you ever figure this out ?
Dave