Re: user can't access own database after creation - Mailing list pgsql-jdbc

From Nuno Zimas
Subject Re: user can't access own database after creation
Date
Msg-id 8C31F005-4503-4EA0-98D5-D76FFC47B6CA@gmail.com
Whole thread Raw
In response to Re: user can't access own database after creation  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: user can't access own database after creation
List pgsql-jdbc
Hi Dave,

Since you do know quite a bit about Java, could you please tell me if there’s something fishy in the file where the connection  to postgresql is defined?

Thank you.


Nuno.


On 2 Dec 2015, at 22:17, Dave Cramer <pg@fastcrypt.com> wrote:

Yes, JDBC is still involved. I'd say there is a mistake in the JPA config


On 2 December 2015 at 17:15, Nuno Zimas <nzimas@gmail.com> wrote:
The programmer says that she relies on JPA to establish the connection, but I suppose that JDBC is still involved, otherwise i can’t see how java would talk to postgresql. 
Unless JPA does so directly.
Like I said, Java really isn’t my thing.



On 2 Dec 2015, at 22:05, Nuno Zimas <nzimas@gmail.com> wrote:


Thanks a lot, everyone (and specially Dave Cramer).
Now I know the issue is not JDBC related.
Not sure of this is good news for me, though :)

I’d think that the application needs to be amended.
Still, this does not account for the fact that it works on a local win machine.

As you can see, Dave’s little program connects like a charm,

2015-12-02 17:00:22 EST [2408-1] postgres@postgres LOG:  duration: 16.239 ms  parse <unnamed>: SET extra_float_digits = 3
2015-12-02 17:00:22 EST [2408-2] postgres@postgres LOG:  duration: 0.023 ms  bind <unnamed>: SET extra_float_digits = 3
2015-12-02 17:00:22 EST [2408-3] postgres@postgres LOG:  duration: 0.031 ms  execute <unnamed>: SET extra_float_digits = 3
2015-12-02 17:00:22 EST [2408-4] postgres@postgres LOG:  duration: 0.217 ms  parse <unnamed>: select 1
2015-12-02 17:00:22 EST [2408-5] postgres@postgres LOG:  duration: 0.100 ms  bind <unnamed>: select 1
2015-12-02 17:00:22 EST [2408-6] postgres@postgres LOG:  duration: 0.953 ms  execute <unnamed>: select 1



On 2 Dec 2015, at 21:45, Dave Cramer <pg@fastcrypt.com> wrote:

log_min_duration




pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Migration to Maven
Next
From: Edson Richter
Date:
Subject: Re: user can't access own database after creation