add sql adapter for java