for DB2 case when I am doing
Code:
setAutoCommit(false);
When i tried to find the reason it was suggested that to get that working. You need to put the journaling on on DB2 file on which you want this feature to work....
setAutoCommit(false);
String callQuery = "call " + pgmLibraryName + "/procName('" + inpParam + "')";
ResultSet rs = new BidderUtility().execStrSQL(callQuery);
public ResultSet execStrSQL(String s) throws SQLException
{
ResultSet resultset = null;
java.sql.CallableStatement callablestatement
setAutoCommit(false)
rolloverTransaction().
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.
String origAVNListStr = "~`L~`L~`L~`~`~`L~`";
String[] strArr = origAVNListStr.split("~`", -1);
for(int i=0;i<strArr.length;i++)
{
System.out.println(i+1 +"the next token - " + strArr[i]);
}
String theData = "";
String origAVNListStr = "~`L~`L~`L~`~`~`L~`";
String[] strArr = origAVNListStr.split("~`");
for(int i=0;i<strArr.length;i++)
{
System.out.println(i+1 +"the next token - " + strArr[i]);
}
1the next
String origAVNListStr = "~`L~`L~`L~`~`~`L~`";
String[] strArr = origAVNListStr.split("~`");
for(int i=0;i<strArr.length;i++)
{
System.out.println(i+1 +"the next token - " + strArr[i]);
Leave a comment: