Pretty printing SQL statements in Java

Hello,
Environment: Oracle 10g (no prepared statements) and WebLogic 10 using WL's connection pooling.
We have dynamically generated SQL in our Java code and currently print the SQL to our (log4j) logger as one long Java String. Does Oracle offer a method call to better format the SQL prior to calling the logger to log the SQL?
Thanks,
Jim

Hi Jim,
Just an idea. Oracle SQLDeveloper has a formatting utillity. Since the IDE is written in Java, there just might be a jar/class that can be used elsewhere.
As said, just an idea. Maybe you can download it and try to investigate yourself.
Best regards
Peter

Similar Messages

  • Convert SQL statements to JAVA Code ?

    Using SQL queries Can I convert SQL statements to JAVA Code ?
    Edited by: user11238895 on Jun 7, 2009 10:54 PM
    Edited by: user11238895 on Jun 7, 2009 11:12 PM

    Me very new to Oracle.
    can we convert SQL Queries to JAVA Code using simple built in SQL queries ?
    Which SWISS SQL Tool does [Converting SQL Queries to JAVA Code]

  • How to isolate the Sql Statement from Java Code

    Hi
    I Need to know that can we segregate the Sql Statements and convert them to Stored Procedures so as to isolate the Sql statements from Java Code.
    So i have one static web page which uses four select Statements so what i want is to create a stored procedure encapsulating these queries. So that the Java Web Developer will simply call the Stored Procedure instead of using four different SQL Statements.
    Suppose the developer has these four Statements
    Select ename,empno,sal,job from emp;
    select empno,ename,mgr from emp;
    select deptno,dname from dept;
    select emp.ename,emp.empno,emp.deptno,dept,dname fromemp,dept;
    So can i encapsulate these four Sql Statements in one Procedure and the Web developer can call the Store procedure and dont need to write the Sql Statements in his code.
    Can Anybody guide me how to write this Stored type of Store procedure.
    Thanks

    http://www.google.com/search?q=java+windows+registry
    Next time, search yourself. It might be beyond your belief, but you're really, really not the first person to wonder about this.

  • Convert a logic from SQL statement to java

    Hi.,
    I m using jdeveloper 11.1.1.5
    I had used one sql statement as gievn below
    (SELECT max(decode(LENGTH(fy_year),4, fy_year + 1,6,SUBSTR(fy_year, 1, 4)+1||SUBSTR(SUBSTR(fy_year, 1, 4) + 2, 3, 2)))YEAR from fin_years)I need to use this logic in java
    Could anyone pls help me

    "wilhelm,"
    I've seen some ridiculous questions in my life. This is one of them.
    There are just so many things wrong here. So, so many.
    SELECT statements get data from databases; they are not "logic."
    Do you really expect us to parse your SQL and try to guess what it is supposed to do?
    Do you really believe that when converting a Forms app to Java that you "convert" SQL statements to Java?
    Do you really believe that going through your forms app and "converting" it to ADF is a sensible approach?
    John

  • Multiple sql statements from java

    I am executing sql statements in MaxDB 7.6.04.12 from java using jdbc.
    I want to execute multiple statements at a time, but it seems that however I separate the statements, I get
    com.sap.dbtech.jdbc.exceptions.DatabaseException: [-3014] (at 433): Invalid end of SQL statement
    I have tried separating the statements with just a semi-colon, with a semi-colon and new line, with newline-//-newline (as works with SQL Studio), but whatever I try I get this error or some other.
    Is it possible to do this? and if so how?
    Thanks
    Chris

    Hi Lars,
    Here are the relevant bits of code.
    However I'm not sure how helpful that will be - I'm using the SpringFramework for my jdbc calls, as it saves a lot of time and effort, and my calls are to Spring methods, which are wrappers round the base jdbc calls.
    I'll post it anyway, just in case you're familiar with Spring. I haven't looked at the Spring code, but my understanding is it pretty much just passes the sql to standard jdbc calls.
    I guess my next step would be to trace through the Spring code as it executes and see if anything becomes apparent. However I'm under some time pressure and was hoping to avoid that.
    My other alternative is to create non-temporary tables, and drop them explicitly when I've finished with them.
        public Set<String> getPriceUpdatedProducts() {
            final Set<String> prods = new TreeSet<String>();
            String sql;
            int updates;
            // need single connection template so subsequent statements can access temp tables:
            JdbcTemplate jtSingle = getSingleConTemplate(jdbcTemplate);
            // inDCs is a list of dist channels for an sql 'in' statement:
            String inDCs = "";
            for (String siteId: siteConfig.getAllSiteIds()) {
                if (!"".equals(inDCs)) inDCs += ",";
                inDCs += "'" + siteConfig.getSiteIdProperty(siteId, "distChanId") + "'";
            // Clear all the changed flags from the last run:
            updates = jtSingle.update("update zchangedartdc set changed = '' ");
            // Get the current data into a temp table:
            sql = "create table temp.pricechanges as " +
                  "select A304.matnr, A304.vtweg, konp.kbetr price " +
                  "  from A304 join konp " +
                  "    on A304.knumh = konp.knumh " +
                  "   and A304.mandt = konp.mandt " +
                  "   and A304.vkorg = '" + salesOrg + "' " +
                  "   and A304.vtweg in (" + inDCs + ")" +
                  "   and A304.kschl = '" + rrpCondType + "' " +
                  "   and A304.mandt = '" + sapClient + "' " +
                  "   and konp.kschl = '" + listCondType + "' " +
                  "   and char(date, internal) >= chr(A304.datab) " +
                  "   and char(date, internal) <= chr(A304.datbi) " +
                  "   and A304.kappl = 'V' ";
            jtSingle.execute(sql);
            // Get the changes into a second temp table:
            sql = "create table temp.changedarts as " +
                  "select temp.pricechanges.* " +
                  "  from temp.pricechanges, zchangedartdc " +
                  " where zchangedartdc.matnr = temp.pricechanges.matnr " +
                  "   and zchangedartdc.vtweg = temp.pricechanges.vtweg " +
                  "   and zchangedartdc.price != temp.pricechanges.price ";
            jtSingle.execute(sql);
            // save the changes, and flag them:
            sql = "update zchangedartdc " +
                  "   set (price, changed) = (select price, 'X'  " +
                  "                             from temp.changedarts " +
                  "                            where zchangedartdc.matnr = temp.changedarts.matnr " +
                  "                              and zchangedartdc.vtweg = temp.changedarts.vtweg) " +
                  " where matnr||vtweg in (select matnr||vtweg from temp.changedarts) ";
            updates = jtSingle.update(sql);
            // add the new items that weren't there last time, and flag them:
            sql = "insert into zchangedartdc " +
                  "select '" + sapClient + "', matnr, vtweg, 'X', price " +
                  "  from temp.pricechanges " +
                  " where matnr||vtweg not in (select matnr||vtweg from zchangedartdc) ";
            updates = jtSingle.update(sql);
            // now we've got all the changes flagged, we can get the list of changed products:
            jtSingle.query("select distinct matnr from zchangedartdc " +
                           " where changed = 'X' ",
                           new RowCallbackHandler() {
                               public void processRow(ResultSet rs) throws SQLException {
                                   prods.add(rs.getString("matnr"));
            // release the connection:
            destroySingleConnection(jtSingle);
            return prods;
         * Return a JdbcTemplate which will always use the same connection. Parameter jt is just
         * a convenient way to get a DataSource from which to get a Connection.
         * When the calling prodedure has finished, it MUST call
         * destroySingleConnection(jt)
         * @param jt
         * @return
        private JdbcTemplate getSingleConTemplate(JdbcTemplate jt) {
            Connection con;
            try {
                con = jt.getDataSource().getConnection();
                con.setAutoCommit(true);
            } catch (SQLException e) {
                throw new DataAccessResourceFailureException("Failed to get Connection for SingleConnectionDataSource", e);
            SingleConnectionDataSource singleDs = new SingleConnectionDataSource(con, true);
            return new JdbcTemplate(singleDs);
        private void destroySingleConnection(JdbcTemplate singleConJt) {
            try{
                ((SingleConnectionDataSource)singleConJt.getDataSource()).destroy();
            } catch (SQLException e) {
                throw new DataAccessResourceFailureException("Failed to destroy SingleConnectionDataSource", e);

  • Help with sql statements and Java

    Hi,
    How can I create a string kind of like this
    Select * From Students Where Name Like "Bob Burns";
    As the sql statement might indicate I am using MS Access. I seem to be having problems with the double quotes required by the Like operator in MS Access, Java views that as a beginning of a string as oppposed to an actual string value.

    Like this:
        Connection connection = null;
        PreparedStatement stmt = null;
        ResultSet res = null;
        try  {
            connection = ...get from connection pool...;
            String sql = "select ... from ... where name like ?";
            stmt = connection.prepareStatement(sql);
            stmt.setObject(1, "%Bob%", java.sql.Types.VARCHAR);
            res = stmt.executeQuery();
            while (res.next()) { ...the usual...; }
        } finally {
            ...close res, stmt & return connection to pool...
        }You can try stmt.setString() instead of setObject() but rumor has it that some mssql drivers have a bug that makes setString() not work with "like", but oddly enough setObject() works.

  • Print SQL Statement

    Post Author: Fedor
    CA Forum: Data Connectivity and SQL
    Somebody knows, how can I print the currently SQL statement?

    Post Author: V361
    CA Forum: Data Connectivity and SQL
    Go to database, Show SQL Query, highlight the query, RIght Click and select copy, then you can paste that into word, or excel, or text file.  An example is pasted below.
    SELECT `Customer`.`Region`, `Customer`.`City`, `Customer`.`Address2`, `Customer`.`Address1`, `Customer`.`Customer Name`, `Customer`.`Postal Code`, `Customer`.`Country` FROM   `Customer` `Customer`

  • Writting a SQL statement with Java

    Hello,
    I would like to perform an interrogation of my database but I have some trouble... here is the code I use (with MySQL) :
    String requete = "SELECT * FROM produit WHERE NomChimique ='butanol'";
    rs = stmt.executeQuery (requete); With this requete I find the record I have in my db. But with the following string the record is not found String requete = "SELECT * FROM produit WHERE NomChimique ='(+)-2-BUTANOL'";What I have not understand ?
    Thank you for your help,
    Jean-Marie

    I perform a first SELECT statement without WHERE,
    then I copy and past the value of the two exemples I
    give, the first succed, the second not...
    I am a little bit disappointed
    Jean-Marieyou should only be disappointed in yourself. this is NOT a Java problem. this is a Jean-Marie problem.
    one of the following is true...
    - the record does not exist
    - you are fouling up the result set handling and not noticing the record
    - something is going wrong with your query parsing
    So...
    make sure it exists.
    make sure you are connecting to the database you think you are.
    check over your result set code
    use preparedstatements
    ff all those fail then post your code (USING THE CODE TAGS) and someone will be delighted to help.

  • Buffer size for SQL statement using JDBC calls

    I need to find out the buffer size for SQL statements in jave/JDBC because I need to insert or update a field that could be up to 4KB in size.

    I'm not sure that I follow the question; I'm not sure which buffer size you're referring to.
    If you have a field that can store up to 4k worth of data, you would create a VARCHAR2(4000) column in the Oracle database (assuming it is character data) or a BLOB column (if the data is binary). Either of those two fields can be populated from JDBC.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • SQL statements in XML File

    Folks
    I need to separate SQL statements from Java Code, How do i put these SQL Statements in an XML file and how to access these SQL statements from a Java code,
    Any help with sample code is greatful,

    The use of entities as kstc_jyu may help. It really depends on how you design the XML vocabulary based on the expected usage (e.g., if the SQL statements change very often).
    Back to the original question, I am right to interpret "how to use SQL statements in XML ?" as how to design an XML vocabulary to store SQL statements?
    If not, you can simply use the scheme proposed by DrClap. Reading and extracting the SQL statement would be just as you would with any other XML document. Google for a Java XML tutorial.

  • SQL Statements in XML

    Folks
    I need to separate SQL statements from Java Code, How do i put these SQL Statements in an XML file and how to access these SQL statements from a Java code,
    Any help with sample code is greatful,
    thanks
    mathew

    I looked it and they support only Perl now, Infact i saw some questions posted in some forums about having SQL statements in XML, but i am not able to get that information,Let me know if you can get any information,
    thanks
    KM

  • Populating JTable table from sql statement.

    Trying to teach myself a combanation of things. Since Oracle is my background java to oracle is only a natural. Now this code I'm trying to select some rows and then display those rows in a table. Simple concept as a teaching aid to me. I won't go into what I went through to get this far, just say there have been quite a few fall starts. Now this code works; however it returns ten rows (one for each tablespace) and displays row 1 ten times. Not quite what I had in mind.
    I have got a simple select statment in my code:
    select tablespace_name,initial_extent,next_extent,pct_increase, status
    from dba_tablespaces order by tablespace_name
    package TableTest;
    // java imports
    import java.util.Vector;
    import java.awt.event.*;
    import java.awt.Toolkit;
    import java.awt.*;
    import javax.swing.*;
    // sql imports
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.sql.PreparedStatement;
    import java.sql.Connection;
    import java.sql.DriverManager;
    public class TableTest extends JFrame
      Connection conn;  // database connection object
      Statement stmt;   // statement object
      ResultSet rslt;   // result set object
      //private vars
      private String userName         = "bubbalouie";
      private String password         = "helpmeimsinking";
      private String sid              = "rob";
      private String port             = "1521";
      private String server           = "w2sd001";
      private String connectString    = "jdbc:oracle:thin:@"+server+":"+port+":"+sid;
      private int numCols             = 5;
      private String sqlStmt          = null;
      private String status           = null;
      public TableTest()
        // Get content pane
        Container contentPane = getContentPane();
        // set layout manager
        contentPane.setLayout(new BorderLayout());
        // create some places to put dat
        Vector data    = new Vector();
        Vector columns = new Vector();
        Vector colHeads = new Vector();
        colHeads.addElement("tablespace name");  // this is ugly fix later
        colHeads.addElement("initial extent");
        colHeads.addElement("next extent");
        colHeads.addElement("pct increase");
        colHeads.addElement("status");
        // construct a simple sql statement
        sqlStmt = "select  tablespace_name, initial_extent, next_extent, pct_increase, status";
        sqlStmt = sqlStmt+" from dba_tablespaces order by tablespace_name";
        try
          // connect to database
          DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
          Connection conn = DriverManager.getConnection(connectString, userName, password);
          // select data into object
          stmt = conn.createStatement();
          rslt = stmt.executeQuery(sqlStmt);
          while (rslt.next())
            for ( int i=0; i<numCols; i++ )
              columns.addElement(rslt.getObject(i+1));  // get the i+1 object
            }  // end for
            data.addElement(columns);
          }    // end while
          // create the table
          JTable table = new JTable(data,colHeads);
          // add table to scroll pane
          int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
          int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
          JScrollPane jsp = new JScrollPane(table,v,h);
          // Add scroll pane to content pane
          contentPane.add(jsp, BorderLayout.CENTER);
        } catch (SQLException ex)
          String msg = "SQL error: "+ex.toString();
        } catch (Exception ex)
          String msg = "Error: "+ex.toString();
      }                                     // end constructor
      public static void main(String[] args) {
          TableTest frame = new TableTest();
          frame.setSize(500, 400);
          frame.setTitle("TableTest");
          frame.setVisible(true);
    }  // TableTest end class

    if you are interested here is a generic table model for displaying ResultSets in a JTable. The resultset needs to support calling resultset meta data and the basic methods in there but then it should support anything you give it.
    import java.sql.*;
    import java.util.*;
    import javax.swing.table.*;
    public class ResultSetTableModel extends AbstractTableModel{
      Vector rows;          
      int[] types;          
      String[] names;     
      public ResultSetTableModel(ResultSet rs)throws SQLException{
        ResultSetMetaData rsmd = rs.getMetaData();          
        types = new int[rsmd.getColumnCount()];          
        names = new String[rsmd.getColumnCount()];          
        for(int n=0;i<types.length;n++){               
          types[n] = rsmd.getColumnType(n+1);
          names[n] = rsmd.getColumnName(n+1);     
        rows = new Vector();
        while(rs.next()){
          Vector aRow = new Vector();
          for(int j=0;j<types.length;j++){
               switch(types[j]){
              case Types.TINYINT:
                aRow.addElement(new Byte(rs.getByte(j+1)));
                break;
              case Types.SMALLINT:
                aRow.addElement(new Short(rs.getShort(j+1)));
                break;
                 case Types.INTEGER:
                   aRow.addElement(new Integer(rs.getInt(j+1)));
                   break;
                 case Types.BIGINT:
                   aRow.addElement(new Long(rs.getLong(j+1)));
                   break;
                 case Types.REAL:
                   aRow.addElement(new Float(rs.getFloat(j+1)));
                   break;
                 case Types.FLOAT:
                   aRow.addElement(new Double(rs.getDouble(j+1)));
                   break;
                 case Types.DOUBLE:
                   aRow.addElement(new Double(rs.getDouble(j+1)));
                   break; 
                 case Types.DECIMAL:
                   aRow.addElement(rs.getBigDecimal(j+1));
                   break;
                 case Types.NUMERIC:
                   aRow.addElement(new Long(rs.getLong(j+1)));
                   break;
                 case Types.BIT:
                   aRow.addElement(new Boolean(rs.getBoolean(j+1)));
                   break;
                 case Types.BINARY:
                   aRow.addElement(rs.getBytes(j+1));
                   break;
                 case Types.DATE:
                   aRow.addElement(rs.getDate(j+1));
                   break;
                 case Types.TIME:
                   aRow.addElement(rs.getTime(j+1));
                   break;
                 case Types.TIMESTAMP:
                   aRow.addElement(rs.getTimestamp(j+1));
                   break;           
                 default:
                   aRow.addElement(rs.getString(j+1));
          rows.addElement(aRow);           
      public Class getColumnClass(int column){
        switch(types[column]){
          case Types.BIT:
            return Boolean.class;
          case Types.DATE:
            return java.sql.Date.class;
          case Types.TIME:
            return java.sql.Time.class;
          case Types.TIMESTAMP:
            return java.sql.Timestamp.class;
          default:
            return Object.class;     
      public int getRowCount(){
        return rows.size();     
      public int getColumnCount(){
        return types.length;     
      public Object getValueAt(int row, int column){
        Vector aRow = (Vector) rows.elementAt(row);
        return aRow.elementAt(column);
      public String getColumnName(int column){
        return names[column];
    }

  • Really no way to pretty print XML???

    I wonder if there is really no way to pretty print a DOM, using Java's standard API (http://java.sun.com/j2se/1.4.2/docs/api/index.html).
    What I've tried is (assume having a org.w3c.dom.Document instance doc:
    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer transformer = tf.newTransformer();
    transformer.setOutputProperty(OutputKeys.METHOD, "xml");
    transformer.setOutputProperty("encoding", encoding);
    transformer.setOutputProperty(OutputKeys.INDENT,"yes");
    transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "3" );
    DOMSource source = new DOMSource(doc);
    FileOutputStream os = new FileOutputStream(file);
    StreamResult result = new StreamResult(os);
    transformer.transform(source,result);which gives, e.g. something like
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <documentData>
    <Asset assetID="229609"/>
       <Picturedescription>
    <Asset assetID="229609"/>
    </Picturedescription>
    </documentData>which is not even proper indent. I can't believe that there is no way in pretty prenting an XML document, using Java's Standard API....
    Does anybody know more about it?
    Urs

    Have you tried this:
    StringWriter sw = new StringWriter();
    org.apache.xml.serialize.OutputFormat outFormat = new org.apache.xml.
    serialize.OutputFormat();
    outFormat.setIndenting(true);
    outFormat.setIndent(4);
    org.apache.xml.serialize.XMLSerializer xmlser = new org.apache.xml.serialize.XMLSerializer(sw, outFormat);
    try {
    xmlser.serialize(your_document); //replace your_document with reference to document you want to serialize
    catch (Exception ex1) {
    }

  • DIsabling printing of the sql statement in command prompt

    Hi.
    I am connecting to an access database with my java application. Problem is, it prints the connection and the sql statement there. Is there any way to disable it?
    Example of what is seen at my command prompt:
    connection is dbc:odbc:Inventory System
    DB: SELECT * FROM Products WHERE ProductID = 1;

    Ah i see where my mistake is now...Gracefully put. Many of the regulars here and in other forums get a little frustrated, either seeing the same basic problems over and over (it's as if Google doesn't work in vast parts of the world) or or the occaisional person who really isn't willing to work or willing to learn - they want "the answer". Sometimes after a bad run of that we get a little sensitive and snarky. Don't feel bad, there's a mountain to learn with JDBC and, personally, I think everyone is entitled to one brain f*rt a week (<snark> although this may count as one-and-a-half </snark>). Good luck.

  • OIM 9.1 : SQL Error while executing SQL DELETE Statement inside Java Adapter

    I'm running this DELETE script into an adapter with the following code :
    This code is deleting some tasks instances inside a process instance for a user resource.
    public boolean clearTaskInstances(String user_key, String process_name, String task_name) throws OIMException {
      $logger.debug("Utils.clearTaskInstances() : Inside deleting task instances debug 1");
      tcDataProvider provider = getOIMConnection().getDataBase();
      $logger.debug("Utils.clearTaskInstances() : Inside deleting task instances debug 2");
    String query = "DELETE FROM OSI WHERE OSI.MIL_KEY=" +
      "(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=" +
      "(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME=" +
      "'" + process_name + "') AND MIL.MIL_NAME='" + task_name + "'" +
      "AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='" + user_key +"'))";
      $logger.debug("Utils/clearTaskInstance : Delete Query = " + query);
      PreparedStatementUtil preparedStatement = new PreparedStatementUtil();
       preparedStatement.setStatement(provider, query);
       try {
       preparedStatement.executeUpdate();
      $logger.debug("Utils/clearTaskInstance : Delete Query executed");
      return true;
      } catch (Exception e) {
      $logger.error("Utils/clearTaskInstance : Error while executing Delete Query : " + e);
      return false;
    , but this generate 18M of SQL error logs !!
    The same SQL request in SQL Dev works fine, the same code with OIM 11gR2 works fine too, the problem seems to be only with OIM 9.1.
    The first lines in the logs are :
    DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],connection object created
    DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],Utils.clearTaskInstances() : Inside deleting task instances debug 2
    DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Delete Query = DELETE FROM OSI WHERE OSI.MIL_KEY=(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME='SMC Prov Process') AND MIL.MIL_NAME='Reconciliation Update Received'AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='78'))
    ERROR,12 Jul 2013 09:03:46,641,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Error while executing Delete Query : com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
    ERROR,12 Jul 2013 09:03:47,047,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getMilestoneInfo Error : ScheduleItem has  No Milestone.
    ERROR,12 Jul 2013 09:03:47,050,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
      at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 09:03:47,051,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-00936: missing expression
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
      at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 09:03:47,052,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkApprovalProcess encounter some problems: Data Access Error
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Data AccessException:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key = Description: ORA-00936: missing expression
    SQL State: 42000Vendor Code: 936Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
      at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Source SQL Exception:
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
      at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 09:03:47,054,[XELLERATE.DATABASE],Error: Error Keyword: DAE.UNKNOWN_CODE
    Description: An unknown error code was passed.
    Remedy: Contact your system adminstrator.
    Action: E
    Severity: C
    Help URL:
    Detail:
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Data AccessException:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key = Description: ORA-00936: missing expression
    SQL State: 42000Vendor Code: 936Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
      at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)

    Thanks for your quick reply, but I'm still getting the same issue after modifying the code to include the space before the AND, here is the generated log files with SQL debug turned on.
    I have already tried with a hard simple delete sql request such as DELETE FROM osi WHERE osi.mil_key = '1440' AND orc_key ='228182' and get same issue !
    Thanks for your help !:
    DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],Utils.clearTaskInstances() : Inside deleting task instances debug 1
    DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],enter getConnection with OIM TRUST AUTH
    DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],initConnection
    DEBUG,12 Jul 2013 10:18:32,169,[XELLERATE.CUSTOM],initConnection1 xlHomeDir=/appl/oim/product/9.1.0.2/xellerate
    DEBUG,12 Jul 2013 10:18:32,170,[XELLERATE.CUSTOM],initConnection done.
    DEBUG,12 Jul 2013 10:18:32,170,[XELLERATE.CUSTOM],Properties env done={java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory, java.naming.provider.url=t3://mrs-dx-00003.cma-cgm.com:7001}
    DEBUG,12 Jul 2013 10:18:32,173,[XELLERATE.CUSTOM],moSignature done.
    DEBUG,12 Jul 2013 10:18:32,210,[XELLERATE.CUSTOM],LoginSession UserName=xelsysadm
    DEBUG,12 Jul 2013 10:18:32,210,[XELLERATE.CUSTOM],LoginContext Subject=Subject:
      Principal: xelsysadm
      Principal: User
      Private Credential: weblogic.security.auth.login.PasswordCredential@10425ea
      Private Credential: weblogic.security.auth.login.PasswordCredential@1555e96
    <Jul 12, 2013 10:18:32 AM UTC> <Notice> <LoggingService> <BEA-320400> <The log file /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Jul 12, 2013 10:18:32 AM UTC> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log65630. Log messages will continue to be logged in /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log.>
    DEBUG,12 Jul 2013 10:18:32,227,[XELLERATE.CUSTOM],end init for ServiceAccountConnection
    DEBUG,12 Jul 2013 10:18:32,227,[XELLERATE.CUSTOM],connection object created
    DEBUG,12 Jul 2013 10:18:32,227,[XELLERATE.CUSTOM],Utils.clearTaskInstances() : Inside deleting task instances debug 2
    DEBUG,12 Jul 2013 10:18:32,228,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Delete Query = DELETE FROM OSI WHERE OSI.MIL_KEY=(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME='SMC Prov Process') AND MIL.MIL_NAME='Reconciliation Update Received' AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='78'))
    DEBUG,12 Jul 2013 10:18:32,247,[XELLERATE.DATABASE],DELETE FROM OSI WHERE OSI.MIL_KEY=(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME='SMC Prov Process') AND MIL.MIL_NAME='Reconciliation Update Received' AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='78'))
    INFO,12 Jul 2013 10:18:47,146,[XELLERATE.DATABASE],DB Cache read: select osi_retry_on from osi where 1=2
    <Jul 12, 2013 10:18:47 AM UTC> <Notice> <LoggingService> <BEA-320400> <The log file /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Jul 12, 2013 10:18:47 AM UTC> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log65631. Log messages will continue to be logged in /appl/oim/user_projects/domains/OIM_INT/servers/AdminServer/logs/AdminServer.log.>
    INFO,12 Jul 2013 10:18:47,173,[XELLERATE.DATABASE],DB read: select osi.sch_key, osi.mil_key, osi.orc_key, osi.osi_rowver, sch.sch_rowver,  osi.osi_retry_for, osi.osi_retry_on, osi.osi_retry_counter, sch.sch_note  from osi osi,sch sch where osi.osi_retry_on <=TO_DATE('2013-07-12 10:18:47', 'YYYY-MM-DD HH24:MI:SS') and osi.sch_key = sch.sch_key and sch.sch_status='R' and osi_retry_counter>0 order by osi.sch_key
    DEBUG,12 Jul 2013 10:18:47,186,[XELLERATE.DATABASE],select osi.sch_key, osi.mil_key, osi.orc_key, osi.osi_rowver, sch.sch_rowver,  osi.osi_retry_for, osi.osi_retry_on, osi.osi_retry_counter, sch.sch_note  from osi osi,sch sch where osi.osi_retry_on <=TO_DATE('2013-07-12 10:18:47', 'YYYY-MM-DD HH24:MI:SS') and osi.sch_key = sch.sch_key and sch.sch_status='R' and osi_retry_counter>0 order by osi.sch_key
    INFO,12 Jul 2013 10:19:00,240,[XELLERATE.DATABASE],DB Cache read: select osi_retry_for, osi_retry_counter from osi where 1=2
    INFO,12 Jul 2013 10:19:00,249,[XELLERATE.DATABASE],DB read: select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404290
    DEBUG,12 Jul 2013 10:19:00,253,[XELLERATE.DATABASE],select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404290
    INFO,12 Jul 2013 10:19:00,270,[XELLERATE.DATABASE],DB read: select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404297
    DEBUG,12 Jul 2013 10:19:00,272,[XELLERATE.DATABASE],select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=1404297
    ERROR,12 Jul 2013 10:19:10,967,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Error while executing Delete Query : com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
    INFO,12 Jul 2013 10:19:10,968,[XELLERATE.DATABASE],DB read: select mav.spd_key,mav.mav_map_child_table_name, mav.mav_map_to, mav.mav_map_qualifier, mav.mav_map_value, mav.mav_field_length from mav mav, mil mil, adv adv where mav.mil_key = mil.mil_key and mil.mil_key = 5673 and mav.adv_key = adv.adv_key and adv.adv_name = 'Adapter return value' and adv.adp_key = 1021
    DEBUG,12 Jul 2013 10:19:10,968,[XELLERATE.DATABASE],select mav.spd_key,mav.mav_map_child_table_name, mav.mav_map_to, mav.mav_map_qualifier, mav.mav_map_value, mav.mav_field_length from mav mav, mil mil, adv adv where mav.mil_key = mil.mil_key and mil.mil_key = 5673 and mav.adv_key = adv.adv_key and adv.adv_name = 'Adapter return value' and adv.adp_key = 1021
    INFO,12 Jul 2013 10:19:10,973,[XELLERATE.DATABASE],DB read: select * from sch where sch_key=3934435
    DEBUG,12 Jul 2013 10:19:10,973,[XELLERATE.DATABASE],select * from sch where sch_key=3934435
    INFO,12 Jul 2013 10:19:10,984,[XELLERATE.DATABASE],DB read: select count(*) as RecordExists from osi where sch_key=3934435
    DEBUG,12 Jul 2013 10:19:10,984,[XELLERATE.DATABASE],select count(*) as RecordExists from osi where sch_key=3934435
    INFO,12 Jul 2013 10:19:10,990,[XELLERATE.DATABASE],DB read: select * from osi where sch_key=3934435
    DEBUG,12 Jul 2013 10:19:10,990,[XELLERATE.DATABASE],select * from osi where sch_key=3934435
    INFO,12 Jul 2013 10:19:11,012,[XELLERATE.DATABASE],DB read: select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=5673
    DEBUG,12 Jul 2013 10:19:11,012,[XELLERATE.DATABASE],select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=5673
    INFO,12 Jul 2013 10:19:11,015,[XELLERATE.DATABASE],DB read: select rsc.rsc_key, sta.sta_status, sta.sta_bucket from rsc rsc, sta sta where sta.sta_key=rsc.sta_key and rsc.rsc_data='false' and rsc.mil_key=5673
    DEBUG,12 Jul 2013 10:19:11,015,[XELLERATE.DATABASE],select rsc.rsc_key, sta.sta_status, sta.sta_bucket from rsc rsc, sta sta where sta.sta_key=rsc.sta_key and rsc.rsc_data='false' and rsc.mil_key=5673
    DEBUG,12 Jul 2013 10:19:11,069,[XELLERATE.DATABASE],select rgm.mil_key, mil_sequence from rgm rgm, mil mil where rsc_key=? and rgm.mil_key=mil.mil_key order by mil_sequence
    INFO,12 Jul 2013 10:19:11,078,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,078,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    INFO,12 Jul 2013 10:19:11,082,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,082,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,086,[XELLERATE.DATABASE],update sch set SCH_STATUS=?, SCH_DATA=?, SCH_ACTUAL_END=?, SCH_UPDATE=?, sch_rowver=? where sch_key=3934435 and sch_rowver=HEXTORAW('0000000000000000')
    INFO,12 Jul 2013 10:19:11,104,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,104,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    INFO,12 Jul 2013 10:19:11,107,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,107,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,110,[XELLERATE.DATABASE],update osi set RSC_KEY=?, OSI_UPDATE=?, OSI_CHILD_OLD_VALUE=?, osi_rowver=? where sch_key=3934435 and osi_rowver=HEXTORAW('0000000000000000')
    INFO,12 Jul 2013 10:19:11,122,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,123,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    INFO,12 Jul 2013 10:19:11,126,[XELLERATE.DATABASE],DB read: select rvm_recovery_mil_key, mil_sequence from rvm rvm, mil mil where rvm.mil_key=5673 and mil.mil_key=rvm.rvm_recovery_mil_key and rvm_recovery_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
    DEBUG,12 Jul 2013 10:19:11,126,[XELLERATE.DATABASE],select rvm_recovery_mil_key, mil_sequence from rvm rvm, mil mil where rvm.mil_key=5673 and mil.mil_key=rvm.rvm_recovery_mil_key and rvm_recovery_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
    DEBUG,12 Jul 2013 10:19:11,132,[XELLERATE.DATABASE],select mil_name from mil  where mil_key=?
    DEBUG,12 Jul 2013 10:19:11,134,[XELLERATE.DATABASE],select s1.sch_key, s1.sch_rowver, o.osi_rowver, sta_bucket from osi o, sch s1, dep d, sta s where s.sta_status = s1.sch_status and o.sch_key = s1.sch_key and o.mil_key = d.mil_key and d.dep_key=? and o.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,137,[XELLERATE.DATABASE],select orc.orc_target, orc.orc_parent_key, pkg.pkg_name from orc orc left outer join orc parorc on parorc.orc_key=orc.orc_parent_key  and orc.orc_key=? left outer join pkg pkg on parorc.pkg_key=pkg.pkg_key where orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,139,[XELLERATE.DATABASE],select pkg_name from tos, pkg, orc where tos.pkg_key=pkg.pkg_key and tos.tos_key=orc.tos_key and orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,141,[XELLERATE.DATABASE],select oiu.oiu_key,oiu_rowver,oiu.ost_key, oiu.usr_key, usr.usr_status from oiu oiu, usr usr where oiu.usr_key=usr.usr_key and oiu.orc_key=?
    INFO,12 Jul 2013 10:19:11,143,[XELLERATE.DATABASE],DB read: select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=5673 and mst.sta_key=sta.sta_key and sta.sta_status='R' and mst.ost_key=ost.ost_key
    DEBUG,12 Jul 2013 10:19:11,143,[XELLERATE.DATABASE],select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=5673 and mst.sta_key=sta.sta_key and sta.sta_status='R' and mst.ost_key=ost.ost_key
    INFO,12 Jul 2013 10:19:11,149,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,150,[XELLERATE.DATABASE],select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,155,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?)  group by sta.sta_bucket
    DEBUG,12 Jul 2013 10:19:11,159,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
    DEBUG,12 Jul 2013 10:19:11,164,[XELLERATE.DATABASE],select sta_bucket from orc orc, sta sta where orc.orc_key=? and orc.orc_status = sta.sta_status
    INFO,12 Jul 2013 10:19:11,166,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcORC' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,166,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcORC' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,169,[XELLERATE.DATABASE],update orc set ORC_STATUS=?, ORC_UPDATE=?, orc_rowver=? where orc_key=170417 and orc_rowver=HEXTORAW('0000000000000007')
    DEBUG,12 Jul 2013 10:19:11,171,[XELLERATE.DATABASE],select orc_rowver from orc orc where orc_key=?
    INFO,12 Jul 2013 10:19:11,174,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=867
    DEBUG,12 Jul 2013 10:19:11,174,[XELLERATE.DATABASE],select * from orc where orc_key=867
    DEBUG,12 Jul 2013 10:19:11,178,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?)  group by sta.sta_bucket
    DEBUG,12 Jul 2013 10:19:11,181,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
    INFO,12 Jul 2013 10:19:11,183,[XELLERATE.DATABASE],DB read: select orc.orc_key, orc.orc_rowver from orc orc, sta sta, pkd pkd where orc.orc_parent_key =867 and orc.orc_status = sta.sta_status and sta.sta_bucket!='Rejected' and orc.pkh_key=pkd.pkh_key and pkd.pkd_predecessor_pkh_key=0 order by orc.orc_key
    DEBUG,12 Jul 2013 10:19:11,183,[XELLERATE.DATABASE],select orc.orc_key, orc.orc_rowver from orc orc, sta sta, pkd pkd where orc.orc_parent_key =867 and orc.orc_status = sta.sta_status and sta.sta_bucket!='Rejected' and orc.pkh_key=pkd.pkh_key and pkd.pkd_predecessor_pkh_key=0 order by orc.orc_key
    INFO,12 Jul 2013 10:19:11,186,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcORC' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,186,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcORC' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    INFO,12 Jul 2013 10:19:11,188,[XELLERATE.DATABASE],DB read: select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,188,[XELLERATE.DATABASE],select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,190,[XELLERATE.DATABASE],select obi_key from oiu where orc_key = ?
    INFO,12 Jul 2013 10:19:11,193,[XELLERATE.DATABASE],DB read: select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    DEBUG,12 Jul 2013 10:19:11,193,[XELLERATE.DATABASE],select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    INFO,12 Jul 2013 10:19:11,195,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,195,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,197,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
    INFO,12 Jul 2013 10:19:11,199,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,199,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,202,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
    DEBUG,12 Jul 2013 10:19:11,204,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
    INFO,12 Jul 2013 10:19:11,212,[XELLERATE.DATABASE],DB Cache read: select * from oti where 1=2
    DEBUG,12 Jul 2013 10:19:11,212,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
    DEBUG,12 Jul 2013 10:19:11,215,[XELLERATE.DATABASE],select obj.OBJ_KEY from obj obj , pkg pkg where pkg.obj_key = obj.obj_key and pkg.pkg_key=?
    INFO,12 Jul 2013 10:19:11,219,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
    DEBUG,12 Jul 2013 10:19:11,220,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
    DEBUG,12 Jul 2013 10:19:11,223,[XELLERATE.DATABASE],insert into oti (OTI_KEY, SCH_KEY, SCH_STATUS, SCH_DATA, SCH_PROJ_START, SCH_PROJ_END, SCH_ACTUAL_START, SCH_ACTUAL_END, SCH_OFFLINED, ORC_KEY, MIL_KEY, PKG_KEY, OSI_ASSIGNED_TO_USR_KEY, OSI_ASSIGNED_DATE, ACT_KEY, OSI_ASSIGN_TYPE, PKG_TYPE, STA_BUCKET, OBJ_KEY, OTI_CREATE, OTI_UPDATE, OTI_CREATEBY, OTI_UPDATEBY, OTI_DATA_LEVEL, oti_rowver) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    DEBUG,12 Jul 2013 10:19:11,223,[XELLERATE.DATABASE],select OTI_seq.nextval from dual
    INFO,12 Jul 2013 10:19:11,324,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_insert_sequence>0 order by dvt.dvt_post_insert_sequence
    DEBUG,12 Jul 2013 10:19:11,324,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_insert_sequence>0 order by dvt.dvt_post_insert_sequence
    DEBUG,12 Jul 2013 10:19:11,326,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
    INFO,12 Jul 2013 10:19:11,328,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,328,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,332,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
    DEBUG,12 Jul 2013 10:19:11,334,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
    INFO,12 Jul 2013 10:19:11,335,[XELLERATE.DATABASE],DB read: select * from oti where oti_key=1617371
    DEBUG,12 Jul 2013 10:19:11,336,[XELLERATE.DATABASE],select * from oti where oti_key=1617371
    DEBUG,12 Jul 2013 10:19:11,343,[XELLERATE.DATABASE],select pkg.PKG_TYPE from pkg pkg where pkg.pkg_key=?
    DEBUG,12 Jul 2013 10:19:11,345,[XELLERATE.DATABASE],select obj.OBJ_KEY from obj obj , pkg pkg where pkg.obj_key = obj.obj_key and pkg.pkg_key=?
    INFO,12 Jul 2013 10:19:11,347,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,347,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,350,[XELLERATE.DATABASE],update oti set SCH_TYPE=?, OSI_RETRY_FOR=?, OSI_ASSIGNED_TO=?, REQ_KEY=?, OSI_ASSIGNED_TO_UGP_KEY=?, OSI_ASSIGNED_DATE=?, SCH_PROJ_START=?, SCH_PROJ_END=?, SCH_ACTUAL_START=?, SCH_ACTUAL_END=?, SCH_ACTION=?, OTI_CREATE=?, OTI_UPDATE=?, SCH_DATA=?, oti_rowver=? where oti_key=1617371 and oti_rowver=HEXTORAW('0000000000000000')
    INFO,12 Jul 2013 10:19:11,357,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,357,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOTI' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,359,[XELLERATE.DATABASE],select mil_name from mil  where mil_key=?
    DEBUG,12 Jul 2013 10:19:11,361,[XELLERATE.DATABASE],select s1.sch_key, s1.sch_rowver, o.osi_rowver, sta_bucket from osi o, sch s1, dep d, sta s where s.sta_status = s1.sch_status and o.sch_key = s1.sch_key and o.mil_key = d.mil_key and d.dep_key=? and o.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,363,[XELLERATE.DATABASE],select orc.orc_target, orc.orc_parent_key, pkg.pkg_name from orc orc left outer join orc parorc on parorc.orc_key=orc.orc_parent_key  and orc.orc_key=? left outer join pkg pkg on parorc.pkg_key=pkg.pkg_key where orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,365,[XELLERATE.DATABASE],select pkg_name from tos, pkg, orc where tos.pkg_key=pkg.pkg_key and tos.tos_key=orc.tos_key and orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,367,[XELLERATE.DATABASE],select oiu.oiu_key,oiu_rowver,oiu.ost_key, oiu.usr_key, usr.usr_status from oiu oiu, usr usr where oiu.usr_key=usr.usr_key and oiu.orc_key=?
    INFO,12 Jul 2013 10:19:11,368,[XELLERATE.DATABASE],DB read: select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1434 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
    DEBUG,12 Jul 2013 10:19:11,369,[XELLERATE.DATABASE],select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1434 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
    INFO,12 Jul 2013 10:19:11,375,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,375,[XELLERATE.DATABASE],select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,379,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?)  group by sta.sta_bucket
    DEBUG,12 Jul 2013 10:19:11,381,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
    INFO,12 Jul 2013 10:19:11,384,[XELLERATE.DATABASE],DB read: select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,384,[XELLERATE.DATABASE],select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,386,[XELLERATE.DATABASE],select obi_key from oiu where orc_key = ?
    INFO,12 Jul 2013 10:19:11,387,[XELLERATE.DATABASE],DB read: select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    DEBUG,12 Jul 2013 10:19:11,387,[XELLERATE.DATABASE],select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    INFO,12 Jul 2013 10:19:11,389,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,389,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,391,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
    INFO,12 Jul 2013 10:19:11,393,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,393,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,396,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
    INFO,12 Jul 2013 10:19:11,398,[XELLERATE.DATABASE],DB read: select * from sch where sch_key=1715851
    DEBUG,12 Jul 2013 10:19:11,398,[XELLERATE.DATABASE],select * from sch where sch_key=1715851
    INFO,12 Jul 2013 10:19:11,401,[XELLERATE.DATABASE],DB read: select count(*) as RecordExists from osi where sch_key=1715851
    DEBUG,12 Jul 2013 10:19:11,401,[XELLERATE.DATABASE],select count(*) as RecordExists from osi where sch_key=1715851
    INFO,12 Jul 2013 10:19:11,403,[XELLERATE.DATABASE],DB read: select * from osi where sch_key=1715851
    DEBUG,12 Jul 2013 10:19:11,403,[XELLERATE.DATABASE],select * from osi where sch_key=1715851
    INFO,12 Jul 2013 10:19:11,433,[XELLERATE.DATABASE],DB read: select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=1447
    DEBUG,12 Jul 2013 10:19:11,433,[XELLERATE.DATABASE],select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=1447
    INFO,12 Jul 2013 10:19:11,436,[XELLERATE.DATABASE],DB read: select ugp.ugp_key, ugp.ugp_name from ugp ugp, usg usg where ugp.ugp_key=usg.ugp_key and usg.usr_key=1
    DEBUG,12 Jul 2013 10:19:11,437,[XELLERATE.DATABASE],select ugp.ugp_key, ugp.ugp_name from ugp ugp, usg usg where ugp.ugp_key=usg.ugp_key and usg.usr_key=1
    INFO,12 Jul 2013 10:19:11,439,[XELLERATE.DATABASE],DB read: select distinct ugp.ugp_key, ugp.ugp_name from ugp ugp, gpg gpg where ugp.ugp_key = gpg.ugp_key  and ( gpg.gpg_ugp_key in (1,11063) )
    DEBUG,12 Jul 2013 10:19:11,439,[XELLERATE.DATABASE],select distinct ugp.ugp_key, ugp.ugp_name from ugp ugp, gpg gpg where ugp.ugp_key = gpg.ugp_key  and ( gpg.gpg_ugp_key in (1,11063) )
    INFO,12 Jul 2013 10:19:11,441,[XELLERATE.DATABASE],DB read: select sel.sel_update_allow from sel sel, dob dob, ugp ugp where dob.dob_key=sel.dob_key and ugp.ugp_key=sel.ugp_key and dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' and (ugp.ugp_key=1 or ugp.ugp_key=11063)
    DEBUG,12 Jul 2013 10:19:11,441,[XELLERATE.DATABASE],select sel.sel_update_allow from sel sel, dob dob, ugp ugp where dob.dob_key=sel.dob_key and ugp.ugp_key=sel.ugp_key and dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' and (ugp.ugp_key=1 or ugp.ugp_key=11063)
    INFO,12 Jul 2013 10:19:11,443,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,443,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    INFO,12 Jul 2013 10:19:11,446,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,446,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,449,[XELLERATE.DATABASE],update sch set SCH_STATUS=?, SCH_UPDATE=?, sch_rowver=? where sch_key=1715851 and sch_rowver=HEXTORAW('0000000000000001')
    INFO,12 Jul 2013 10:19:11,453,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,453,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcSCH' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    INFO,12 Jul 2013 10:19:11,454,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    DEBUG,12 Jul 2013 10:19:11,454,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_pre_update_sequence>0 order by dvt.dvt_pre_update_sequence
    INFO,12 Jul 2013 10:19:11,456,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,456,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOSI' or dob.dob_name='com.thortech.xl.dataobj.tcKeylessDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    INFO,12 Jul 2013 10:19:11,459,[XELLERATE.DATABASE],DB read: select unm_undo_mil_key, mil_sequence from unm unm, mil mil where mil.mil_key=unm.unm_undo_mil_key and unm.mil_key=1447 and unm_undo_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
    DEBUG,12 Jul 2013 10:19:11,459,[XELLERATE.DATABASE],select unm_undo_mil_key, mil_sequence from unm unm, mil mil where mil.mil_key=unm.unm_undo_mil_key and unm.mil_key=1447 and unm_undo_mil_key not in (select mil.mil_key from mil mil, osi osi where osi.mil_key=mil.mil_key and (mil_create_multiple='0' or mil_create_multiple is null) and osi.orc_key=170417) order by mil_sequence
    DEBUG,12 Jul 2013 10:19:11,461,[XELLERATE.DATABASE],select mil_name from mil  where mil_key=?
    DEBUG,12 Jul 2013 10:19:11,463,[XELLERATE.DATABASE],select s1.sch_key, s1.sch_rowver, o.osi_rowver, sta_bucket from osi o, sch s1, dep d, sta s where s.sta_status = s1.sch_status and o.sch_key = s1.sch_key and o.mil_key = d.mil_key and d.dep_key=? and o.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,465,[XELLERATE.DATABASE],select orc.orc_target, orc.orc_parent_key, pkg.pkg_name from orc orc left outer join orc parorc on parorc.orc_key=orc.orc_parent_key  and orc.orc_key=? left outer join pkg pkg on parorc.pkg_key=pkg.pkg_key where orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,468,[XELLERATE.DATABASE],select pkg_name from tos, pkg, orc where tos.pkg_key=pkg.pkg_key and tos.tos_key=orc.tos_key and orc.orc_key=?
    DEBUG,12 Jul 2013 10:19:11,471,[XELLERATE.DATABASE],select oiu.oiu_key,oiu_rowver,oiu.ost_key, oiu.usr_key, usr.usr_status from oiu oiu, usr usr where oiu.usr_key=usr.usr_key and oiu.orc_key=?
    INFO,12 Jul 2013 10:19:11,474,[XELLERATE.DATABASE],DB read: select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1447 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
    DEBUG,12 Jul 2013 10:19:11,474,[XELLERATE.DATABASE],select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1447 and mst.sta_key=sta.sta_key and sta.sta_status='X' and mst.ost_key=ost.ost_key
    INFO,12 Jul 2013 10:19:11,480,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,480,[XELLERATE.DATABASE],select * from orc where orc_key=170417
    DEBUG,12 Jul 2013 10:19:11,486,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?)  group by sta.sta_bucket
    DEBUG,12 Jul 2013 10:19:11,489,[XELLERATE.DATABASE],select sta.sta_bucket, count(sta.sta_bucket) as bkt from osi osi, sch sch, mil mil, sta sta where osi.sch_key=sch.sch_key and osi.mil_key=mil.mil_key and sch.sch_status=sta.sta_status and mil.mil_required_complete=? and osi.orc_key=? group by sta.sta_bucket
    INFO,12 Jul 2013 10:19:11,493,[XELLERATE.DATABASE],DB read: select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,493,[XELLERATE.DATABASE],select usr_key, orc_target from orc where orc_key = 170417
    DEBUG,12 Jul 2013 10:19:11,495,[XELLERATE.DATABASE],select obi_key from oiu where orc_key = ?
    INFO,12 Jul 2013 10:19:11,497,[XELLERATE.DATABASE],DB read: select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    DEBUG,12 Jul 2013 10:19:11,497,[XELLERATE.DATABASE],select mev.mev_assignee, mev.mev_requester, mev.mev_user, mev.mev_usrmanager, mev.mil_key, mev.emd_key, sta.sta_status from mev mev, sta sta where mev.sta_key=sta.sta_key
    INFO,12 Jul 2013 10:19:11,499,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,499,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcScheduleItem' or dob.dob_name='com.thortech.xl.dataobj.tcBusinessObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' )  and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence
    DEBUG,12 Jul 2013 10:19:11,501,[XELLERATE.DATABASE],select sch.sch_status from sch sch where sch.sch_key=?
    INFO,12 Jul 2013 10:19:11,502,[XELLERATE.DATABASE],DB read: SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,502,[XELLERATE.DATABASE],SELECT sta_status, sta_bucket FROM sta
    DEBUG,12 Jul 2013 10:19:11,506,[XELLERATE.DATABASE],select oti.oti_key, oti.oti_rowver from oti where oti.sch_key=?
    INFO,12 Jul 2013 10:19:11,508,[XELLERATE.DATABASE],DB read: select * from sch where sch_key=1748948
    DEBUG,12 Jul 2013 10:19:11,508,[XELLERATE.DATABASE],select * from sch where sch_key=1748948
    INFO,12 Jul 2013 10:19:11,562,[XELLERATE.DATABASE],DB read: select count(*) as RecordExists from osi where sch_key=1748948
    DEBUG,12 Jul 2013 10:19:11,562,[XELLERATE.DATABASE],select count(*) as RecordExists from osi where sch_key=1748948
    INFO,12 Jul 2013 10:19:11,565,[XELLERATE.DATABASE],DB Cache read: select * from osi where 1=2
    INFO,12 Jul 2013 10:19:11,566,[XELLERATE.DATABASE],DB read: select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=0
    DEBUG,12 Jul 2013 10:19:11,566,[XELLERATE.DATABASE],select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=0
    INFO,12 Jul 2013 10:19:11,570,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.SCHTM_NO_MIL'
    DEBUG,12 Jul 2013 10:19:11,571,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.SCHTM_NO_MIL'
    ERROR,12 Jul 2013 10:19:11,579,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getMilestoneInfo Error : ScheduleItem has  No Milestone.
    INFO,12 Jul 2013 10:19:11,579,[XELLERATE.DATABASE],DB read: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
    DEBUG,12 Jul 2013 10:19:11,579,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
    ERROR,12 Jul 2013 10:19:11,586,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
      at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy54.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 10:19:11,587,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-00936: missing expression
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
      at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)

Maybe you are looking for

  • What do I need to connect my new Yamaha RX-V671 receiver wirelessly to my Air Port Express?

    I have just received my new Yamaha RX-V671 receiver and the only connection I have for the internet is by a network cable or by a USB slot.  I would like to hook this up wirelessly to my Air Port Express, I just need to know what I need to get so I c

  • Can't install or extract CS6 Creative Design suite trial

    Unfortunately I'm having a terrible time getting a trial of Adobe CS6 Creative Suite Design to install. I've put around eight hours into it now, having downloaded it through the download manager numerous times, along with downloading it twice through

  • [AS] saving,  different name, different location

    Hi I have a Indesign CS3 file saved as a template, what I am trying to do is save the template as a document in a different place with a different name. I have the below which works fine, but I have to paste the file name into the text field (which i

  • Can't upload nike workout to nike

    I have never had problems sending my workouts but I now have a workout that was nearly 80 miles and it won't transfer. This workout shows up on my iPOD but no matter what I do it will not send it to nike.com

  • Re: alv report

    Hi,       My requirement is there is one table it_out to print in the alv display which contains nearly 60 fields + one 1000 character field.  But while i try to print the  some 10 fields + long char field, it is not showing full width of long charac