Hi, Java 8 introduced a new type Optional which may be used to represent objects which may be set or not set:
private Optional<String> name; Hibernate Validator will allow to validate properties of this type in the next release. Now someone brought up the question whether the same is planned for ORM, so one can use Optional in entity properties. Any thoughts? Thanks, --Gunnar _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev