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

If iam using JDBC API, do I also have to use ODBC?

1 Answers  


What is Statement and PreparedStatement? whatz the difference?

2 Answers  


How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method?

0 Answers  


Does jdbc use ssl?

0 Answers  


I have getting problem to calling stored procedure from Mysql through JSP. Please help me.

1 Answers  


What are different parts of a url?

0 Answers  


What is the jdbc rowset?

0 Answers  


What is the feature of jdbc v4?

0 Answers  


How can you know about drivers and database information ?

0 Answers  


please tell me the name and url path for type-4 driver ?

1 Answers  


What are the advantages of collection pools?

0 Answers  


Which is better jpa or jdbc?

0 Answers  


Categories