Community
Participate
Working Groups
Most of the methods supported by SQLDataSource appear to correspond to a subset of methods in the java.sql.Connection interface. One of the methods is not a one-to-one mapping. The Connection isValid(int) method returns a boolean value. The SQLDataSource isValid(int) returns nothing. Is this intentional? Other design questions: Why were isClosed() and isReadOnly() included, but not close() and setReadOnly()?
isValid was wrong and now returns a boolean. There is a CLOSE action talked about in the spec but it doesn't have its own section. Tim did not want me to implement setReadOnly.
verified, closed