summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2009-09-20 03:35:13 +0000
committerBrian S. O'Neill <bronee@gmail.com>2009-09-20 03:35:13 +0000
commit94ed24638c71c4dd6de5c5641f821b4a9d676e11 (patch)
tree087edad3b4a35e3221972ba9891362ada085596e /src
parent48c5e4eb5cedd84af47c3edbde990370b774e049 (diff)
Clarify docs when setDataSource is called.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepositoryBuilder.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepositoryBuilder.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepositoryBuilder.java
index e18ba67..1ff9f0e 100644
--- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepositoryBuilder.java
+++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCRepositoryBuilder.java
@@ -115,8 +115,15 @@ public class JDBCRepositoryBuilder extends AbstractRepositoryBuilder {
}
/**
- * Set the source of JDBC connections, overriding all other database
- * connectivity configuration in this object.
+ * Set the source of JDBC connections, overriding any configuration
+ * supported by these methods:
+ *
+ * <ul>
+ * <li>{@link #setDriverClassName}
+ * <li>{@link #setDriverURL}
+ * <li>{@link #setUserName}
+ * <li>{@link #setPassword}
+ * </ul>
*/
public void setDataSource(DataSource dataSource) {
mDataSource = dataSource;