| SQLDB |
DB store objects by storing all public fields:
all primitive types and primitive arrays (java.lang.String,
java.net.URL and java.util.Date are considered as primitive)
all objects and object arrays that are contained inside object (recursive)
Requirements and restrictions:
every object that will be stored in DB must have defined
"public long db_id" field (or must inherit from class that have db_id field)
objects that have encapsulated data - private fields and get/set methods
for retrieving/storing that fields can't be stored correctly!
This is common for JDK classes - that classes can be stored by
manually coding (it's already done for String, Date, URL and Float)
Description of DB structure:
DB has "repository" tables and "object" tables. |