[exo-jcr-commits] exo-jcr SVN: r1202 - jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Dec 28 03:46:59 EST 2009
Author: sergiykarpenko
Date: 2009-12-28 03:46:59 -0500 (Mon, 28 Dec 2009)
New Revision: 1202
Modified:
jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedConnection.java
jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedPreparedStatement.java
jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedStatement.java
Log:
EXOJCR-302: jdbc.monitor revert
Modified: jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedConnection.java
===================================================================
--- jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedConnection.java 2009-12-28 08:36:45 UTC (rev 1201)
+++ jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedConnection.java 2009-12-28 08:46:59 UTC (rev 1202)
@@ -21,23 +21,15 @@
import org.exoplatform.services.log.ExoLogger;
import org.exoplatform.services.log.Log;
-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;
/**
* Created by The eXo Platform SAS.
@@ -292,70 +284,4 @@
jdbcConn.setTypeMap(map);
}
-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 <T> T unwrap(Class<T> arg0) throws SQLException {
- // TODO Auto-generated method stub
- return null;
-}
-
-}
Modified: jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedPreparedStatement.java
===================================================================
--- jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedPreparedStatement.java 2009-12-28 08:36:45 UTC (rev 1201)
+++ jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedPreparedStatement.java 2009-12-28 08:46:59 UTC (rev 1202)
@@ -28,15 +28,12 @@
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
-import java.sql.NClob;
import java.sql.ParameterMetaData;
import java.sql.PreparedStatement;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
-import java.sql.RowId;
import java.sql.SQLException;
-import java.sql.SQLXML;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
@@ -268,106 +265,4 @@
jdbcStmt.setUnicodeStream(parameterIndex, x, length);
}
-public void setAsciiStream(int parameterIndex, InputStream x)
- throws SQLException {
- // TODO Auto-generated method stub
-
}
-
-public void setAsciiStream(int parameterIndex, InputStream x, long length)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setBinaryStream(int parameterIndex, InputStream x)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setBinaryStream(int parameterIndex, InputStream x, long length)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setBlob(int parameterIndex, InputStream inputStream)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setBlob(int parameterIndex, InputStream inputStream, long length)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setCharacterStream(int parameterIndex, Reader reader)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setCharacterStream(int parameterIndex, Reader reader, long length)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setClob(int parameterIndex, Reader reader) throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setClob(int parameterIndex, Reader reader, long length)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setNCharacterStream(int parameterIndex, Reader value)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setNCharacterStream(int parameterIndex, Reader value, long length)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setNClob(int parameterIndex, NClob value) throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setNClob(int parameterIndex, Reader reader) throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setNClob(int parameterIndex, Reader reader, long length)
- throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setNString(int parameterIndex, String value) throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setRowId(int parameterIndex, RowId x) throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-}
Modified: jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedStatement.java
===================================================================
--- jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedStatement.java 2009-12-28 08:36:45 UTC (rev 1201)
+++ jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/monitor/ManagedStatement.java 2009-12-28 08:46:59 UTC (rev 1202)
@@ -235,29 +235,4 @@
jdbcStmt.setQueryTimeout(seconds);
}
-public boolean isClosed() throws SQLException {
- // TODO Auto-generated method stub
- return false;
}
-
-public boolean isPoolable() throws SQLException {
- // TODO Auto-generated method stub
- return false;
-}
-
-public void setPoolable(boolean poolable) throws SQLException {
- // TODO Auto-generated method stub
-
-}
-
-public boolean isWrapperFor(Class<?> iface) throws SQLException {
- // TODO Auto-generated method stub
- return false;
-}
-
-public <T> T unwrap(Class<T> iface) throws SQLException {
- // TODO Auto-generated method stub
- return null;
-}
-
-}
More information about the exo-jcr-commits
mailing list