Re: [Geotools-devel] password in postgres problem

2018-04-06 Thread Ben Caradoc-Davies

Julio,

the "user" and "passwd" used for the connection are provided in the Map 
supplied to DataStoreFinder (or directly to PostgisNGDataStoreFactory):

http://docs.geotools.org/stable/userguide/library/jdbc/datastore.html

- What "dbtype" did you supply?
- Are gt-jdbc-postgis and its dependencies on the classpath?
- What is the value for the "user" key in the connection parameter Map?

Kind regards,
Ben.

On 07/04/18 02:30, jmone...@frm.utn.edu.ar wrote:




Hello List,

I'm trying to connect from my Java program to my
Postgresql 9.2.  The Geotools jars I am using
aparently try to connect to postgres using the "Geotools"
user.

The problem is, acoording what i've just read in Postgres
forum, in the case sensitive condition in user name.

(Postgres is expecting "geotools" username, instead of
"Geotools".)

My working platform:

-Windows 10
-Postgresql 9.2
-Java 8
-Geotools 18

I appreciate if you could help me.

Julio.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel



--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] password in postgres problem

2018-04-06 Thread jmonetti



Hello List,

I'm trying to connect from my Java program to my
Postgresql 9.2.  The Geotools jars I am using
aparently try to connect to postgres using the "Geotools"
user.

The problem is, acoording what i've just read in Postgres
forum, in the case sensitive condition in user name.

(Postgres is expecting "geotools" username, instead of
"Geotools".)

My working platform:

-Windows 10
-Postgresql 9.2
-Java 8
-Geotools 18

I appreciate if you could help me.

Julio.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel