Solved

serializing a prepared statement

Posted on 2001-09-12
4
223 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

758 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

21 Experts available now in Live!

Get 1:1 Help Now