From 48e93aaa44c15f48b9dbe0b210a4ae2298257e26 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Tue, 22 Apr 2014 15:02:35 -0400 Subject: [PATCH] Get values for UpdateableDTO.YES and UpdateableDTO.NO from System Properties --- .../src/main/java/com/moparisthebest/jdbc/UpdateableDTO.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beehive-jdbc-mapper/src/main/java/com/moparisthebest/jdbc/UpdateableDTO.java b/beehive-jdbc-mapper/src/main/java/com/moparisthebest/jdbc/UpdateableDTO.java index 8053075..52cac10 100644 --- a/beehive-jdbc-mapper/src/main/java/com/moparisthebest/jdbc/UpdateableDTO.java +++ b/beehive-jdbc-mapper/src/main/java/com/moparisthebest/jdbc/UpdateableDTO.java @@ -16,8 +16,8 @@ public abstract class UpdateableDTO implements Finishable { private String tableName; private String whereClause; - public static final String YES = "Y"; - public static final String NO = "N"; + public static final String YES = System.getProperty("UpdateableDTO.YES", "Y"); + public static final String NO = System.getProperty("UpdateableDTO.NO", "N"); /** * Will always return YES or NO from this class, so they CAN be compared with object equality '==' instead of '.equals()'