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

What is the difference between ojdbc6 and ojdbc7?

0 Answers  


What is use of connection pooling?

0 Answers  


which scenarios we go for jdbc,and which scenario we go for connection polling and wat r advantages and disadvantages using connection pooling.

2 Answers   TCS,


What is transaction processing in jdbc?

0 Answers  


What is de-normalization?

1 Answers  






What are static and dynamic queries?

1 Answers  


Does jdbctemplate use prepared statements?

0 Answers  


How can you make a connection?

0 Answers  


what is callable statement?

6 Answers   Infogain,


java based application for hospital management

0 Answers  


How many types of resultset are there in jdbc?

0 Answers  


How many locking systems are there in jdbc?

0 Answers  


Categories