Robert von Burg
9ad71317f7
[New] basic implementation of Order and Resource DAOs implemented
...
Including tests for both DAOs. Only for DOM. SAX is not yet supported!
2013-10-24 21:49:56 +02:00
Robert von Burg
c57693d9c3
[New] Added a ModelBuilder to conveniently create Resources and Orders
2013-10-24 21:49:04 +02:00
Robert von Burg
f5dbc076d4
[New] added basic configuration model
2013-10-24 21:47:16 +02:00
Robert von Burg
42e3173153
[Project] added dependency management of li.strolch.testbase
2013-10-24 21:46:19 +02:00
Robert von Burg
98e7490164
[New] Now all date parsing and formatting is done using ISO8601
2013-10-24 21:45:50 +02:00
Robert von Burg
59635eddf1
[Minor] modified how objects are added to the ObjectFilter
...
Now objects are not added by their class names, but the type is
retrieved from the object reference
2013-10-24 21:45:11 +02:00
Robert von Burg
2ccccd6b9e
[New] added IS8601 formatting helpers
2013-10-24 21:43:16 +02:00
Robert von Burg
5df4b9edc1
[New] added MathHelper for precision assertions
2013-10-24 21:43:06 +02:00
Robert von Burg
8efe85d6c8
Initial commit
2013-10-24 11:29:06 -07:00
Robert von Burg
80a7a326e0
[Minor] JavaDoc clarification
2013-10-24 20:07:34 +02:00
Robert von Burg
6b12b31605
[Minor] cleaned up compiler warnings and added Tags constants class
2013-10-24 18:37:47 +02:00
Robert von Burg
081937d453
[Minor] cleaned up the pom.xml
2013-10-23 23:16:29 +02:00
Robert von Burg
8a6b212248
[New] added basic configuration modl
2013-10-23 23:15:26 +02:00
Robert von Burg
55462432b6
[Project] set a parent to li.strolch.parent for easier managing
2013-10-23 21:11:49 +02:00
Robert von Burg
ebc7115565
[Project] added dependency management of ch.eitchnet.privilege
2013-10-23 20:28:52 +02:00
Robert von Burg
364d8dc013
[Project] added module li.strolch.service
2013-10-23 20:10:36 +02:00
Robert von Burg
70258baf7c
[Project] set a parent to li.strolch.parent for easier managing
2013-10-23 20:10:00 +02:00
Robert von Burg
a5ad111236
Initial Commit
2013-10-23 20:00:48 +02:00
Robert von Burg
c7ce6ead76
Initial Commit
2013-10-23 19:59:32 +02:00
Robert von Burg
2f8900374f
Initial Commit
2013-10-23 19:59:07 +02:00
Robert von Burg
08a7f29e1b
Added ignores of eclipse files
2013-10-23 19:58:24 +02:00
Robert von Burg
703c8081a3
Initial Commit
2013-10-23 19:58:02 +02:00
Robert von Burg
d26a369042
Added ignores of eclipse files
2013-10-23 19:56:47 +02:00
Robert von Burg
2d46756427
Added ignores of eclipse files
2013-10-23 19:56:33 +02:00
Robert von Burg
2961211417
Initial Commit
2013-10-23 19:56:05 +02:00
Robert von Burg
f5431e0f0e
Initial Commit
2013-10-23 19:55:25 +02:00
Robert von Burg
cf6b5bbea9
Initial commit
2013-10-23 10:48:13 -07:00
Robert von Burg
61fef4d5c9
Initial commit
2013-10-23 10:47:32 -07:00
Robert von Burg
cae2b4d5c4
Initial commit
2013-10-23 10:46:34 -07:00
Robert von Burg
3af2005dd0
Initial commit
2013-10-23 10:44:50 -07:00
Robert von Burg
35e91e0464
Initial commit
2013-10-23 10:43:40 -07:00
Robert von Burg
f24a10992c
[New] added test to check acquiring locks
...
Added a test which checks that a TX fails if a lock can not be acquired,
but succeeds before the timeout to acquire the lock is exceeded.
Further fixed the brittle tests by using a different semaphore to
synchronize the threads.
2013-10-21 18:48:23 +02:00
Robert von Burg
87f82e1979
[New] implemented locking for all persistence operations
...
A LockingTest tests the locking, but still needs to be extended to test
further use cases, but basic locking works.
2013-10-20 01:14:59 +02:00
Robert von Burg
f176960ba9
[New] added ObjectFilter.getAll() further informations
...
added ObjectFilter.getAll(Class, String) and
ObjectFilter.getAll(Class<V> clazz)
2013-10-20 00:17:20 +02:00
Robert von Burg
3c006b541a
[New] implemented a test to allow multiple operations
...
This test makes sure that updating after adding, or any other operation
in the same TX works properly. Found a problem where the
PersistenceContext didn't implement hashCode() and equals() which lead
to each operation being added even though a previous operation was
already registered
2013-10-19 21:28:11 +02:00
Robert von Burg
3c623bd20c
[Project] Set maven parent for this project to ch.eitchnet.parent
2013-10-19 21:28:02 +02:00
Robert von Burg
5be5cd3fa0
[Minor] fixed compiler warnings
2013-10-19 17:49:27 +02:00
Robert von Burg
30ddf3cfbf
[New] implemented a basic test for multiple realms (mandates)
2013-10-19 17:45:33 +02:00
Robert von Burg
977d604a95
[New] created tests for object with no subType
...
This is implemented with the Book model in the test folder
2013-10-19 17:44:59 +02:00
Robert von Burg
bce78769c0
[New] added testing of the *byId() methods
...
Here i found a conceptual problem where the *byId() methods didn't
properly resolve ObjectRefs and add them to the TX because, we added the
ObjectRefs to the filter, which made the TX resolve PersistenContexts by
the wrong type.
Now we always add the same type of object to the ObjectFilter; the
PersistentContext. This means that when we call ObjectDao.add(T), etc.
we must already create such the context. This helps resolve another
issue at the back of my mind: We don't want to partially commit a TX if
such a basic information as the object's CTX is not available.
2013-10-19 17:43:36 +02:00
Robert von Burg
a0d5904db9
[Minor] added default IoMode, so that it must no be set on each TX
2013-10-16 18:53:32 +02:00
Robert von Burg
0d106c0714
[Minor] refactored tests to have a base class for cleaning up and
...
preparing the db store
2013-10-16 07:59:03 +02:00
Robert von Burg
4c7f0fc460
[Major] implemented new ObjectRef referencing of objects with locking
...
Locking is not yet implemented, but is now prepared. This is once again
a major rewrite but this has lead to easier use and less if/else
constructs but far more object oriented delegation and double
dispatching where possible
2013-10-15 22:26:58 +02:00
Robert von Burg
200f2081ec
[New] added a new ClassHelper utility class
2013-10-08 22:02:42 +02:00
Robert von Burg
601692d3d9
[New] added further constants to StringHelper
2013-10-08 19:57:40 +02:00
Robert von Burg
d3e77afef2
[Minor] cleaned up compiler warnings
2013-10-08 19:00:27 +02:00
Robert von Burg
41a7198cdd
[New] added newline constant to StringHelper
2013-10-08 18:57:27 +02:00
Robert von Burg
3357787f32
[Major] rewrite is working with ObjectDao with including operations
2013-10-08 18:49:46 +02:00
Robert von Burg
ca9c21e0e2
[New] rewrite is now working as test.
2013-10-06 18:42:55 +02:00
Robert von Burg
f81dec8939
[New] working on rewrite
2013-10-06 12:32:57 +02:00