Robert von Burg
c3fe4bdec6
[Project] clean up
2014-09-20 00:35:00 +02:00
Robert von Burg
cf1a613535
[Minor] cleanup
2014-09-19 21:53:09 +02:00
Robert von Burg
9d87fded75
[Minor] set parent version to 1.0.0-SNAPSHOT
2014-09-19 21:12:10 +02:00
Robert von Burg
3fbf73fd15
[Minor] code cleanup
2014-09-14 12:19:49 +02:00
Robert von Burg
75199bc6b7
[Project] set version to 1.0.0-SNAPSHOT
2014-08-24 18:17:41 +02:00
Robert von Burg
ced1848b76
[Project] set version to 1.0.0-SNAPSHOT
2014-08-24 17:21:59 +02:00
Robert von Burg
930e85fdfe
[New] exposing FileDao in Transaction so users can bypass tx
2014-08-23 20:47:37 +02:00
Robert von Burg
97bd4fa089
[Minor] removed setting of object on CTX - do by FactoryDelegator
...
When you implement a ContextFactory, and create the PersistenceContext,
then set the object as well
2014-08-23 20:46:58 +02:00
Robert von Burg
b38c57e424
[Minor] renamed test classes
2014-08-17 14:02:00 +02:00
Robert von Burg
d236d8589b
[Project] using parent version 1.1.0-SNAPSHOT
2014-08-14 16:23:30 +02:00
Robert von Burg
8b1af0667b
[New] Added method ObjectDao.hasElement()
2014-08-04 11:47:01 +02:00
Robert von Burg
ec5ff685a3
[New] Added new ObjectDao.removeAllBy() methods
2014-07-31 16:09:10 +02:00
Robert von Burg
f2bf91e202
Merge branch 'master' of git@github.com:eitch/ch.eitchnet.xmlpers.git
2014-03-27 18:58:27 +01:00
Robert von Burg
2adf809515
[Minor] code formatting
2014-03-27 18:50:14 +01:00
Robert von Burg
44613163cb
[Project] fixed urls of projects
2014-03-14 14:36:16 +01:00
Robert von Burg
2647115f6f
[Minor] added realm name to log message on TX commit
2014-02-19 00:07:55 +01:00
Robert von Burg
da45d3238e
[Minor] switched to StringHelper.isNotEmpty()
2014-01-31 18:59:34 +01:00
Robert von Burg
e6e184c16c
[Project] added Jenkins build badge to README.md
2014-01-23 22:52:28 +01:00
Robert von Burg
aad2b447b9
[Minor] added some JavaDoc to TransactionResult
2014-01-11 17:35:19 +01:00
Robert von Burg
40eec73bb1
[Bugfix] fixed missing exception on transaction result on error case
2014-01-10 23:14:17 +01:00
Robert von Burg
54fd73942b
[Minor] fixed issue where eclipse couldn't validate log4j.xml
2013-12-25 11:56:02 +01:00
Robert von Burg
d35baa5a48
[Minor] set some loggers to debug
2013-12-24 02:42:49 +01:00
Robert von Burg
24a62bb01d
[Bugfix] fixed a bug where queryTypeSet() failed on MetadataDao
2013-12-24 01:47:11 +01:00
Robert von Burg
5820265d1e
[Minor] minor code cleanup
2013-12-23 01:21:42 +01:00
Robert von Burg
6305bdc69f
[Minor] caught an NPE when the Transaction fails but no cause is set
2013-12-22 23:03:14 +01:00
Robert von Burg
6bff06669f
[Project] Changed all licence references to Apache License 2.0
2013-12-15 13:38:36 +01:00
Robert von Burg
f3a9f55007
[Minor] Removed unused method
2013-12-15 12:29:05 +01:00
Robert von Burg
23d8a1e0ce
[New] implemented a TransactionResult
...
This allows reflecting on actual changes performed by the transaction if
this is needed by the caller. One use case would be to perform observer
updates after a transaction was completed.
2013-11-14 21:29:45 +01:00
Robert von Burg
2665aa31b6
[New] implemented a TransactionResult
...
This allows reflecting on actual changes performed by the transaction if
this is needed by the caller. One use case would be to perform observer
updates after a transaction was completed.
2013-11-14 19:21:49 +01:00
Robert von Burg
a591479379
[Minor] cleaned up .gitignore
2013-10-28 18:56:51 +01:00
Robert von Burg
c69ebe8e24
Update LockingTest.java
2013-10-28 15:49:48 +01:00
Robert von Burg
ff5304a1a0
Update LockingTest.java
2013-10-28 15:46:08 +01:00
Robert von Burg
549d8fb8a7
Update LockableObject.java
2013-10-28 15:40:21 +01:00
Robert von Burg
9ea4929497
[Minor] set parent to 0.1.0-SNAPSHOT
2013-10-27 23:06:35 +01: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
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
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
d3e77afef2
[Minor] cleaned up compiler warnings
2013-10-08 19:00: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