Implement some functions in JDBC driver