Toggle navigation
Home
java.sql.Statement to java.sql.PreparedStatement
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'speedment'}
Hierarchy/Composition: T_SUPER_R
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Rename Variable
st
to
countPs
st
to
countPs
st
to
countPs
statement
to
ps
statement
to
ps
statement
to
ps
statement
to
ps
getStatement
to
getPreparedStatement
Add or Remove Method invocation
conn.createStatement()
to
conn.prepareStatement(tableManager.getCountNonExpiredRowsSql())
connection.createStatement()
to
connection.prepareStatement(getSql())
statement.executeQuery(sql)
to
ps.executeQuery()
connection.createStatement()
to
connection.prepareStatement("INSERT INTO sequenceIdentifier VALUES (?)")
statement.executeQuery(query)
to
statement.executeQuery()
statement.executeQuery(sql)
to
statement.executeQuery()
Update argument list (Method invocation)
executeUpdate
to
executeUpdate
executeQuery
to
executeQuery
executeQuery
to
executeQuery
executeQuery
to
executeQuery
executeQuery
to
executeQuery
executeQuery
to
executeQuery
executeUpdate
to
executeUpdate
Cascading Type Change (Similar)
Statement
to
PreparedStatement
Rename Method invocation
createStatement
to
prepareStatement
createStatement
to
prepareStatement
Cascading Type Change (Different)
com.mysql.jdbc.Statement
to
Statement
com.mysql.jdbc.Statement
to
Statement