Обсуждение: JDBC Serialize work

Поиск
Список
Период
Сортировка

JDBC Serialize work

От
Ken Kachnowich
Дата:
I have been doing some work on the Serialize class in the JDBC and
have a couple questions on what is the best way to handle
somethings. If someone else has already fixed this stuff, please
let me know how to get the code.

private & protected variables:Right now I skip them so they are not in the class table.I was considering looking for a
getand set method for the variableand using those, like they do with the Beans. 
 

final variables:I put these in the class table but skip them when fetching the databack into an object. 

array variables:Not real sure what to do here. I thought about creating a variabletable (className_variableName) with
anoid field to link back to theclass table record and make the array field an oid type with the oid of the variableName
table.
 

class variable:Same as for array, I guess.

I can check in my small fixes so far if someone lets me know how to get
access.

Thanks,

Ken