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 createstatement method in java?

0 Answers  


How can you load the drivers in jdbc?

1 Answers  


What is a jdbc driver and how many jdbc drivers are available?

0 Answers  


How to find total column from a resultset?

6 Answers   TSYS,


PreparedStatement is a pre compiled statement but where it's pre compiled ?

4 Answers  






Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

0 Answers  


What does the jdbc resultsetmetadata interface?

0 Answers  


Explain in detail about JDBC and its general features?

0 Answers  


Diff. types of triggers..

4 Answers   Logica CMG,


how many JDBC drivers ?name them?

6 Answers   CTS, Idea,


What is the JDBC?

0 Answers  


What are the basic exceptions in jdbc?

0 Answers  


Categories