• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JDBC and Maven
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JDBC and Maven


  • Subject: Re: JDBC and Maven
  • From: Theodore Petrosky via Webobjects-dev <email@hidden>
  • Date: Mon, 27 Jan 2025 23:01:29 -0500

This is finally making sense… thank you… so I went to the JDBC.postgresql.com
<http://jdbc.postgresql.com/> site and it gives:

           <dependency>
                <groupId>org.postgresql</groupId>
               <artifactId>postgresql</artifactId>
               <version>42.7.5</version>
           </dependency>

As the maven dependency but you are suggesting:

      <dependency>
           <groupId>wonder.plugins</groupId>
           <artifactId>PostgresqlPlugIn</artifactId>
           <version>7.4</version>
      </dependency>

But it looks like I need both, no?

That straightens out the JDBC jar and the PostgresqlPlugIn

Where do you put stuff like the eomodeld file and the migrations folder and the
model folder.

Is any of this shown on the wiki?

This is finally looking less like voodoo.

How do I access wonder 7.4? I don’t see that when I am creating my app or
framework.

This is a great start. Thanks again.

Ted


> On Jan 27, 2025, at 5:43 PM, Paul Hoadley via Webobjects-dev
> <email@hidden> wrote:
>
> 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

 _______________________________________________
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

  • Follow-Ups:
    • Re: JDBC and Maven
      • From: Paul Hoadley via Webobjects-dev <email@hidden>
References: 
 >JDBC and Maven (From: Theodore Petrosky via Webobjects-dev <email@hidden>)
 >Re: JDBC and Maven (From: Paul Hoadley via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: JDBC and Maven
  • Next by Date: Re: JDBC and Maven
  • Previous by thread: Re: JDBC and Maven
  • Next by thread: Re: JDBC and Maven
  • Index(es):
    • Date
    • Thread