This section provides information to help you understand the content of your own DataDirect Spy logs. For example, suppose your application executes the following code and performs some operations:DriverManager.getConnection("jdbc:datadirect:sqlserver:// nc-myserver\
\sqlserver2005;useServerSideUpdatableCursors=true;resultsetMetaDataOptions=1;sendStringParametersAsUnicode=true;alwaysReportTriggerResults=false;
spyAttributes=(log=(file)c:\\temp\\spy.log)","test04", "test04");The log file generated by DataDirect Spy would look similar to the following example. Notes provide explanations for the referenced text.spy>> OK (jdbc:datadirect:sqlserver://nc-myserver\sqlserver2005:1433;CONNECTIONRETRYCOUNT=5;RECEIVESTRINGPARAMETERTYPE=nvarchar;ALTERNATESERVERS=;DATABASENAME=;PACKETSIZE=16;INITIALIZATIONSTRING=;ENABLECANCELTIMEOUT=false;BATCHPERFORMANCEWORKAROUND=false;AUTHENTICATIONMETHOD=auto;SENDSTRINGPARAMETERSASUNICODE=true;LOGINTIMEOUT=0;WSID=;SPYATTRIBUTES=(log=(file)c:\temp\spy.log);RESULTSETMETADATAOPTIONS=1;ALWAYSREPORTTRIGGERRESULTS=false;TRANSACTIONMODE=implicit;USESERVERSIDEUPDATABLECURSORS=true;SNAPSHOTSERIALIZABLE=false;JAVADOUBLETOSTRING=false;SELECTMETHOD=direct;LOADLIBRARYPATH=;CONNECTIONRETRYDELAY=1;INSENSITIVERESULTSETBUFFERSIZE=2048;MAXPOOLEDSTATEMENTS=0;DESCRIBEPARAMETERS=noDescribe;CODEPAGEOVERRIDE=;NETADDRESS=000000000000;PROGRAMNAME=;LOADBALANCING=false;HOSTPROCESS=0) 1spy>> Connection Options : 2spy>> Driver Name = SQLServer 3spy>> Driver Version = 3.60.0 (000000.000000.000000) 4spy>> Database Name = Microsoft SQL Server 5spy>> Database Version = Microsoft SQL Server Yukon - 9.00.1399 6spy>> OK 7spy>> OK (ResultSet[1]) 8spy>> OK (ResultSetMetaData[1]) 9spy>> OK (3)10spy>> OK (EMPNO)11spy>> OK (ENAME)12spy>> OK (JOB)13spy>> OK (true)14spy>> OK (7369) 15spy>> OK (SMITH) 16spy>> OK (CLERK) 17spy>> OK (false) 18spy>> OK 19spy>> OK 20
The combination of the URL specified by the application and the default values of all connection properties not specified.
The combination of the connection properties specified by the application and the default values of all connection properties not specified.
The statement select empno,ename,job from emp where empno=7369 is created.
| © 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |