Skip to content
Snippets Groups Projects

Fix issue with multi source persist, transactions not starting

Merged Martin Lowe requested to merge malowe/master/fix-msst into master
6 files
+ 62
80
Compare changes
  • Side-by-side
  • Inline
Files
6
 
package org.eclipsefoundation.persistence.deployment;
 
 
import io.quarkus.runtime.annotations.ConfigDocSection;
 
import io.quarkus.runtime.annotations.ConfigGroup;
 
import io.quarkus.runtime.annotations.ConfigItem;
 
import io.quarkus.runtime.annotations.ConfigRoot;
 
 
@ConfigRoot(name = "eclipse.persistence")
 
public class EclipsePersistenceConfig {
 
 
/**
 
* contains data for the multi-source single-tenant settings.
 
*/
 
@ConfigDocSection
 
@ConfigItem
 
public MultiSourceSingleTenantConfig msst;
 
 
@ConfigGroup
 
public static class MultiSourceSingleTenantConfig {
 
/**
 
* Whether the multi-source single tenant code should be enabled.
 
*/
 
@ConfigItem(defaultValue = "false")
 
public Boolean enabled;
 
 
/**
 
* The datasource name used for the secondary source used for read access.
 
*/
 
@ConfigItem(defaultValue = "secondary")
 
public String datasource;
 
}
 
}
Loading