Removed deprecated non-static methods from LobTypeMappings and NationalizedTypeMappings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
parent
8e068d7647
commit
7931e9c755
|
@ -17,34 +17,9 @@ import org.hibernate.type.descriptor.JdbcTypeNameMapper;
|
|||
*/
|
||||
public final class LobTypeMappings {
|
||||
|
||||
/**
|
||||
* Singleton access
|
||||
* @deprecated use the static method helpers instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public static final LobTypeMappings INSTANCE = new LobTypeMappings();
|
||||
|
||||
private LobTypeMappings() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return true if corresponding Lob code exists; false otherwise.
|
||||
* @deprecated use {@link #isMappedToKnownLobCode(int)}
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean hasCorrespondingLobCode(final int jdbcTypeCode) {
|
||||
return isMappedToKnownLobCode( jdbcTypeCode );
|
||||
}
|
||||
|
||||
/**
|
||||
* @return corresponding Lob code
|
||||
* @deprecated use {@link #getLobCodeTypeMapping(int)}
|
||||
*/
|
||||
@Deprecated
|
||||
public int getCorrespondingLobCode(final int jdbcTypeCode) {
|
||||
return getLobCodeTypeMapping( jdbcTypeCode );
|
||||
}
|
||||
|
||||
public static boolean isMappedToKnownLobCode(final int jdbcTypeCode) {
|
||||
return
|
||||
// BLOB mappings
|
||||
|
@ -98,5 +73,4 @@ public final class LobTypeMappings {
|
|||
) );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -23,13 +23,6 @@ public final class NationalizedTypeMappings {
|
|||
|
||||
private static final Logger log = Logger.getLogger( NationalizedTypeMappings.class );
|
||||
|
||||
/**
|
||||
* Singleton access
|
||||
* @deprecated use the static methods instead
|
||||
*/
|
||||
@Deprecated
|
||||
public static final NationalizedTypeMappings INSTANCE = new NationalizedTypeMappings();
|
||||
|
||||
private NationalizedTypeMappings() {
|
||||
}
|
||||
|
||||
|
@ -46,15 +39,4 @@ public final class NationalizedTypeMappings {
|
|||
return jdbcCode;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #toNationalizedTypeCode(int)}
|
||||
*
|
||||
* @return corresponding nationalized code
|
||||
*/
|
||||
@Deprecated
|
||||
public int getCorrespondingNationalizedCode(int jdbcCode) {
|
||||
return toNationalizedTypeCode( jdbcCode );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue