java.sql.SQLException: *** ERROR[2055] The specified value 'OFF' for DEFAULTS attribute ACCEPTABLE_INPUTESTLOGPROP_ERROR is not valid.---*** ERROR[2055] The specified value 'OFF' for DEFAULTS attribute ACCEPTABLE_INPUTESTLOGPROP_ERROR is not valid.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
In Progress
|
Medium
|
Selvaganesan Govindarajan |
Bug Description
Defect Description: When transfer a connection object to the constructor of a Runnable interface, the Sql exception ERROR 2055 will be caught if execute a simple Sql stmt that is created by this connection object.
Test Environment:
sqws139.
Test Steps:
Step 1. Create a user connection object in static main function.
for example:
public class TestMultiThread {
public static void main(String args[]) {
Connection conn = MyConnection.
...
}
}
Step 2. Implement a Runnable interface and Write a constructor with only 1 parameter that is a Connection object.
for example:
class MySingleThread implemnts Runnable {
Connection conn = null;
MySingleThr
this.conn = conn;
}
public void run() {
Statement stmt = this.conn.
}
}
Step 3. Start a thread to do test in static main function.
for example:
Thread t = new Thread(new MySingleThread(
t.start();
t.join();
In the above steps, the line 'stmt.execute("get tables")' will throw a Sql exception as below,
java.sql.
java.sql.
at org.trafodion.
at org.trafodion.
at MySingleThread.
at java.lang.
tags: | added: client-jdbc-t2 |
description: | updated |
affects: | mailman → trafodion |
Changed in trafodion: | |
status: | Incomplete → New |
Changed in trafodion: | |
assignee: | nobody → Weiqing Xu (wei-qing-xu) |
milestone: | none → r2.0 |
Changed in trafodion: | |
status: | New → In Progress |
How is this a Mailman bug?