Solved

serializing a prepared statement

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JDeveloper 12c for 32 bit 4 84
even odd program using while loop 3 40
Error in @AspectJ Based AOP with Spring 2 13
eclipse console opening separately 2 16
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…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.

808 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