summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/util/Serialize.java
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-11-19 22:33:39 +0000
committerBruce Momjian <bruce@momjian.us>2001-11-19 22:33:39 +0000
commitf3148bef9f9bb43447fbc13d3791734211ac59bc (patch)
tree8cc8e564ed6b7cffefd57d41e715870ee54cef5e /src/interfaces/jdbc/org/postgresql/util/Serialize.java
parent8f6f16929a3f2ce41ee988cc023fd550c89cba3b (diff)
downloadpostgresql-f3148bef9f9bb43447fbc13d3791734211ac59bc.tar.gz
JDBC indenting, comment cleanups.
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/util/Serialize.java')
-rw-r--r--src/interfaces/jdbc/org/postgresql/util/Serialize.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/util/Serialize.java b/src/interfaces/jdbc/org/postgresql/util/Serialize.java
index 7b26f06f4f..ff198964c0 100644
--- a/src/interfaces/jdbc/org/postgresql/util/Serialize.java
+++ b/src/interfaces/jdbc/org/postgresql/util/Serialize.java
@@ -7,7 +7,7 @@ import java.net.*;
import java.util.*;
import java.sql.*;
-/**
+/*
* This class uses PostgreSQL's object oriented features to store Java Objects.<p>
*
* It does this by mapping a Java Class name to a table in the database. Each
@@ -119,7 +119,7 @@ public class Serialize
// This is the Class for this serialzed object
protected Class ourClass;
- /**
+ /*
* This creates an instance that can be used to serialize or deserialize
* a Java object from a PostgreSQL table.
*/
@@ -160,7 +160,7 @@ public class Serialize
// Finally cache the fields within the table
}
- /**
+ /*
* Constructor when Object is passed in
*/
public Serialize(org.postgresql.Connection c, Object o) throws SQLException
@@ -168,7 +168,7 @@ public class Serialize
this(c, o.getClass().getName());
}
- /**
+ /*
* Constructor when Class is passed in
*/
public Serialize(org.postgresql.Connection c, Class cls) throws SQLException
@@ -176,7 +176,7 @@ public class Serialize
this(c, cls.getName());
}
- /**
+ /*
* This fetches an object from a table, given it's OID
* @param oid The oid of the object
* @return Object relating to oid
@@ -267,7 +267,7 @@ public class Serialize
}
}
- /**
+ /*
* This stores an object into a table, returning it's OID.<p>
*
* If the object has an int called OID, and it is > 0, then
@@ -406,7 +406,7 @@ public class Serialize
}
}
- /**
+ /*
* Escape literal single quote and backslashes embedded in strings/chars.
* Otherwise, postgres will bomb on the single quote and remove the
* the backslashes.
@@ -451,7 +451,7 @@ public class Serialize
return s;
}
- /**
+ /*
* This method is not used by the driver, but it creates a table, given
* a Serializable Java Object. It should be used before serializing any
* objects.
@@ -464,7 +464,7 @@ public class Serialize
create(con, o.getClass());
}
- /**
+ /*
* This method is not used by the driver, but it creates a table, given
* a Serializable Java Object. It should be used before serializing any
* objects.
@@ -558,7 +558,7 @@ public class Serialize
{"byte", "int2"}
};
- /**
+ /*
* This converts a Java Class name to a org.postgresql table, by replacing . with
* _<p>
*
@@ -593,7 +593,7 @@ public class Serialize
}
- /**
+ /*
* This converts a org.postgresql table to a Java Class name, by replacing _ with
* .<p>
*