Package cronapi.jdbc
Class SQLAnsiMetadata
- java.lang.Object
-
- cronapi.jdbc.SQLAnsiMetadata
-
- All Implemented Interfaces:
DatabaseMetadata
- Direct Known Subclasses:
FirebirdMetadata,MSSQLMetadata,MySQLMetadata,OracleMetadata,PostegreSQLMetadata
public class SQLAnsiMetadata extends Object implements DatabaseMetadata
-
-
Constructor Summary
Constructors Constructor Description SQLAnsiMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcount(net.sf.jsqlparser.statement.Statement statement, Connection connection)StringgetDeleteSQL(String mainTable, String alias, String columns, String values, String where)org.apache.openjpa.jdbc.sql.DBDictionarygetDictionary(Connection connection)org.apache.olingo.odata2.jpa.processor.core.ExpressionProvidergetExpressionProvider()Map<String,Object>getGenerated(org.apache.olingo.odata2.api.edm.EdmEntityType entity, PreparedStatement ps, Connection connection)StringgetInsertSQL(String mainTable, String alias, String columns, String values, String where)StringgetUpdateSQL(String mainTable, String alias, String columns, String values, String where)Stringlimit(net.sf.jsqlparser.statement.Statement statement, Connection connection, Integer top, Integer skip)
-
-
-
Method Detail
-
limit
public String limit(net.sf.jsqlparser.statement.Statement statement, Connection connection, Integer top, Integer skip) throws Exception
- Specified by:
limitin interfaceDatabaseMetadata- Throws:
Exception
-
count
public String count(net.sf.jsqlparser.statement.Statement statement, Connection connection)
- Specified by:
countin interfaceDatabaseMetadata
-
getDictionary
public org.apache.openjpa.jdbc.sql.DBDictionary getDictionary(Connection connection) throws SQLException
- Specified by:
getDictionaryin interfaceDatabaseMetadata- Throws:
SQLException
-
getGenerated
public Map<String,Object> getGenerated(org.apache.olingo.odata2.api.edm.EdmEntityType entity, PreparedStatement ps, Connection connection) throws Exception
- Specified by:
getGeneratedin interfaceDatabaseMetadata- Throws:
Exception
-
getExpressionProvider
public org.apache.olingo.odata2.jpa.processor.core.ExpressionProvider getExpressionProvider()
- Specified by:
getExpressionProviderin interfaceDatabaseMetadata
-
getInsertSQL
public String getInsertSQL(String mainTable, String alias, String columns, String values, String where)
- Specified by:
getInsertSQLin interfaceDatabaseMetadata
-
getUpdateSQL
public String getUpdateSQL(String mainTable, String alias, String columns, String values, String where)
- Specified by:
getUpdateSQLin interfaceDatabaseMetadata
-
getDeleteSQL
public String getDeleteSQL(String mainTable, String alias, String columns, String values, String where)
- Specified by:
getDeleteSQLin interfaceDatabaseMetadata
-
-