annotate ValueGeneration impls in annotation package @Internal
This commit is contained in:
parent
366a89ae71
commit
cc9ecfb94d
|
@ -6,6 +6,7 @@
|
||||||
*/
|
*/
|
||||||
package org.hibernate.annotations;
|
package org.hibernate.annotations;
|
||||||
|
|
||||||
|
import org.hibernate.Internal;
|
||||||
import org.hibernate.dialect.Dialect;
|
import org.hibernate.dialect.Dialect;
|
||||||
import org.hibernate.tuple.AnnotationValueGeneration;
|
import org.hibernate.tuple.AnnotationValueGeneration;
|
||||||
import org.hibernate.tuple.GenerationTiming;
|
import org.hibernate.tuple.GenerationTiming;
|
||||||
|
@ -20,6 +21,7 @@ import org.hibernate.tuple.ValueGenerator;
|
||||||
*
|
*
|
||||||
* @author Steve Ebersole
|
* @author Steve Ebersole
|
||||||
*/
|
*/
|
||||||
|
@Internal
|
||||||
public class CurrentTimestampGeneration implements AnnotationValueGeneration<CurrentTimestamp> {
|
public class CurrentTimestampGeneration implements AnnotationValueGeneration<CurrentTimestamp> {
|
||||||
private GenerationTiming timing;
|
private GenerationTiming timing;
|
||||||
private ValueGenerator<?> generator;
|
private ValueGenerator<?> generator;
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
package org.hibernate.annotations;
|
package org.hibernate.annotations;
|
||||||
|
|
||||||
import org.hibernate.AssertionFailure;
|
import org.hibernate.AssertionFailure;
|
||||||
|
import org.hibernate.Internal;
|
||||||
import org.hibernate.Session;
|
import org.hibernate.Session;
|
||||||
import org.hibernate.dialect.Dialect;
|
import org.hibernate.dialect.Dialect;
|
||||||
import org.hibernate.engine.jdbc.spi.JdbcCoordinator;
|
import org.hibernate.engine.jdbc.spi.JdbcCoordinator;
|
||||||
|
@ -40,6 +41,7 @@ import static org.hibernate.tuple.GenerationTiming.ALWAYS;
|
||||||
* @deprecated because {@link Source} is generated, though this implementation is instructive
|
* @deprecated because {@link Source} is generated, though this implementation is instructive
|
||||||
*/
|
*/
|
||||||
@Deprecated(since = "6.2")
|
@Deprecated(since = "6.2")
|
||||||
|
@Internal
|
||||||
public class SourceGeneration implements AnnotationValueGeneration<Source>, ValueGenerator<Object> {
|
public class SourceGeneration implements AnnotationValueGeneration<Source>, ValueGenerator<Object> {
|
||||||
|
|
||||||
private static final CoreMessageLogger log = Logger.getMessageLogger(
|
private static final CoreMessageLogger log = Logger.getMessageLogger(
|
||||||
|
|
Loading…
Reference in New Issue