All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.procedure.ParameterBind Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.procedure;

import javax.persistence.TemporalType;

/**
 * Describes an input value binding for any IN/INOUT parameters.
 */
public interface ParameterBind {
	/**
	 * Retrieves the bound value.
	 *
	 * @return The bound value.
	 */
	T getValue();

	/**
	 * If {@code } represents a DATE/TIME type value, JPA usually allows specifying the particular parts of
	 * the DATE/TIME value to be bound.  This value represents the particular part the user requested to be bound.
	 *
	 * @return The explicitly supplied TemporalType.
	 */
	TemporalType getExplicitTemporalType();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy