How can a java objects be stored in database?
Answers were Sorted based on User's Feedback
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 |
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 |
How to connect html page to database using jdbc?
Where is ojdbc14 jar located?
Is oracle client required for jdbc connection?
What is @entity in java?
How to check jdbc driver version in websphere?
which scenarios we go for jdbc,and which scenario we go for connection polling and wat r advantages and disadvantages using connection pooling.
Name the method, which is used to prepare a callablestatement.
What are the main steps in java to make JDBC connectivity?
MY code is: public class P1{ public static void main(String ar[]) { class.forName("java.lang.String"); } } errors i got are :New.java:5: error: <identifier> expected class.forName("java.lang.String"); ^ New.java:5: error: invalid method declaration; return type required class.forName("java.lang.String"); ^ New.java:5: error: illegal start of type class.forName("java.lang.String"); ^ New.java:7: error: reached end of file while parsing } ^ 4 errors HELP ME>......
What are types of jdbc drivers?
How to store images in database?
Explain the life cycle of jdbc.