PostgreSQL & JDBC newbie question

From: "Johnny Predicto" <nospamherepleaseglos(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: PostgreSQL & JDBC newbie question
Date: 2001-10-25 10:33:15
Message-ID: 1WRB7.97221$fo2.15024912@zwoll1.home.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
these questions may sound a little newbie-like, but i hope that someone can
help me with this.

I have created a new class, lets say classX. Now I want to create a new
object in a postgreSQL database , type: classX. Is it correct that I call
the following command?
((org.postgresql.Connection)mycon).addDataType("classX", "my.class.classX");

Then I want to put a new created instance c ( ClassX c = new ClassX(); ) of
this class in the database. How do I do this? And how do i get it out of the
db again?

Thanx in advance.
Johnny.

Browse pgsql-general by date

  From Date Subject
Next Message Hornyak Laszlo 2001-10-25 10:56:20 pl/java again
Previous Message Trurl McByte 2001-10-25 09:22:00 Re: PgSendMail, PgLinkPoint, PgMCK (CyberCash) joins