Method getConnection()
Return type:
java.sql.Connection
Member of:
java.sql.Statement
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
Object value = createTypeValue(ps.getConnection(), sqlType, typeName);
2
Connection objConn = objStmt.getConnection();
3
mockCallable.getConnection();
4
preparedStatement.getConnection().close();
5
conn = m_Statement.getConnection();
6
getConnection().
7
driverName = ps.getConnection().getMetaData().getDriverName().toUpperCase();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.