pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
JDBC: What is 'String type' in Serialize()-constructor?
2+ messages / 2 participants
[nested] [flat]

* JDBC: What is 'String type' in Serialize()-constructor?
@ 1999-09-06 10:03  Christoph Steinbeck <steinbeck@ice.mpg.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Christoph Steinbeck @ 1999-09-06 10:03 UTC (permalink / raw)
  To: pgsql-interfaces

Hi, 

the subject says it all. 
I could not find a documentation for the parameters of the constructor
of the class postgres.util.Serialize(Connection c, String type).
Connection c is clear to me but what is 'String type' about?
I looked at Peter T. Mounts documentation which documents every method
in that class with parameter description, except the constructor :-)

Any help appreciated.

Cheers, 

Christoph

--
Dr. Christoph Steinbeck (http://www.ice.mpg.de/~stein)
MPI of Chemical Ecology, Tatzendpromenade 1a, 07745 Jena, Germany
Tel: +49(0)3641 643644 - Mobile: +49(0)177 8236510 - Fax: +49(0)3641
643665

What is man but that lofty spirit - that sense of enterprise. 
... Kirk, "I, Mudd," stardate 4513.3..



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* RE: [INTERFACES] JDBC: What is 'String type' in Serialize()-const ructor?
@ 1999-09-06 11:37  Peter Mount <petermount@it.maidstone.gov.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Mount @ 1999-09-06 11:37 UTC (permalink / raw)
  To: 'steinbeck@ice.mpg.de' <steinbeck@ice.mpg.de>; pgsql-interfaces

It's been a while since I've been in the Seialize class, but the type
field is the postgresql table name that contains the object.

The constructor converts this into a class name, and tries to load the
class. 

Note: It converts table names to class names by switching _ with .
ie, one of my classes would map like this:

	Class				Table
	uk.org.retep.pdf.PDF	uk_org_retep_pdf_pdf

Peter

-- 
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.


-----Original Message-----
From: Christoph Steinbeck [mailto:steinbeck@ice.mpg.de]
Sent: 06 September 1999 11:04
To: pgsql-interfaces@postgreSQL.org
Subject: [INTERFACES] JDBC: What is 'String type' in
Serialize()-constructor?


Hi, 

the subject says it all. 
I could not find a documentation for the parameters of the constructor
of the class postgres.util.Serialize(Connection c, String type).
Connection c is clear to me but what is 'String type' about?
I looked at Peter T. Mounts documentation which documents every method
in that class with parameter description, except the constructor :-)

Any help appreciated.

Cheers, 

Christoph

--
Dr. Christoph Steinbeck (http://www.ice.mpg.de/~stein)
MPI of Chemical Ecology, Tatzendpromenade 1a, 07745 Jena, Germany
Tel: +49(0)3641 643644 - Mobile: +49(0)177 8236510 - Fax: +49(0)3641
643665

What is man but that lofty spirit - that sense of enterprise. 
... Kirk, "I, Mudd," stardate 4513.3..

************



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1999-09-06 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-09-06 10:03 JDBC: What is 'String type' in Serialize()-constructor? Christoph Steinbeck <steinbeck@ice.mpg.de>
1999-09-06 11:37 RE: [INTERFACES] JDBC: What is 'String type' in Serialize()-const ructor? Peter Mount <petermount@it.maidstone.gov.uk>

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