com.sqlapp.data.db.dialect.Firebird30 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlapp-core-firebird Show documentation
Show all versions of sqlapp-core-firebird Show documentation
sqlapp core Firebird dialect.
/**
* Copyright (C) 2007-2017 Tatsuo Satoh
*
* This file is part of sqlapp-core-firebird.
*
* sqlapp-core-firebird is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* sqlapp-core-firebird is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with sqlapp-core-firebird. If not, see .
*/
package com.sqlapp.data.db.dialect;
import java.util.function.Supplier;
import com.sqlapp.data.db.dialect.firebird.metadata.Firebird30CatalogReader;
import com.sqlapp.data.db.dialect.firebird.sql.Firebird30SqlRegistryFactory;
import com.sqlapp.data.db.metadata.CatalogReader;
import com.sqlapp.data.db.sql.SqlFactoryRegistry;
/**
* Firebird固有情報クラス
*
* @author SATOH
*
*/
public class Firebird30 extends Firebird25 {
protected Firebird30(Supplier nextVersionDialectSupplier) {
super(nextVersionDialectSupplier);
}
/**
* serialVersionUID
*/
private static final long serialVersionUID = 5526324282610211323L;
/**
* データ型の登録
*/
@Override
protected void registerDataType() {
super.registerDataType();
// Boolean
getDbDataTypes().addBoolean();
}
/**
* 同値判定
*/
@Override
public boolean equals(Object obj) {
if (!super.equals(obj)) {
return false;
}
return true;
}
/*
* (non-Javadoc)
*
* @see com.sqlapp.data.db.dialect.DbDialect#getCatalogReader()
*/
@Override
public CatalogReader getCatalogReader() {
return new Firebird30CatalogReader(this);
}
@Override
protected SqlFactoryRegistry createSqlFactoryRegistry() {
return new Firebird30SqlRegistryFactory(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy