[jboss-jira] [JBoss JIRA] Created: (JBPM-956) jBPM 3.2.x: enhance MockConnection to allow for using JDK 1.6
Arjan van Bentem (JIRA)
jira-events at lists.jboss.org
Tue Apr 24 05:15:40 EDT 2007
jBPM 3.2.x: enhance MockConnection to allow for using JDK 1.6
-------------------------------------------------------------
Key: JBPM-956
URL: http://jira.jboss.com/jira/browse/JBPM-956
Project: JBoss jBPM
Issue Type: Feature Request
Components: Core Engine
Affects Versions: jBPM jPDL 3.2
Environment: Win32, JDK 1.6
Reporter: Arjan van Bentem
Assigned To: Tom Baeyens
Priority: Optional
Since JDK 1.6, the interface java.sql.Connection includes numerous new methods, such as createArray and createBlob. Adding some dummy methods to org.jbpm.persistence.db.MockConnection allows for using JDK 1.6
API: http://java.sun.com/javase/6/docs/api/java/sql/Connection.html
FIX: add the following lines to http://fisheye.labs.jboss.com/browse/JBPM/jbpm.3/jpdl/jar/src/test/java/org/jbpm/persistence/db/MockConnection.java
public Array createArrayOf(String typeName, Object[] elements) throws SQLException {
throw new UnsupportedOperationException();
}
public Blob createBlob() throws SQLException {
throw new UnsupportedOperationException();
}
public Clob createClob() throws SQLException {
throw new UnsupportedOperationException();
}
public NClob createNClob() throws SQLException {
throw new UnsupportedOperationException();
}
public SQLXML createSQLXML() throws SQLException {
throw new UnsupportedOperationException();
}
public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
throw new UnsupportedOperationException();
}
public Properties getClientInfo() throws SQLException {
throw new UnsupportedOperationException();
}
public String getClientInfo(String name) throws SQLException {
throw new UnsupportedOperationException();
}
public boolean isValid(int timeout) throws SQLException {
throw new UnsupportedOperationException();
}
public void setClientInfo(Properties properties) throws SQLClientInfoException {
throw new UnsupportedOperationException();
}
public void setClientInfo(String name, String value) throws SQLClientInfoException {
throw new UnsupportedOperationException();
}
public boolean isWrapperFor(Class arg0) throws SQLException {
throw new UnsupportedOperationException();
}
public Object unwrap(Class arg0) throws SQLException {
throw new UnsupportedOperationException();
}
Just for the JIRA search:
The type MockConnection must implement the inherited abstract method Connection.createArrayOf(String, Object[])
The type MockConnection must implement the inherited abstract method Connection.createBlob()
The type MockConnection must implement the inherited abstract method Connection.createClob()
The type MockConnection must implement the inherited abstract method Connection.createNClob()
The type MockConnection must implement the inherited abstract method Connection.createSQLXML()
The type MockConnection must implement the inherited abstract method Connection.createStruct(String, Object[])
The type MockConnection must implement the inherited abstract method Connection.getClientInfo()
The type MockConnection must implement the inherited abstract method Connection.getClientInfo(String)
The type MockConnection must implement the inherited abstract method Connection.isValid(int)
The type MockConnection must implement the inherited abstract method Connection.setClientInfo(Properties)
The type MockConnection must implement the inherited abstract method Connection.setClientInfo(String, String)
The type MockConnection must implement the inherited abstract method Wrapper.isWrapperFor(Class)
The type MockConnection must implement the inherited abstract method Wrapper.unwrap(Class)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list