ho to store java objects in oracle database

HI

for me the sceanario is,

i neeed to create , dynamically a table at the time of specified action.

i need to store the values retreieved from session and store it in a database..

for example

User usr=session.getAttribute("usr"); i need to store the user object.

and hashtable and hashmap values without iterating.

please suggest at the earliest

can it be done?

Regards,

Ramesh

[446 byte] By [ramesh2410] at [2007-9-30 21:19:02]
# 1
Is there any specific reason you want to store your User object in DB? Wny not to store each field of it?
citcru at 2007-7-7 2:51:34 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
Did you see serialization?
BIJ001 at 2007-7-7 2:51:34 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3

my requirement is like that,bcos of two different weblogic servers need to acess the central database.which contains user information.

The user object from first server will be stored in database.and the second server will retrieve the user information and it will set for its application.

please suggest me how to store java objects in database.

regards,

Ramesh

ramesh2410 at 2007-7-7 2:51:34 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...