RFR 8139056: Add convenience methods to Statement.java (original) (raw)
Lance Andersen lance.andersen at oracle.com
Tue Oct 20 21:44:04 UTC 2015
- Previous message: RFR 8139056: Add convenience methods to Statement.java
- Next message: RFR 8139056: Add convenience methods to Statement.java
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Joe, On Oct 20, 2015, at 5:33 PM, Joe Wang <huizhe.wang at oracle.com> wrote:
Hi Lance,
The change looks good. Noticed two minor things in StatementTests.java: A typo at 52 * Validate a NullPointerException is thrown is the string passed to. The 2nd "is" was meant to be "if"
Thanks for catching the typo.
For test03, param "expected" may be not needed.
I could probably remove it. I had left intentionally but will remove it.
Best Lance
Best, Joe On 10/20/2015 1:19 PM, Lance Andersen wrote: Hi,
Looking for a reviewer for http://cr.openjdk.java.net/~lancea/8139056/webrev.00/. This change Adds two convenience methods to Statement.java: - enquoteLiteral which returns a string enclosed in single quotes where all occurrences of a single quote are converted to two single quotes - enquoteIdentifier returns a SQL identifier
The CCC has been approved. Best Lance
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 Lance.Andersen at oracle.com
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 Lance.Andersen at oracle.com
- Previous message: RFR 8139056: Add convenience methods to Statement.java
- Next message: RFR 8139056: Add convenience methods to Statement.java
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]