DATAJDBC-186 - Removed requirement for id properties.
It is now ok for an entity to be “new” after saving.
We now only check that an entity is not new when the id is provided by the database.
If in such a case the entity is still “new” after saving it basically means obtaining the id from JDBC and setting it in the entity failed.
Removed need for entities in maps to have an id.
Together these changes simplify the requirements for Map values, which now can be value objects.
pull/49/merge
Jens Schauder8 years agocommitted byGreg Turnquist
@ -89,25 +89,25 @@ public class DefaultDataAccessStrategy implements DataAccessStrategy {
@@ -89,25 +89,25 @@ public class DefaultDataAccessStrategy implements DataAccessStrategy {
@ -198,6 +198,8 @@ public class DefaultDataAccessStrategy implements DataAccessStrategy {
@@ -198,6 +198,8 @@ public class DefaultDataAccessStrategy implements DataAccessStrategy {