pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nuno Zimas <nzimas@gmail.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: John R Pierce <pierce@hogranch.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: user can't access own database after creation
Date: Thu, 3 Dec 2015 10:24:47 +0000
Message-ID: <8C31F005-4503-4EA0-98D5-D76FFC47B6CA@gmail.com> (raw)
In-Reply-To: <CADK3HHJ28Jai6-4xkdjEfoEinPJKbKdPCz3AJ5MODsnmVRYhvw@mail.gmail.com>
References: <25B91293-CCF8-42D9-B4ED-19DF36AA881C@gmail.com>
	<CAKFQuwa8Xaq+cmDBX+AJPK+K=1D5qYXnSNKEzbqpVkh46b6s-w@mail.gmail.com>
	<FF251EE8-DC7B-4EF4-8E99-9B89FDB825C8@gmail.com>
	<CADK3HHKUptgkHwH=fhsFLcKLdoXwXT0QA1ZHQOnvtyp3ZyQa_w@mail.gmail.com>
	<EFA851E5-863F-4D31-84B3-016FAC305BC5@gmail.com>
	<565F4D26.1050501@hogranch.com>
	<CADK3HHJtp_njvi4vdN+3QSuYXhvwqMKTroTvWdWNKBun9UhKyw@mail.gmail.com>
	<DBD6C16E-8834-44D1-8530-1F64F617B7EE@gmail.com>
	<CADK3HH+dwQ5qG5KCnNGZM-5Z+=ocSx9yqS9K_Vxr7CMm=k9h0A@mail.gmail.com>
	<CAA3DDEA-A563-42FA-8452-5F74EB8E49F8@gmail.com>
	<00A2FA5A-3C2A-40CD-9174-EBCC14164B74@gmail.com>
	<CADK3HHKOoW2gAC_bB098+tN2BLcxSiybjM4gpNi00UP9tqHkPg@mail.gmail.com>
	<6B5C6030-ABBE-4283-9195-8E4D3E031261@gmail.com>
	<9C9EB124-5C7C-48B3-BF8D-52B8A7A88F36@gmail.com>
	<CADK3HHJ28Jai6-4xkdjEfoEinPJKbKdPCz3AJ5MODsnmVRYhvw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.

https://github.com/flabser/2next/blob/master/src/com/flabser/dataengine/DatabaseCore.java

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
> 
> Dave Cramer
> 
> davec@postgresintl.com <mailto:davec@postgresintl.com>
> www.postgresintl.com <http://www.postgresintl.com/;
> On 2 December 2015 at 17:15, Nuno Zimas <nzimas@gmail.com <mailto: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 <mailto: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 <mailto:pg@fastcrypt.com>> wrote:
>>> 
>>> log_min_duration
>> 
> 
> 

view thread (53+ messages)  latest in thread

Message-ID: <8C31F005-4503-4EA0-98D5-D76FFC47B6CA@gmail.com>
Permalink:  ../8C31F005-4503-4EA0-98D5-D76FFC47B6CA@gmail.com/
Also on:    postgresql.org/message-id/8C31F005-4503-4EA0-98D5-D76FFC47B6CA@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: nzimas@gmail.com, pg@fastcrypt.com, pierce@hogranch.com
  Subject: Re: user can't access own database after creation
  In-Reply-To: <8C31F005-4503-4EA0-98D5-D76FFC47B6CA@gmail.com>
  References: <25B91293-CCF8-42D9-B4ED-19DF36AA881C@gmail.com> <CAKFQuwa8Xaq+cmDBX+AJPK+K=1D5qYXnSNKEzbqpVkh46b6s-w@mail.gmail.com> <FF251EE8-DC7B-4EF4-8E99-9B89FDB825C8@gmail.com> <CADK3HHKUptgkHwH=fhsFLcKLdoXwXT0QA1ZHQOnvtyp3ZyQa_w@mail.gmail.com> <EFA851E5-863F-4D31-84B3-016FAC305BC5@gmail.com> <565F4D26.1050501@hogranch.com> <CADK3HHJtp_njvi4vdN+3QSuYXhvwqMKTroTvWdWNKBun9UhKyw@mail.gmail.com> <DBD6C16E-8834-44D1-8530-1F64F617B7EE@gmail.com> <CADK3HH+dwQ5qG5KCnNGZM-5Z+=ocSx9yqS9K_Vxr7CMm=k9h0A@mail.gmail.com> <CAA3DDEA-A563-42FA-8452-5F74EB8E49F8@gmail.com> <00A2FA5A-3C2A-40CD-9174-EBCC14164B74@gmail.com> <CADK3HHKOoW2gAC_bB098+tN2BLcxSiybjM4gpNi00UP9tqHkPg@mail.gmail.com> <6B5C6030-ABBE-4283-9195-8E4D3E031261@gmail.com> <9C9EB124-5C7C-48B3-BF8D-52B8A7A88F36@gmail.com> <CADK3HHJ28Jai6-4xkdjEfoEinPJKbKdPCz3AJ5MODsnmVRYhvw@mail.gmail.com> <8C31F005-4503-4EA0-98D5-D76FFC47B6CA@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox