Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9R7biP88620 for ; Sat, 27 Oct 2001 03:37:53 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f9R7Td959366 for pgsql-sql@postgresql.org; Sat, 27 Oct 2001 03:29:39 -0400 (EDT) (envelope-from news) From: "Johnny Predicto" X-Newsgroups: comp.databases.postgresql.sql Subject: PostgreSQL, Java & JDBC Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2505.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2505.0000 Message-ID: Date: Sat, 27 Oct 2001 09:29:27 +0200 X-Complaints-To: abuse@home.nl Organization: @Home Network To: pgsql-sql@postgresql.org X-Archive-Number: 200110/392 X-Sequence-Number: 5344 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.