提交 3a714b09 编写于 作者: L lancea

6984864: Exception when running acceptChanges with custom SyncProvider

Reviewed-by: darcy, ohair
上级 8e1f5bf7
...@@ -33,6 +33,8 @@ import java.math.*; ...@@ -33,6 +33,8 @@ import java.math.*;
import java.util.*; import java.util.*;
import javax.sql.rowset.*; import javax.sql.rowset.*;
import javax.sql.rowset.spi.SyncProvider;
import javax.sql.rowset.spi.SyncProviderException;
/** /**
* The standard implementation of the <code>JoinRowSet</code> * The standard implementation of the <code>JoinRowSet</code>
...@@ -4311,6 +4313,27 @@ public class JoinRowSetImpl extends WebRowSetImpl implements JoinRowSet { ...@@ -4311,6 +4313,27 @@ public class JoinRowSetImpl extends WebRowSetImpl implements JoinRowSet {
return crsInternal.createCopySchema(); return crsInternal.createCopySchema();
} }
/**
* {@inheritDoc}
*/
public void setSyncProvider(String providerStr) throws SQLException {
crsInternal.setSyncProvider(providerStr);
}
/**
* {@inheritDoc}
*/
public void acceptChanges() throws SyncProviderException {
crsInternal.acceptChanges();
}
/**
* {@inheritDoc}
*/
public SyncProvider getSyncProvider() throws SQLException {
return crsInternal.getSyncProvider();
}
/** /**
* This method re populates the resBundle * This method re populates the resBundle
* during the deserialization process * during the deserialization process
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册