public class IdentifierDaoImpl extends org.springframework.jdbc.core.support.JdbcDaoSupport implements IdentifierDao
| Constructor and Description |
|---|
IdentifierDaoImpl(DataSource dataSource)
Default constructor for creating instance of this class.
|
IdentifierDaoImpl(DataSource dataSource,
String gmoDbDialect,
String gmoDbSchema)
Constructor supports different dialects from DialectRegistry, not using DialectRegistry.getDialectTemplate()
|
| Modifier and Type | Method and Description |
|---|---|
long |
getUniqueId(String region)
Retrieves next sequence value using region param as sequence name
|
public IdentifierDaoImpl(DataSource dataSource)
dataSource - data source that dao will be usingDialectRegistry,
DialectTemplatepublic IdentifierDaoImpl(DataSource dataSource, String gmoDbDialect, String gmoDbSchema)
dataSource - data source that dao will be usinggmoDbDialect - - dialect supported by predefined dialects from registrygmoDbSchema - - optional DataBase schema for tablesDialectRegistrypublic long getUniqueId(String region)
IdentifierDaogetUniqueId in interface IdentifierDaoregion - sequence nameCopyright © 2021. All rights reserved.