package java.sql

Get Started. It's Free
or sign up with your email address
Rocket clouds
package java.sql by Mind Map: package java.sql

1. DriverManager

1.1. static Connection getConnection(String url, String user, String password)

2. Connection

2.1. Statement createStatement()

2.2. Statement createStatement(int tipo, int concorrência)

2.3. PreparedStatement prepareStatement(String sql)

2.4. PreparedStatement prepareStatement(String sql, int tipo, int concorrência)

2.4.1. tipo

2.4.1.1. TYPE_FORWARD_ONLY

2.4.1.2. TYPE_SCROLL_INSENSITIVE

2.4.1.3. TYPE_SCROLL_SENSITIVE

2.4.2. concorrência

2.4.2.1. CONCUR_READ_ONLY

2.4.2.2. CONCUR_UPDATABLE

2.5. void setAutoCommint(boolean autoCommit)

2.6. void commit()

2.7. void rollback()

2.8. void close()

3. ResultSet

3.1. boolean next()

3.2. Xxx getXxx(int coluna)

3.3. Xxx getXxx(String coluna)

3.4. int findColumn(String coluna)

3.5. void close()

3.6. boolean previous()

3.7. int getRow()

3.8. boolean absolute(int r)

3.9. boolean relative(int d)

3.10. boolean first()

3.11. boolean last()

3.12. boolean beforeFirst()

3.13. boolean afterLast()

3.14. boolean isFirst()

3.15. boolean isLast()

3.16. boolean isBeforeFirst()

3.17. boolean isAfterLast()

3.18. void moveToInsertRow()

3.19. void moveToCurrentRow()

3.20. void insertRow()

3.21. void deleteRow()

3.22. void updateXxx(int coluna, Xxx x)

3.23. void updateXxx(String coluna, Xxx x)

3.24. void updateRow()

3.25. void cancelRowUpdates()

4. Statement

4.1. ResultSet executeQuery(String sql)

4.2. int executeUpdate(String sql)

4.3. void addBatch(String sql)

4.4. int[] executeBatch()

4.5. void clearBatch()

4.6. void close()

5. PreparedStatement

5.1. void setXxx(int n, Xxx x)

5.2. void clearParameters()

5.3. ResultSet executeQuery()

5.4. int executeUpdate()

6. SQLException

6.1. String getSQLState

6.2. int getErrorCode

6.3. SQLException getNextException