de.suse.lib.sqlmap
Class SQLParser

java.lang.Object
  extended by de.suse.lib.sqlmap.SQLParser

public class SQLParser
extends java.lang.Object


Nested Class Summary
static class SQLParser.Value
           
 
Constructor Summary
SQLParser(java.lang.String query)
           
 
Method Summary
 SQLParser parse(java.util.Map<?,?> params)
           
 java.sql.PreparedStatement prepare(java.sql.Connection connection)
          Prepare SQL statement for execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLParser

public SQLParser(java.lang.String query)
Method Detail

parse

public SQLParser parse(java.util.Map<?,?> params)
                throws java.lang.Exception
Throws:
java.lang.Exception

prepare

public java.sql.PreparedStatement prepare(java.sql.Connection connection)
                                   throws java.sql.SQLException,
                                          java.text.ParseException
Prepare SQL statement for execution.

Parameters:
connection -
Returns:
Throws:
java.sql.SQLException
java.text.ParseException