Implemented BasicValue#accept method

This commit is contained in:
Andrea Boriero 2021-11-15 18:21:02 +01:00 committed by Andrea Boriero
parent 115234e70e
commit 8042cc2cdb
2 changed files with 6 additions and 1 deletions

View File

@ -777,6 +777,11 @@ public class BasicValue extends SimpleValue implements JdbcTypeDescriptorIndicat
return temporalPrecision; return temporalPrecision;
} }
@Override
public Object accept(ValueVisitor visitor) {
return visitor.accept(this);
}
/** /**
* Resolved form of {@link BasicValue} as part of interpreting the * Resolved form of {@link BasicValue} as part of interpreting the
* boot-time model into the run-time model * boot-time model into the run-time model

View File

@ -4,7 +4,7 @@
* License: GNU Lesser General Public License (LGPL), version 2.1 or later. * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/ */
package org.hibernate.test.mapping; package org.hibernate.orm.test.mapping;
import org.hibernate.boot.MetadataSources; import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistry; import org.hibernate.boot.registry.StandardServiceRegistry;