pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Johnny Predicto <nospamherepleaseglos@gmx.net>
To: pgsql-sql@postgresql.org
Subject: PostgreSQL, Java & JDBC
Date: Sat, 27 Oct 2001 09:29:27 +0200
Message-ID: <OptC7.101341$fo2.16330834@zwoll1.home.nl> (raw)

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.






view thread (2+ messages)  latest in thread

Message-ID: <OptC7.101341$fo2.16330834@zwoll1.home.nl>
Permalink:  ../OptC7.101341$fo2.16330834@zwoll1.home.nl/
Also on:    postgresql.org/message-id/OptC7.101341$fo2.16330834@zwoll1.home.nl

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: nospamherepleaseglos@gmx.net
  Subject: Re: PostgreSQL, Java & JDBC
  In-Reply-To: <OptC7.101341$fo2.16330834@zwoll1.home.nl>

* 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