@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 PersistenceService |
persistenceService |
protected List<Map<String,Map<String,Object>>> |
targetModeMaps |
protected StreamingTransactionCapableUtil |
transUtil |
Constructor and Description |
---|
SequenceGeneratorCorruptionDetection() |
Modifier and Type | Method and Description |
---|---|
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
protected void |
patchSequenceGeneratorInconsistencies(javax.persistence.EntityManager em,
org.hibernate.Session session) |
protected PersistenceService persistenceService
protected StreamingTransactionCapableUtil transUtil
@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()
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
protected void patchSequenceGeneratorInconsistencies(javax.persistence.EntityManager em, org.hibernate.Session session)
Copyright © 2022. All rights reserved.