View Javadoc
1 2 package net.sf.voruta; 3 4 import java.sql.*; 5 import java.lang.reflect.Method; 6 import java.util.Properties; 7 /*** 8 * interface for pluggins to registers executors of custom query language parser 9 * @author baliuka 10 */ 11 public interface Language { 12 /*** 13 * voruta calls it once to prepare/compile query string 14 */ 15 public void compile(ClassFinder finder, Method method, String query, Properties tags)throws Exception; 16 /*** 17 * voruta calls this method to implement query method 18 */ 19 public Object executeQuery( String connection, 20 Object params[],ResultSetHandler handler,Object userObj[] )throws Exception; 21 22 /*** 23 * voruta calls this method to implement update method 24 */ 25 public int executeUpdate( String connection, 26 Object params[] )throws Exception; 27 28 29 30 public void explain(String connection)throws Exception; 31 32 public void explain(String connection,java.io.PrintWriter pw)throws Exception; 33 34 }

This page was automatically generated by Maven