To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
Label javadocs not in agreement with source (6.7.4)
1 decade ago Feb 01, 2012 2:16pm
The method isReadOnly is supposed to return false always, but instead returns dataSource.isReadOnly or throws an IllegalStateException if dataSource is null. If it is really supposed to return false, it should just return false and the method setReadOnly should either throw an exception or fail silently if called.