Code formatting. Removed few superfluous lines of code.
Renamed JdbcInterpreter to DefaultJdbcInterpreter.
The prefix Jdbc doesn't really carry much information in the SD JDBC project.
Renamed jdbcConverter fields to jdbcEntityWriter in order to match the type names.
Renamed DbChange to AggregateChange.
It isn't really about the database but about the aggregate.
pull/9/merge
Jens Schauder9 years agocommitted byGreg Turnquist
privatestaticfinalStringENTITY_NEW_AFTER_INSERT="Entity [%s] still 'new' after insert. Please set either"
+" the id property in a before insert event handler, or ensure the database creates a value and your "
+" the id property in a BeforeInsert event handler, or ensure the database creates a value and your "
+"JDBC driver returns it.";
privatefinalApplicationEventPublisherpublisher;
@ -73,8 +73,8 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@@ -73,8 +73,8 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@ -83,10 +83,10 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@@ -83,10 +83,10 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@ -99,11 +99,11 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@@ -99,11 +99,11 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@ -118,9 +118,9 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@@ -118,9 +118,9 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@ -177,8 +177,13 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@@ -177,8 +177,13 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@ -199,7 +204,7 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@@ -199,7 +204,7 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@ -225,7 +230,6 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@@ -225,7 +230,6 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@ -235,30 +239,30 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@@ -235,30 +239,30 @@ public class JdbcEntityTemplate implements JdbcEntityOperations {
@ -31,28 +31,28 @@ public class JdbcEntityDeleteWriter extends JdbcEntityWriterSupport {
@@ -31,28 +31,28 @@ public class JdbcEntityDeleteWriter extends JdbcEntityWriterSupport {
@ -40,39 +40,40 @@ public class JdbcEntityWriter extends JdbcEntityWriterSupport {
@@ -40,39 +40,40 @@ public class JdbcEntityWriter extends JdbcEntityWriterSupport {
@ -80,17 +81,17 @@ public class JdbcEntityWriter extends JdbcEntityWriterSupport {
@@ -80,17 +81,17 @@ public class JdbcEntityWriter extends JdbcEntityWriterSupport {
@ -46,8 +46,6 @@ public class JdbcRepositoryFactory extends RepositoryFactorySupport {
@@ -46,8 +46,6 @@ public class JdbcRepositoryFactory extends RepositoryFactorySupport {