作者:mobiledu2502886077 | 来源:互联网 | 2023-09-17 20:41
本文整理了Java中org.eclipse.persistence.platform.database.DatabasePlatform.buildDropIndex()
本文整理了Java中org.eclipse.persistence.platform.database.DatabasePlatform.buildDropIndex()
方法的一些代码示例,展示了DatabasePlatform.buildDropIndex()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DatabasePlatform.buildDropIndex()
方法的具体详情如下:
包路径:org.eclipse.persistence.platform.database.DatabasePlatform
类名称:DatabasePlatform
方法名:buildDropIndex
暂无
代码示例
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core
/**
* INTERNAL:
* Return the drop type statement.
*/
public Writer buildDeletionWriter(AbstractSession session, Writer writer) throws ValidationException {
try {
writer.write(session.getPlatform().buildDropIndex(getTargetTable(), getName(), getQualifier()));
} catch (IOException ioException) {
throw ValidationException.fileError(ioException);
}
return writer;
}
代码示例来源:origin: com.haulmont.thirdparty/eclipselink
/**
* INTERNAL:
* Return the drop type statement.
*/
public Writer buildDeletionWriter(AbstractSession session, Writer writer) throws ValidationException {
try {
writer.write(session.getPlatform().buildDropIndex(getTargetTable(), getName(), getQualifier()));
} catch (IOException ioException) {
throw ValidationException.fileError(ioException);
}
return writer;
}
代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence
/**
* INTERNAL:
* Return the index drop statement.
*/
public Writer buildIndexDeletionWriter(AbstractSession session, String key, Writer writer) throws ValidationException {
try {
String indexName = buildIndexName(getName(), key,
session.getPlatform().getMaxIndexNameSize(), session.getPlatform());
writer.write(session.getPlatform().buildDropIndex(getFullName(),
indexName));
} catch (IOException ioException) {
throw ValidationException.fileError(ioException);
}
return writer;
}