Class UniqueKeyHelper.NullUniqueKeyValue
java.lang.Object
com.kingsrook.qqq.backend.core.actions.tables.helpers.UniqueKeyHelper.NullUniqueKeyValue
- All Implemented Interfaces:
Serializable
- Enclosing class:
UniqueKeyHelper
To make a list of unique key values here behave like they do in an RDBMS
(which is what we're trying to mimic - which is - 2 null values in a field
aren't considered the same, so they don't violate a unique key) (at least, that's
how some RDBMS's work, right??) - use this value instead of nulls in the
output of getKeyValues - where interestingly, this class always returns
false in it equals method... Unclear how bad this is, e.g., if it's violating
the contract for equals and hashCode...
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NullUniqueKeyValue
public NullUniqueKeyValue()
-
-
Method Details
-
equals
-