i'm trying to serialize a prepared statement and store it in a file as object but the object created by my sql driver is of type 'SQLServerPreparedStatement' and is not serializable so i tried to extend it but it's giving me an error when overriding its constructor saying that the constructor is not visible. any ideas on how to solve this? PS: my main goal is to store prepared statement objects in file and retrieve them later as prepared statements. below is my code:
public class WMPreparedStatements extends SQLServerPreparedStatement
{
WMPreparedStatements(SQLServerConnection arg0, String arg1, int arg2,
int arg3) throws SQLServerException {
super(arg0, arg1, arg2, arg3);
// TODO Auto-generated constructor stub
}
}