Koen Aers | 1 Jun 2007 12:31

[jbpm-cvs] jbpm.3/jpdl/jar/src/test/java/org/jbpm/persistence/db ...

  User: kaers   
  Date: 07/06/01 06:31:31

  Modified:    jpdl/jar/src/test/java/org/jbpm/persistence/db 
                        MockConnection.java
  Log:
  http://jira.jboss.com/jira/browse/JBPM-956

  Revision  Changes    Path
  1.2       +73 -0     jbpm.3/jpdl/jar/src/test/java/org/jbpm/persistence/db/MockConnection.java

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: MockConnection.java
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/jpdl/jar/src/test/java/org/jbpm/persistence/db/MockConnection.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- MockConnection.java	28 Apr 2006 15:09:22 -0000	1.1
  +++ MockConnection.java	1 Jun 2007 10:31:31 -0000	1.2
   <at>  <at>  -1,14 +1,22  <at>  <at> 
   package org.jbpm.persistence.db;

  +import java.sql.Array;
  +import java.sql.Blob;
   import java.sql.CallableStatement;
  +import java.sql.Clob;
   import java.sql.Connection;
   import java.sql.DatabaseMetaData;
  +import java.sql.NClob;
   import java.sql.PreparedStatement;
  +import java.sql.SQLClientInfoException;
   import java.sql.SQLException;
   import java.sql.SQLWarning;
  +import java.sql.SQLXML;
   import java.sql.Savepoint;
   import java.sql.Statement;
  +import java.sql.Struct;
   import java.util.Map;
  +import java.util.Properties;

   public class MockConnection implements Connection {

   <at>  <at>  -160,4 +168,69  <at>  <at> 
     public PreparedStatement prepareStatement(String arg0, String[] arg1) throws SQLException {
       throw new UnsupportedOperationException();
     }
  +
  +public Array createArrayOf(String arg0, Object[] arg1) throws SQLException {
  +	// TODO Auto-generated method stub
  +	return null;
  +}
  +
  +public Blob createBlob() throws SQLException {
  +	// TODO Auto-generated method stub
  +	return null;
  +}
  +
  +public Clob createClob() throws SQLException {
  +	// TODO Auto-generated method stub
  +	return null;
  +}
  +
  +public NClob createNClob() throws SQLException {
  +	// TODO Auto-generated method stub
  +	return null;
  +}
  +
  +public SQLXML createSQLXML() throws SQLException {
  +	// TODO Auto-generated method stub
  +	return null;
  +}
  +
  +public Struct createStruct(String arg0, Object[] arg1) throws SQLException {
  +	// TODO Auto-generated method stub
  +	return null;
  +}
  +
  +public Properties getClientInfo() throws SQLException {
  +	// TODO Auto-generated method stub
  +	return null;
  +}
  +
  +public String getClientInfo(String arg0) throws SQLException {
  +	// TODO Auto-generated method stub
  +	return null;
  +}
  +
  +public boolean isValid(int arg0) throws SQLException {
  +	// TODO Auto-generated method stub
  +	return false;
  +}
  +
  +public void setClientInfo(Properties arg0) throws SQLClientInfoException {
  +	// TODO Auto-generated method stub
  +	
  +}
  +
  +public void setClientInfo(String arg0, String arg1) throws SQLClientInfoException {
  +	// TODO Auto-generated method stub
  +	
  +}
  +
  +public boolean isWrapperFor(Class arg0) throws SQLException {
  +	// TODO Auto-generated method stub
  +	return false;
  +}
  +
  +public Object unwrap(Class arg0) throws SQLException {
  +	// TODO Auto-generated method stub
  +	return null;
  +}
   }

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Gmane