Re: JDBC and Maven
Re: JDBC and Maven
- Subject: Re: JDBC and Maven
- From: Paul Hoadley via Webobjects-dev <email@hidden>
- Date: Tue, 28 Jan 2025 09:13:14 +1030
- Feedback-id: i671c40f3:Fastmail
Hi Ted,
On 26 Jan 2025, at 06:16, Theodore Petrosky via Webobjects-dev
<email@hidden> wrote:
> Ok so I can create new Maven based apps. I can download the postgres JDBC
> driver or the maven text:
>
> <dependency>
> <groupId>org.postgresql</groupId>
> <artifactId>postgresql</artifactId>
> <version>42.7.5</version>
> </dependency>
>
>
> I tried putting the postgresql-42.7.5.jar in /Libraries but my app still
> does not see the driver.
Did you get this sorted out? As Ramsey noted, no need to put the JAR
anywhere—Maven will handle it all for you. But to use PostgreSQL, you do need
to include the plug-in as a dependency:
<dependency>
<groupId>wonder.plugins</groupId>
<artifactId>PostgresqlPlugIn</artifactId>
<version>7.4</version>
</dependency>
--
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >JDBC and Maven (From: Theodore Petrosky via Webobjects-dev <email@hidden>) |