RE: JDBC: Getting started with Serialization
От | SHARMA, Vivek, GNW IT |
---|---|
Тема | RE: JDBC: Getting started with Serialization |
Дата | |
Msg-id | F370715B4543D211B9E00008C7A4A2880200C5C8@lonxpr0212.lon.grnw.com обсуждение исходный текст |
Ответ на | JDBC: Getting started with Serialization ("SHARMA, Vivek, GNW IT" <Vivek.Sharma@greenwichnatwest.com>) |
Список | pgsql-interfaces |
Thank you for your prompt reply. Judging by your email, I think that I have actually tried what you have said -- it is nice to know that I am not completely on the wrong path :-). You asked if I could send you some further details regarding this error: >>> * Trying to use the create(Connection db, Class c) or create(Connection db, >>> Object o) methods I just get a null pointer exception. >> Can you send me some more details on this please. Unfortunately there is not much detail that I can forward to you at this point in time. That was the only exception raised and my source code is at home (this is my work email account) and so I can not forward it to you from here. I think I have already done most of what you suggested. However I do have a few questions. In your example, why is there a variable called sting? Is it there purely as an example or is it meant to signify something? > package mypackage; > public class myclass implements Serializable > { > public long oid; > public String string; >} Also what is the "type" parameter (of Type String) in the Serialize constuctor meant to be for? I have downloaded the source code for postgres to look at the driver code. However I can see no example there for using Serialization. However, I should be able to see how it all works by looking through the source driver. Regards, Viv. ******************************************************************** This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorised to retain, read, copy or disseminate this message or any part of it. ********************************************************************
В списке pgsql-interfaces по дате отправления: