All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.datasource.DynamicDataSourceObject Maven / Gradle / Ivy

The newest version!
package org.zodiac.datasource;

import org.zodiac.datasource.config.DatabaseType;
import org.zodiac.datasource.switcher.DataSourceSwitcher;

public interface DynamicDataSourceObject {

    /**
     * @return 数据源ID
     * @see DataSourceSwitcher#currentDataSourceId()
     */
    String getId();

    /**
     * @return 数据库类型
     * @see DatabaseType
     */
    DatabaseType getType();

    /**
     * @return 原始数据源
     */
    T getNative();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy