
rapture.repo.postgres.PostgresStructuredStore Maven / Gradle / Ivy
/**
* Copyright (C) 2011-2015 Incapture Technologies LLC
*
* This is an autogenerated license statement. When copyright notices appear below
* this one that copyright supercedes this statement.
*
* Unless required by applicable law or agreed to in writing, software is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied.
*
* Unless explicit permission obtained in writing this software cannot be distributed.
*/
package rapture.repo.postgres;
import rapture.postgres.PostgresFactory;
import rapture.repo.jdbc.JDBCStructuredStore;
import rapture.repo.jdbc.TransactionAwareDataSource;
import rapture.structured.SqlGenerator;
public class PostgresStructuredStore extends JDBCStructuredStore {
@Override
public TransactionAwareDataSource getDataSource(String instanceName) {
return PostgresFactory.getDataSource(instanceName);
}
@Override
public SqlGenerator getSqlGenerator() {
return new PostgresSqlGenerator();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy