@@ -151,32 +151,32 @@ public Configuration(Environment environment) {
151
151
}
152
152
153
153
public Configuration () {
154
- typeAliasRegistry .registerAlias ("JDBC" , JdbcTransactionFactory .class . getName () );
155
- typeAliasRegistry .registerAlias ("MANAGED" , ManagedTransactionFactory .class . getName () );
156
- typeAliasRegistry .registerAlias ("JNDI" , JndiDataSourceFactory .class . getName () );
157
- typeAliasRegistry .registerAlias ("POOLED" , PooledDataSourceFactory .class . getName () );
158
- typeAliasRegistry .registerAlias ("UNPOOLED" , UnpooledDataSourceFactory .class . getName () );
159
-
160
- typeAliasRegistry .registerAlias ("PERPETUAL" , PerpetualCache .class . getName () );
161
- typeAliasRegistry .registerAlias ("FIFO" , FifoCache .class . getName () );
162
- typeAliasRegistry .registerAlias ("LRU" , LruCache .class . getName () );
163
- typeAliasRegistry .registerAlias ("SOFT" , SoftCache .class . getName () );
164
- typeAliasRegistry .registerAlias ("WEAK" , WeakCache .class . getName () );
165
-
166
- typeAliasRegistry .registerAlias ("VENDOR" , VendorDatabaseIdProvider .class . getName () );
167
-
168
- typeAliasRegistry .registerAlias ("XML" , XMLLanguageDriver .class . getName () );
169
- typeAliasRegistry .registerAlias ("RAW" , RawLanguageDriver .class . getName () );
170
-
171
- typeAliasRegistry .registerAlias ("SLF4J" , Slf4jImpl .class . getName () );
172
- typeAliasRegistry .registerAlias ("COMMONS_LOGGING" , JakartaCommonsLoggingImpl .class . getName () );
173
- typeAliasRegistry .registerAlias ("LOG4J" , Log4jImpl .class . getName () );
174
- typeAliasRegistry .registerAlias ("JDK_LOGGING" , Jdk14LoggingImpl .class . getName () );
175
- typeAliasRegistry .registerAlias ("STDOUT_LOGGING" , StdOutImpl .class . getName () );
176
- typeAliasRegistry .registerAlias ("NO_LOGGING" , NoLoggingImpl .class . getName () );
154
+ typeAliasRegistry .registerAlias ("JDBC" , JdbcTransactionFactory .class );
155
+ typeAliasRegistry .registerAlias ("MANAGED" , ManagedTransactionFactory .class );
156
+ typeAliasRegistry .registerAlias ("JNDI" , JndiDataSourceFactory .class );
157
+ typeAliasRegistry .registerAlias ("POOLED" , PooledDataSourceFactory .class );
158
+ typeAliasRegistry .registerAlias ("UNPOOLED" , UnpooledDataSourceFactory .class );
159
+
160
+ typeAliasRegistry .registerAlias ("PERPETUAL" , PerpetualCache .class );
161
+ typeAliasRegistry .registerAlias ("FIFO" , FifoCache .class );
162
+ typeAliasRegistry .registerAlias ("LRU" , LruCache .class );
163
+ typeAliasRegistry .registerAlias ("SOFT" , SoftCache .class );
164
+ typeAliasRegistry .registerAlias ("WEAK" , WeakCache .class );
165
+
166
+ typeAliasRegistry .registerAlias ("VENDOR" , VendorDatabaseIdProvider .class );
167
+
168
+ typeAliasRegistry .registerAlias ("XML" , XMLLanguageDriver .class );
169
+ typeAliasRegistry .registerAlias ("RAW" , RawLanguageDriver .class );
170
+
171
+ typeAliasRegistry .registerAlias ("SLF4J" , Slf4jImpl .class );
172
+ typeAliasRegistry .registerAlias ("COMMONS_LOGGING" , JakartaCommonsLoggingImpl .class );
173
+ typeAliasRegistry .registerAlias ("LOG4J" , Log4jImpl .class );
174
+ typeAliasRegistry .registerAlias ("JDK_LOGGING" , Jdk14LoggingImpl .class );
175
+ typeAliasRegistry .registerAlias ("STDOUT_LOGGING" , StdOutImpl .class );
176
+ typeAliasRegistry .registerAlias ("NO_LOGGING" , NoLoggingImpl .class );
177
177
178
- typeAliasRegistry .registerAlias ("CGLIB" , CglibProxyFactory .class . getName () );
179
- typeAliasRegistry .registerAlias ("JAVASSIST" , JavassistProxyFactory .class . getName () );
178
+ typeAliasRegistry .registerAlias ("CGLIB" , CglibProxyFactory .class );
179
+ typeAliasRegistry .registerAlias ("JAVASSIST" , JavassistProxyFactory .class );
180
180
181
181
languageRegistry .setDefaultDriverClass (XMLLanguageDriver .class );
182
182
languageRegistry .register (RawLanguageDriver .class );
0 commit comments