From e501fe01e17f677c9e5c5b4543ebae33bc88a845 Mon Sep 17 00:00:00 2001 From: lukaseder Date: Wed, 27 Jan 2016 18:05:14 +0100 Subject: [PATCH] [#5004] Misleading Javadoc on DSL.table(String) --- jOOQ/src/main/java/org/jooq/impl/DSL.java | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/impl/DSL.java b/jOOQ/src/main/java/org/jooq/impl/DSL.java index 641da9c217..c110106df2 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DSL.java +++ b/jOOQ/src/main/java/org/jooq/impl/DSL.java @@ -79,7 +79,6 @@ import java.math.BigInteger; import java.sql.Connection; import java.sql.Date; import java.sql.DriverManager; -import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Time; import java.sql.Timestamp; @@ -7736,11 +7735,6 @@ public class DSL { * String sql = "SELECT * FROM USER_TABLES WHERE OWNER = 'MY_SCHEMA'"; * *

- * The provided SQL must evaluate as a table whose type can be dynamically - * discovered using JDBC's {@link ResultSetMetaData} methods. That way, you - * can be sure that calling methods, such as {@link Table#fieldsRow()} will - * list the actual fields returned from your result set. - *

* NOTE: When inserting plain SQL into jOOQ objects, you must * guarantee syntax integrity. You may also create the possibility of * malicious SQL injection. Be sure to properly use bind variables and/or @@ -7769,11 +7763,6 @@ public class DSL { * String sql = "SELECT * FROM USER_TABLES WHERE OWNER = 'MY_SCHEMA'"; * *

- * The provided SQL must evaluate as a table whose type can be dynamically - * discovered using JDBC's {@link ResultSetMetaData} methods. That way, you - * can be sure that calling methods, such as {@link Table#fieldsRow()} will - * list the actual fields returned from your result set. - *

* NOTE: When inserting plain SQL into jOOQ objects, you must * guarantee syntax integrity. You may also create the possibility of * malicious SQL injection. Be sure to properly use bind variables and/or @@ -7805,11 +7794,6 @@ public class DSL { * Object[] bindings = new Object[] { "MY_SCHEMA" }; * *

- * The provided SQL must evaluate as a table whose type can be dynamically - * discovered using JDBC's {@link ResultSetMetaData} methods. That way, you - * can be sure that calling methods, such as {@link Table#fieldsRow()} will - * list the actual fields returned from your result set. - *

* NOTE: When inserting plain SQL into jOOQ objects, you must * guarantee syntax integrity. You may also create the possibility of * malicious SQL injection. Be sure to properly use bind variables and/or @@ -7839,11 +7823,6 @@ public class DSL { * QueryPart[] parts = new QueryPart[] { USER_TABLES.OWNER.equal("MY_SCHEMA") }; * *

- * The provided SQL must evaluate as a table whose type can be dynamically - * discovered using JDBC's {@link ResultSetMetaData} methods. That way, you - * can be sure that calling methods, such as {@link Table#fieldsRow()} will - * list the actual fields returned from your result set. - *

* NOTE: When inserting plain SQL into jOOQ objects, you must * guarantee syntax integrity. You may also create the possibility of * malicious SQL injection. Be sure to properly use bind variables and/or