Package cronapi.jdbc
Class SQLAnsiMetadata
java.lang.Object
cronapi.jdbc.SQLAnsiMetadata
- All Implemented Interfaces:
DatabaseMetadata
- Direct Known Subclasses:
FirebirdMetadata,MSSQLMetadata,MySQLMetadata,OracleMetadata,PostegreSQLMetadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncount(net.sf.jsqlparser.statement.Statement statement, Connection connection) org.apache.openjpa.jdbc.sql.DBDictionarygetDictionary(Connection connection) getGenerated(org.apache.olingo.odata2.api.edm.EdmEntityType entity, PreparedStatement ps, Connection connection) limit(net.sf.jsqlparser.statement.Statement statement, Connection connection, Integer top, Integer skip)
-
Constructor Details
-
SQLAnsiMetadata
public SQLAnsiMetadata()
-
-
Method Details
-
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
- 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
- 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
-