How can a java objects be stored in database?

Answers were Sorted based on User's Feedback



How can a java objects be stored in database?..

Answer / kalyan

java objects which implements serializable interface can be
stored using setBlob method after storing object to a file

Is This Answer Correct ?    3 Yes 1 No

How can a java objects be stored in database?..

Answer / dinesh

Java object get serilized by Implenting Serilizable
INterface then
Java objects stores through JDBC connection or Datasource
to Database.By using SQL query or HQL using Hibernate.

Is This Answer Correct ?    1 Yes 0 No

How can a java objects be stored in database?..

Answer / rajj

jav objects implements serializable or externalizable
interfaces.
ByteStreams are used to store the objects..
setOjects(), setBlob(),and setClob() methods are used.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JDBC Interview Questions

After creating conntinpool in weblogic how to write the code in programe where i can use that pool object in the programe connecting to the database and how to debug programe withou eclipse

2 Answers   Wipro,


Explain about the drive manager class working?

0 Answers  


How to execute bulk number of queries at once?

3 Answers   Wipro,


How to insert an image or raw data into database?

0 Answers  


What are the flow statements of jdbc?

0 Answers  






What is meant by dao?

0 Answers  


Which is best database for java?

0 Answers  


What is JDBC Batch Processing and what are it’s benefits?

0 Answers  


How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?

0 Answers  


What are different types of ResultSet?

0 Answers  


What are jdbc?

0 Answers  


What is a jdbctemplate?

0 Answers  


Categories