Good question, I think when you write, you can serialized the object in a file and save the file into database, when you read, you can deserialized the file to object.

uid (㊣Miracle)
Or there you can use XML to describe the object and save the XML in database field, after you read the XML out , you can parse the XML with the object
The defect is you need load the object template after/before you read /write into database

2001-9-18 -04:00

回到话题: Jabber , how can I save a object like hashtable in Java into database for further use ??!! It's urgent . Many thanks in advance .

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT杂谈