Package cronapi.jdbc
Class MSSQLMetadata
java.lang.Object
cronapi.jdbc.SQLAnsiMetadata
cronapi.jdbc.MSSQLMetadata
- All Implemented Interfaces:
DatabaseMetadata
-
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) Methods inherited from class cronapi.jdbc.SQLAnsiMetadata
getInsertSQLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cronapi.jdbc.DatabaseMetadata
getInsertSQL
-
Constructor Details
-
MSSQLMetadata
public MSSQLMetadata()
-
-
Method Details
-
limit
public String limit(net.sf.jsqlparser.statement.Statement statement, Connection connection, Integer top, Integer skip) throws Exception - Specified by:
limitin interfaceDatabaseMetadata- Overrides:
limitin classSQLAnsiMetadata- Throws:
Exception
-
count
- Specified by:
countin interfaceDatabaseMetadata- Overrides:
countin classSQLAnsiMetadata
-
getDictionary
public org.apache.openjpa.jdbc.sql.DBDictionary getDictionary(Connection connection) throws SQLException - Specified by:
getDictionaryin interfaceDatabaseMetadata- Overrides:
getDictionaryin classSQLAnsiMetadata- 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- Overrides:
getGeneratedin classSQLAnsiMetadata- Throws:
Exception
-
getExpressionProvider
- Specified by:
getExpressionProviderin interfaceDatabaseMetadata- Overrides:
getExpressionProviderin classSQLAnsiMetadata
-
getUpdateSQL
public String getUpdateSQL(String mainTable, String alias, String columns, String values, String where) - Specified by:
getUpdateSQLin interfaceDatabaseMetadata- Overrides:
getUpdateSQLin classSQLAnsiMetadata
-
getDeleteSQL
public String getDeleteSQL(String mainTable, String alias, String columns, String values, String where) - Specified by:
getDeleteSQLin interfaceDatabaseMetadata- Overrides:
getDeleteSQLin classSQLAnsiMetadata
-