@Test(expected = IllegalStateException.class) public void testConfigureGeneratedId() { new TestDatabaseType().configureGeneratedId(null, new StringBuilder(), null, new ArrayList<String>(), null, new ArrayList<String>(), new ArrayList<String>()); }
protected void configureGeneratedId(String tableName, StringBuilder sb, FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter, List<String> additionalArgs, List<String> queriesAfter) { throw new IllegalStateException( "GeneratedId is not supported by database " + getDatabaseName() + " for field " + fieldType); }
BaseDatabaseType implements DatabaseType { protected void configureGeneratedId(String tableName, StringBuilder sb, FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter, List<String> additionalArgs, List<String> queriesAfter) { throw new IllegalStateException( "GeneratedId is not supported by database " + getDatabaseName() + " for field " + fieldType); } }
BaseDatabaseType implements DatabaseType { protected void configureGeneratedId(String tableName, StringBuilder sb, FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter, List<String> additionalArgs, List<String> queriesAfter) { throw new IllegalStateException( "GeneratedId is not supported by database " + getDatabaseName() + " for field " + fieldType); }  }
BaseDatabaseType implements DatabaseType { protected void configureGeneratedId(String tableName, StringBuilder sb, FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter, List<String> additionalArgs, List<String> queriesAfter) { throw new IllegalStateException( "GeneratedId is not supported by database " + getDatabaseName() + " for field " + fieldType); }  @Override void loadDriver(); @Override void setDriver(Driver driver); @Override void appendColumnArg(String tableName, StringBuilder sb, FieldType fieldType, List<String> additionalArgs,
			List<String> statementsBefore, List<String> statementsAfter, List<String> queriesAfter); @Override void addPrimaryKeySql(FieldType[] fieldTypes, List<String> additionalArgs, List<String> statementsBefore,
			List<String> statementsAfter, List<String> queriesAfter); @Override void addUniqueComboSql(FieldType[] fieldTypes, List<String> additionalArgs, List<String> statementsBefore,
			List<String> statementsAfter, List<String> queriesAfter); @Override void dropColumnArg(FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter); @Override void appendEscapedWord(StringBuilder sb, String word); @Override void appendEscapedEntityName(StringBuilder sb, String name); @Override String generateIdSequenceName(String tableName, FieldType idFieldType); @Override String getCommentLinePrefix(); @Override DataPersister getDataPersister(DataPersister defaultPersister, FieldType fieldType); @Override FieldConverter getFieldConverter(DataPersister dataPersister, FieldType fieldType); @Override boolean isIdSequenceNeeded(); @Override boolean isVarcharFieldWidthSupported(); @Override boolean isLimitSqlSupported(); @Override boolean isOffsetSqlSupported(); @Override boolean isOffsetLimitArgument(); @Override boolean isLimitAfterSelect(); @Override void appendLimitValue(StringBuilder sb, long limit, Long offset); @Override void appendOffsetValue(StringBuilder sb, long offset); @Override void appendSelectNextValFromSequence(StringBuilder sb, String sequenceName); @Override void appendCreateTableSuffix(StringBuilder sb); @Override boolean isCreateTableReturnsZero(); @Override boolean isCreateTableReturnsNegative(); @Override boolean isEntityNamesMustBeUpCase(); @Override String upCaseEntityName(String entityName); @Override boolean isNestedSavePointsSupported(); @Override String getPingStatement(); @Override boolean isBatchUseTransaction(); @Override boolean isTruncateSupported(); @Override boolean isCreateIfNotExistsSupported(); @Override boolean isCreateIndexIfNotExistsSupported(); @Override boolean isSelectSequenceBeforeInsert(); @Override boolean isAllowGeneratedIdInsertSupported(); @Override DatabaseTableConfig<T> extractDatabaseTableConfig(ConnectionSource connectionSource, Class<T> clazz); @Override void appendInsertNoColumns(StringBuilder sb); }
BaseDatabaseType implements DatabaseType { protected void configureGeneratedId(String tableName, StringBuilder sb, FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter, List<String> additionalArgs, List<String> queriesAfter) { throw new IllegalStateException( "GeneratedId is not supported by database " + getDatabaseName() + " for field " + fieldType); }  @Override void loadDriver(); @Override void setDriver(Driver driver); @Override void appendColumnArg(String tableName, StringBuilder sb, FieldType fieldType, List<String> additionalArgs,
			List<String> statementsBefore, List<String> statementsAfter, List<String> queriesAfter); @Override void addPrimaryKeySql(FieldType[] fieldTypes, List<String> additionalArgs, List<String> statementsBefore,
			List<String> statementsAfter, List<String> queriesAfter); @Override void addUniqueComboSql(FieldType[] fieldTypes, List<String> additionalArgs, List<String> statementsBefore,
			List<String> statementsAfter, List<String> queriesAfter); @Override void dropColumnArg(FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter); @Override void appendEscapedWord(StringBuilder sb, String word); @Override void appendEscapedEntityName(StringBuilder sb, String name); @Override String generateIdSequenceName(String tableName, FieldType idFieldType); @Override String getCommentLinePrefix(); @Override DataPersister getDataPersister(DataPersister defaultPersister, FieldType fieldType); @Override FieldConverter getFieldConverter(DataPersister dataPersister, FieldType fieldType); @Override boolean isIdSequenceNeeded(); @Override boolean isVarcharFieldWidthSupported(); @Override boolean isLimitSqlSupported(); @Override boolean isOffsetSqlSupported(); @Override boolean isOffsetLimitArgument(); @Override boolean isLimitAfterSelect(); @Override void appendLimitValue(StringBuilder sb, long limit, Long offset); @Override void appendOffsetValue(StringBuilder sb, long offset); @Override void appendSelectNextValFromSequence(StringBuilder sb, String sequenceName); @Override void appendCreateTableSuffix(StringBuilder sb); @Override boolean isCreateTableReturnsZero(); @Override boolean isCreateTableReturnsNegative(); @Override boolean isEntityNamesMustBeUpCase(); @Override String upCaseEntityName(String entityName); @Override boolean isNestedSavePointsSupported(); @Override String getPingStatement(); @Override boolean isBatchUseTransaction(); @Override boolean isTruncateSupported(); @Override boolean isCreateIfNotExistsSupported(); @Override boolean isCreateIndexIfNotExistsSupported(); @Override boolean isSelectSequenceBeforeInsert(); @Override boolean isAllowGeneratedIdInsertSupported(); @Override DatabaseTableConfig<T> extractDatabaseTableConfig(ConnectionSource connectionSource, Class<T> clazz); @Override void appendInsertNoColumns(StringBuilder sb);  }