Small documentation and internal updates

This commit is contained in:
Christian Beikov 2022-01-20 15:37:59 +01:00
parent ffd72a7d60
commit 7fa2fd0588
3 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,7 @@ import org.hibernate.type.descriptor.jdbc.TimestampJdbcType;
* datatype is supported). Depends on the frequency of DML operations...
*
* @author Steve Ebersole
* @deprecated We should replace this with a different contract to handle DB generation
* @deprecated Use {@link org.hibernate.tuple.ValueGeneration} instead
*/
@Deprecated
public class DbTimestampType extends AbstractSingleColumnStandardBasicType<Date> {

View File

@ -13,6 +13,7 @@ import java.sql.SQLException;
import java.util.Map;
import org.hibernate.HibernateException;
import org.hibernate.Internal;
import org.hibernate.MappingException;
import org.hibernate.engine.jdbc.Size;
import org.hibernate.engine.spi.Mapping;
@ -34,6 +35,7 @@ import org.hibernate.engine.spi.SharedSessionContractImplementor;
* @author Gavin King
* @author Steve Ebersole
*/
@Internal
public interface Type extends Serializable {
/**
* Return true if the implementation is castable to {@link AssociationType}. This does not necessarily imply that

View File

@ -30,7 +30,7 @@ import jakarta.persistence.TemporalType;
* Wrapper Java type descriptor for that uses the database timestamp as seed value for versions.
*
* @author Christian Beikov
* @deprecated We should replace this with a different contract to handle DB generation
* @deprecated Use {@link org.hibernate.tuple.ValueGeneration} instead
*/
@Deprecated
public class DbTimestampJavaType<T> implements VersionJavaType<T>, TemporalJavaType<T> {