kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 4561005cff1a54ba32748c313b44295667be27455e1e9c36bf3dfb7f0001353d |
|---|---|
| Author | Sylvain Lebresne <sylvain@datastax.com> · 2014-02-25 17:25 +01:00 |
| Committer | Sylvain Lebresne <sylvain@datastax.com> · 2014-02-25 17:25 +01:00 |
| Parents | 0df8e9f3e4b8 |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/Session.java +8 −10
| @@ -153,11 +153,10 @@ | ||
| 153 | 153 | * </pre> |
| 154 | 154 | * the final execution will be performed with Quorum consistency. |
| 155 | 155 | * <p> |
| 156 | - * Please note however that if the same CQL statement is prepared more than | |
| 157 | - * once, all calls to this method will return the same {@code PreparedStatement} | |
| 158 | - * object (which imply that this unique {@code PreparedStatement} object will | |
| 159 | - * inherit the query properties of the last statement for which this method | |
| 160 | - * has been called). | |
| 156 | + * Please note that if the same CQL statement is prepared more than once, all | |
| 157 | + * calls to this method will return the same {@code PreparedStatement} object | |
| 158 | + * but the method will still apply the properties of the prepared | |
| 159 | + * {@code Statement} to this object. | |
| 161 | 160 | * |
| 162 | 161 | * @param statement the statement to prepare |
| 163 | 162 | * @return the prepared statement corresponding to {@code statement}. |
| @@ -186,11 +185,10 @@ | ||
| 186 | 185 | * but with the additional effect that the resulting {@code |
| 187 | 186 | * PreparedStamenent} will inherit the query properties set on {@code statement}. |
| 188 | 187 | * <p> |
| 189 | - * Please note however that if the same CQL statement is prepared more than | |
| 190 | - * once, all calls to this method will return the same {@code PreparedStatement} | |
| 191 | - * object (which imply that this unique {@code PreparedStatement} object will | |
| 192 | - * inherit the query properties of the last statement for which this method | |
| 193 | - * has been called). | |
| 188 | + * Please note that if the same CQL statement is prepared more than once, all | |
| 189 | + * calls to this method will return the same {@code PreparedStatement} object | |
| 190 | + * but the method will still apply the properties of the prepared | |
| 191 | + * {@code Statement} to this object. | |
| 194 | 192 | * |
| 195 | 193 | * @param statement the statement to prepare |
| 196 | 194 | * @return a future on the prepared statement corresponding to {@code statement}. |