public class Mssql2000TableScriptCreator extends BaseTableScriptCreator
| 限定符和类型 | 字段和说明 | 
|---|---|
| static Map<String,String> | TYPE_MAPPING | 
| 构造器和说明 | 
|---|
| Mssql2000TableScriptCreator(String dbName) | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| String | alterField(PropertyVO propertyVO)修改字段类型、长度 | 
| String | createField(PropertyVO propertyVO)创建字段 | 
| String | createIndexKey(PropertyVO propertyVO) | 
| String | createPrimaryKey(PropertyVO propertyVO) | 
| String | createTable(EntityVO entityVO) | 
| String | dropField(PropertyVO propertyVO) | 
| String | dropIndexKey(PropertyVO propertyVO) | 
| String | dropPrimaryKey(String tableName) | 
| String | droptable(String tableName) | 
| boolean | exist(String tableName) | 
| boolean | exist(String tableName,
     String fieldName) | 
| String | getEndSignTag() | 
| List<EntityVO> | getEntities() | 
| EntityVO | getEntity(String tableName)获取表中所有字段列表 | 
| List<String> | getEntityNames() | 
| String | getMappingType(PropertyVO propertyVO) | 
| Map<String,PropertyVO> | getProperties(String tableName) | 
| String | getStartSignTag() | 
| int | getTableFieldLength(String tableName,
                   String fieldName)获取真实的数据字段长度 | 
| String | getTableFieldType(String tableName,
                 String fieldName)获取真实数据库的字段的类型 | 
| boolean | isExistIndexKey(PropertyVO propertyVO) | 
| boolean | isExistPrimaryKey(String tableName) | 
createUnique, dropUnique, getProperty, isEqualsProperty, isEqualsProperty, saveTablepublic Mssql2000TableScriptCreator(String dbName)
public String getStartSignTag()
public String getEndSignTag()
public String createTable(EntityVO entityVO) throws SQLException
SQLExceptionpublic String dropField(PropertyVO propertyVO)
public String createField(PropertyVO propertyVO) throws SQLException
TableScriptInterfaceSQLExceptionpublic boolean exist(String tableName, String fieldName) throws SQLException
exist 在接口中 TableScriptInterfaceexist 在类中 BaseTableScriptCreatorSQLExceptionpublic boolean exist(String tableName) throws SQLException
exist 在接口中 TableScriptInterfaceexist 在类中 BaseTableScriptCreatorSQLExceptionpublic boolean isExistPrimaryKey(String tableName) throws SQLException
isExistPrimaryKey 在接口中 TableScriptInterfaceisExistPrimaryKey 在类中 BaseTableScriptCreatorSQLExceptionpublic String dropPrimaryKey(String tableName)
dropPrimaryKey 在接口中 TableScriptInterfacedropPrimaryKey 在类中 BaseTableScriptCreatorpublic String createPrimaryKey(PropertyVO propertyVO)
createPrimaryKey 在接口中 TableScriptInterfacecreatePrimaryKey 在类中 BaseTableScriptCreatorpublic String getTableFieldType(String tableName, String fieldName) throws SQLException
getTableFieldType 在接口中 TableScriptInterfacegetTableFieldType 在类中 BaseTableScriptCreatorSQLExceptionpublic int getTableFieldLength(String tableName, String fieldName) throws SQLException
getTableFieldLength 在接口中 TableScriptInterfacegetTableFieldLength 在类中 BaseTableScriptCreatorSQLExceptionpublic String alterField(PropertyVO propertyVO) throws SQLException
alterField 在接口中 TableScriptInterfacealterField 在类中 BaseTableScriptCreatorSQLExceptionpublic EntityVO getEntity(String tableName) throws SQLException
getEntity 在接口中 TableScriptInterfacegetEntity 在类中 BaseTableScriptCreatorSQLExceptionpublic Map<String,PropertyVO> getProperties(String tableName) throws SQLException
SQLExceptionpublic String getMappingType(PropertyVO propertyVO) throws SQLException
getMappingType 在接口中 TableScriptInterfacegetMappingType 在类中 BaseTableScriptCreatorSQLExceptionpublic List<EntityVO> getEntities() throws SQLException
getEntities 在接口中 TableScriptInterfacegetEntities 在类中 BaseTableScriptCreatorSQLExceptionpublic List<String> getEntityNames() throws SQLException
SQLExceptionpublic String dropIndexKey(PropertyVO propertyVO) throws SQLException
dropIndexKey 在类中 BaseTableScriptCreatorSQLExceptionpublic String createIndexKey(PropertyVO propertyVO) throws SQLException
createIndexKey 在类中 BaseTableScriptCreatorSQLExceptionpublic boolean isExistIndexKey(PropertyVO propertyVO) throws SQLException
isExistIndexKey 在类中 BaseTableScriptCreatorSQLExceptionCopyright © 2025. All rights reserved.