@Repository(value="blSequenceGeneratorCorruptionDetection") public class SequenceGeneratorCorruptionDetection extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
automaticallyCorrectInconsistencies |
protected String |
defaultSchemaSequenceGenerator |
protected boolean |
detectSequenceGeneratorInconsistencies |
protected javax.persistence.EntityManager |
em |
| Constructor and Description |
|---|
SequenceGeneratorCorruptionDetection() |
protected javax.persistence.EntityManager em
@Value(value="${detect.sequence.generator.inconsistencies}")
protected boolean detectSequenceGeneratorInconsistencies
@Value(value="${auto.correct.sequence.generator.inconsistencies}")
protected boolean automaticallyCorrectInconsistencies
@Value(value="${default.schema.sequence.generator}")
protected String defaultSchemaSequenceGenerator
public SequenceGeneratorCorruptionDetection()
@Transactional(value="blTransactionManager") public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>Copyright © 2017. All rights reserved.