Does anybody was succesful in using "new Serialize( con , s)" constructor ?
I always have "NullPointerException".
--
MS is not the answer.
MS is the question.
NO (or Linux) is the answer.
:) Jarek (:
OK here is code :
Ziu z = new Ziu();
Class.forName("org.postgresql.Driver");
db = DriverManager.getConnection(url, usr, pwd);
Serialize.create((org.postgresql.Connection) db,z.getClass());
Serialize s = new Serialize((org.postgresql.Connection) db,
Can you explain me class Serialize ?
I have found there ( I think so ) some bugs.
1. When method create recurses down and finds class that have no fields,
then it tries to execute query that looks somehow werid:
"create table java_lang_runtimepermission) "
"create table java_lang_object)"