Thread: PostgreSQL, Java & JDBC

PostgreSQL, Java & JDBC

From
"Johnny Predicto"
Date:
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.





Re: PostgreSQL, Java & JDBC

From
"Josh Berkus"
Date:
Johnny,

You need to post yoru question to a different list: PGSQL-JDBC

-Josh

______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco