com.jn.sqlhelper.dialect.sqlparser.SqlStatementWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlhelper-dialect Show documentation
Show all versions of sqlhelper-dialect Show documentation
Database dialects ( supports pagination, UrlParser, SqlStatementParser, WallFilter, BatchExecutor for Test)
based Java, you can use it in any ORM framework.
package com.jn.sqlhelper.dialect.sqlparser;
public interface SqlStatementWrapper {
String getOriginalSql();
void setOriginalSql(String sql);
void setStatement(Statement statement);
Statement get();
/**
* sql has changed ?
* @return true if the original sql was changed
*/
boolean isChanged();
void setChanged(boolean changed);
/**
*
* @return the new sql
*/
String getSql();
}