|
Re: Upcoming Features in JDBC 4
|
Posted: Sep 6, 2005 10:11 AM
|
|
Do we finally get multi-line (verbatim) string literals? Where you can't have escape sequences. Like the following:
Connection c = myDataSource.getConnection(); PreparedStatement st = c.prepareStatement(""" insert into siteusers (userid, username) values (?, ?) """; st.setRowId(1, rowId1);
Here """ would mean that start of the string is in the next line, so that the beginning of the string would be properly intended. Here the resulting string would be:
insert into siteusers (userid, username)\nvalues (?, ?)
|
|