Solved

serializing a prepared statement

Posted on 2001-09-12
4
225 Views
Last Modified: 2006-11-17
Is it possible to serialize a prepared statement in Java to access an Oracle database?
0
Comment
Question by:trussell34
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
Jim Cakalic earned 40 total points
ID: 6477921
AFAIK -- no. The Connection, Statement, PreparedStatement, CallableStatement, and ResultSet interfaces do not themselves implement Serializable. Classes implementing these interfaces, including the Oracle drivers AFAICT, also do not implement Serializable.

What is that you want to do that requires serializing a PreparedStatement?

Jim
0
 
LVL 20

Expert Comment

by:Venabili
ID: 8908882
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Points for jim_cakalic

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venabili
EE Cleanup Volunteer
0
 
LVL 19

Expert Comment

by:Jim Cakalic
ID: 8916633
OK. Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Strange loading of website behaviour 3 32
mockito example issue 8 62
Java Timer (static) 9 36
Java SE 8u111  Lot of stuff broke 11 54
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now