Thread: Need some informations...

Need some informations...

From
"sheerin"
Date:
hi,
 
I made a system using Oracle database. Now I'm trying to use PostgreSql. 
 
1. What should I write inside the bracket her - Class.forName(" ?").
 
2. And what should I write here?
 
String databaseName = " ?";
int kode=1;
Database database = new Database(databaseName, kode, "xxxx", "yyyy");

Re: Need some informations...

From
Thomas Pundt
Date:
Hi,

sheerin schrieb:
> I made a system using Oracle database. Now I'm trying to use PostgreSql. 
> 
> 1. What should I write inside the bracket her - Class.forName(" ?").
> 
> 2. And what should I write here?
> 
> String databaseName = " ?";
> int kode=1;
> Database database = new Database(databaseName, kode, "xxxx", "yyyy");

First of all, this mailing list is about pgAdmin, a GUI application for
PostgreSQL administration; I somewhat doubt that your request is about
pgAdmin? There are the pgsql-interfaces and probably pgsql-general
mailing lists which seem much more approriate. Please consider
redirecting your question to there.

Then you have to be much more specfic in your prblem description, if you
want someone being able to help you. From what you write it _seems_ you
are using C++ to connect to a PostgreSQL database? You can find
information about this topic in the fine manual:
http://www.postgresql.org/docs/8.3/interactive/libpq.html

You should at least describe what framework (or libraries) you are
using.

Ciao,
Thomas


Re: Need some informations...

From
"Stefan Keller"
Date:
Try to ask your question on this mailing list:
http://jdbc.postgresql.org/lists.html

-- Stefan

2008/11/30 sheerin <sryf@online.no>:
> hi,
>
> I made a system using Oracle database. Now I'm trying to use PostgreSql.
>
> 1. What should I write inside the bracket her - Class.forName(" ?").
>
> 2. And what should I write here?
>
> String databaseName = " ?";
> int kode=1;
> Database database = new Database(databaseName, kode, "xxxx", "yyyy");