[BAEL-10781] - Added code for spring data rest pagination

This commit is contained in:
amit2103
2019-01-14 00:37:51 +05:30
parent 4d90ca6c58
commit d16167ea63
3 changed files with 56 additions and 4 deletions

View File

@@ -64,22 +64,22 @@ public class DbConfig {
@Configuration
@Profile("h2")
@PropertySource("persistence-h2.properties")
@PropertySource("classpath:persistence-h2.properties")
class H2Config {}
@Configuration
@Profile("hsqldb")
@PropertySource("persistence-hsqldb.properties")
@PropertySource("classpath:persistence-hsqldb.properties")
class HsqldbConfig {}
@Configuration
@Profile("derby")
@PropertySource("persistence-derby.properties")
@PropertySource("classpath:persistence-derby.properties")
class DerbyConfig {}
@Configuration
@Profile("sqlite")
@PropertySource("persistence-sqlite.properties")
@PropertySource("classpath:persistence-sqlite.properties")
class SqliteConfig {}