com.scooterframework.orm.sqldataexpress.parser
Class JdbcStatementHelper

java.lang.Object
  extended by com.scooterframework.orm.sqldataexpress.parser.JdbcStatementHelper
Direct Known Subclasses:
JdbcStatementParser, ParameterMetaDataLoader

public class JdbcStatementHelper
extends java.lang.Object

JdbcStatementHelper class has helper methods that are used by parser classes.


Field Summary
protected  LogUtil log
           
 
Constructor Summary
JdbcStatementHelper()
           
 
Method Summary
protected  int getInlineSqlDataTypeFromToken(java.lang.String token)
           
protected  java.lang.String getNameFromToken(int positionIndex, java.lang.String token)
           
protected  java.lang.String replaceWords(java.lang.String message, java.lang.String oldWord, java.lang.String newWord)
           
protected  java.lang.String resetAlias(java.lang.String message)
           
protected  java.lang.String resetSpace(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected LogUtil log
Constructor Detail

JdbcStatementHelper

public JdbcStatementHelper()
Method Detail

resetAlias

protected java.lang.String resetAlias(java.lang.String message)

resetSpace

protected java.lang.String resetSpace(java.lang.String message)

replaceWords

protected java.lang.String replaceWords(java.lang.String message,
                                        java.lang.String oldWord,
                                        java.lang.String newWord)

getNameFromToken

protected java.lang.String getNameFromToken(int positionIndex,
                                            java.lang.String token)

getInlineSqlDataTypeFromToken

protected int getInlineSqlDataTypeFromToken(java.lang.String token)