mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-11-26 02:42:24 -05:00
Get values for UpdateableDTO.YES and UpdateableDTO.NO from System Properties
This commit is contained in:
parent
d0e1e03756
commit
48e93aaa44
@ -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()'
|
||||
|
Loading…
Reference in New Issue
Block a user