Commit Graph

11 Commits

Author SHA1 Message Date
Robert von Burg cbee61577f [Minor] Caught NPE on shutdown of PostgreSqlPersistenceHandler 2015-11-20 15:20:00 +01:00
Robert von Burg 29a88fe6ab [New] Added StrolchComponent.getConfiguration()
- and thus removed any instance variables to it in subclasses
2015-07-10 10:48:17 +02:00
Robert von Burg e2ac84ecdc [New][Devel] Work in progress of implementing ActivityMap
- Implemented PostgreSQL persistence

Still missing is the xml persistence implementation and fixing
the tests. Currently no tests were run, just trying to fix compile
errors
2015-06-29 08:34:14 +02:00
Robert von Burg 3a197d6629 [Minor] no need to catch init exception in PostgreSqlPersistenceHandler 2015-06-11 19:19:52 +02:00
Robert von Burg 521bd84ce0 [Major] StrolchComponent methods can now throw Exception
- execption handling is done in the ComponentContainerStateHandler
- clients now not need to worry about exceptions which would make them
  rethrow anyhow as a runtime exception
2015-06-11 19:19:52 +02:00
Robert von Burg 47881df2ee [Bugfix] shutdown the connection pool on agent destroy 2015-04-21 16:47:04 +02:00
Robert von Burg 31493f2fa1 [Major] PostgreSql now uses HikariCP for connection pooling 2015-04-21 15:04:51 +02:00
Robert von Burg cb5839d37a [Minor] allow dataInitialization if schemaDrop is disabled 2014-11-14 15:05:16 +01:00
Robert von Burg 85d1a4a145 [Major] refactored PostgreSQL DB schema validation
Now moved all generic schema generation code to ch.eitchnet.utils so it can be used by other projects
2014-11-14 00:07:53 +01:00
Robert von Burg 96740a571c [Major] Added a DB initialization mechanism
Now PostgreSQL implementation can import a configured dataStore if the persistence handler configuration property ‘allowDataInitOnSchemaCreate’. For this to work, the schema must have a migration status of CREATED, or DROPPED_CREATED on startup, or using the new method PersistenceHandler.performDbInitialization()-method. Further the properties ‘allowSchemaDrop’ and ‘allowSchemaCreate’ must be enabled.
2014-09-23 23:57:11 +02:00
Robert von Burg d101fa84fb moved everything to a subdirectory for repo merge 2014-09-16 08:52:23 +02:00
Renamed from src/main/java/li/strolch/persistence/postgresql/PostgreSqlPersistenceHandler.java (Browse further)