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

Is it possible to connect to multiple databases simultaneously?

0 Answers  


How to test jdbc connection to sql server?

0 Answers  


Explain different types of locks in jdbc?

0 Answers  


What is an outer join?

3 Answers   Infogain,


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

0 Answers  






Explain the life cycle of jdbc.

0 Answers  


What is resultsetmetadata?

0 Answers  


Why we use while rs next ())?

0 Answers  


What is the fastest type of JDBC driver?

0 Answers  


What are the types of statements in jdbc?

0 Answers  


How can you make a connection?

0 Answers  


Does sql allow null values ? Can we use it within where clause ?

0 Answers  


Categories