public static SQLExecuteCallback < Integer > getPreparedUpdateSQLExecuteCallback ( final DatabaseType databaseType , final boolean isExceptionThrown ) { return new SQLExecuteCallback < Integer > ( databaseType , isExceptionThrown ) { @ Override protected Integer executeSQL ( final RouteUnit routeUnit , final Statement statement , final ConnectionMode connectionMode ) throws SQLException { return ( ( PreparedStatement ) statement ) . executeUpdate ( ) ; } } ; }
Get update callback .