Java Code Examples for org.hibernate.internal.util.collections.ArrayHelper#FALSE
The following examples show how to use
org.hibernate.internal.util.collections.ArrayHelper#FALSE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: NonEmptyMapToBlobType.java From scheduling with GNU Affero General Public License v3.0 | 5 votes |
@Override public boolean[] toColumnNullness(Object value, Mapping mapping) { if (value instanceof Map && ((Map) value).isEmpty()) { return ArrayHelper.FALSE; } return super.toColumnNullness(value, mapping); }
Example 2
Source File: DiscriminatorType.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public boolean[] toColumnNullness(Object value, Mapping mapping) { return value == null ? ArrayHelper.FALSE : ArrayHelper.TRUE; }
Example 3
Source File: AbstractStandardBasicType.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public boolean[] toColumnNullness(Object value, Mapping mapping) { return value == null ? ArrayHelper.FALSE : ArrayHelper.TRUE; }
Example 4
Source File: ImmutableType.java From hibernate-types with Apache License 2.0 | 4 votes |
@Override public boolean[] toColumnNullness(Object value, Mapping mapping) { return value == null ? ArrayHelper.FALSE : ArrayHelper.TRUE; }
Example 5
Source File: ImmutableType.java From hibernate-types with Apache License 2.0 | 4 votes |
@Override public boolean[] toColumnNullness(Object value, Mapping mapping) { return value == null ? ArrayHelper.FALSE : ArrayHelper.TRUE; }
Example 6
Source File: ImmutableType.java From hibernate-types with Apache License 2.0 | 4 votes |
@Override public boolean[] toColumnNullness(Object value, Mapping mapping) { return value == null ? ArrayHelper.FALSE : ArrayHelper.TRUE; }
Example 7
Source File: ImmutableType.java From hibernate-types with Apache License 2.0 | 4 votes |
@Override public boolean[] toColumnNullness(Object value, Mapping mapping) { return value == null ? ArrayHelper.FALSE : ArrayHelper.TRUE; }