Class PersistenceUpgraderContext

java.lang.Object
org.apache.syncope.core.persistence.jpa.upgrade.PersistenceUpgraderContext

@Configuration(proxyBeanMethods=false) public class PersistenceUpgraderContext extends Object
  • Constructor Details

    • PersistenceUpgraderContext

      public PersistenceUpgraderContext()
  • Method Details

    • syncopeDataSource

      @Bean public DataSource syncopeDataSource(@Value("${db.jdbcDriverClassName}") String jdbcDriver, @Value("${db.jdbcURL}") String jdbcURL, @Value("${db.username}") String dbUser, @Value("${db.password}") String dbPassword)
    • jdbcConf

      @Bean public org.apache.openjpa.jdbc.conf.JDBCConfiguration jdbcConf(DataSource syncopeDataSource, @Value("${db.jdbcDriverClassName}") String jdbcDriver, @Value("${db.dictionary}") String dbDictionary)
    • generateUpgradeSQL

      @Bean public GenerateUpgradeSQL generateUpgradeSQL(org.apache.openjpa.jdbc.conf.JDBCConfiguration jdbcConf)