@@ -53,18 +53,6 @@ public interface EntityTuplizer extends Tuplizer {
53
53
*/
54
54
public EntityMode getEntityMode ();
55
55
56
- /**
57
- * Create an entity instance initialized with the given identifier.
58
- *
59
- * @param id The identifier value for the entity to be instantiated.
60
- * @return The instantiated entity.
61
- * @throws HibernateException
62
- *
63
- * @deprecated Use {@link #instantiate(Serializable, SessionImplementor)} instead.
64
- */
65
- @ SuppressWarnings ( {"JavaDoc" })
66
- public Object instantiate (Serializable id ) throws HibernateException ;
67
-
68
56
/**
69
57
* Create an entity instance initialized with the given identifier.
70
58
*
@@ -75,20 +63,6 @@ public interface EntityTuplizer extends Tuplizer {
75
63
*/
76
64
public Object instantiate (Serializable id , SessionImplementor session );
77
65
78
- /**
79
- * Extract the identifier value from the given entity.
80
- *
81
- * @param entity The entity from which to extract the identifier value.
82
- *
83
- * @return The identifier value.
84
- *
85
- * @throws HibernateException If the entity does not define an identifier property, or an
86
- * error occurs accessing its value.
87
- *
88
- * @deprecated Use {@link #getIdentifier(Object,SessionImplementor)} instead.
89
- */
90
- public Serializable getIdentifier (Object entity ) throws HibernateException ;
91
-
92
66
/**
93
67
* Extract the identifier value from the given entity.
94
68
*
@@ -99,19 +73,6 @@ public interface EntityTuplizer extends Tuplizer {
99
73
*/
100
74
public Serializable getIdentifier (Object entity , SessionImplementor session );
101
75
102
- /**
103
- * Inject the identifier value into the given entity.
104
- * </p>
105
- * Has no effect if the entity does not define an identifier property
106
- *
107
- * @param entity The entity to inject with the identifier value.
108
- * @param id The value to be injected as the identifier.
109
- *
110
- * @deprecated Use {@link #setIdentifier(Object, Serializable, SessionImplementor)} instead.
111
- */
112
- @ SuppressWarnings ( {"JavaDoc" })
113
- public void setIdentifier (Object entity , Serializable id ) throws HibernateException ;
114
-
115
76
/**
116
77
* Inject the identifier value into the given entity.
117
78
* </p>
@@ -123,19 +84,6 @@ public interface EntityTuplizer extends Tuplizer {
123
84
*/
124
85
public void setIdentifier (Object entity , Serializable id , SessionImplementor session );
125
86
126
- /**
127
- * Inject the given identifier and version into the entity, in order to
128
- * "roll back" to their original values.
129
- *
130
- * @param entity The entity for which to reset the id/version values
131
- * @param currentId The identifier value to inject into the entity.
132
- * @param currentVersion The version value to inject into the entity.
133
- *
134
- * @deprecated Use {@link #resetIdentifier(Object, Serializable, Object, SessionImplementor)} instead
135
- */
136
- @ SuppressWarnings ( {"UnusedDeclaration" })
137
- public void resetIdentifier (Object entity , Serializable currentId , Object currentVersion );
138
-
139
87
/**
140
88
* Inject the given identifier and version into the entity, in order to
141
89
* "roll back" to their original values.
0 commit comments