File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
main/java/com/googlecode/scheme2ddl Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -171,13 +171,6 @@ private static List<String> extactSchemaListFromUserName(ConfigurableApplication
171
171
return list ;
172
172
}
173
173
174
- private static void fillSchemaListFromUserName (ConfigurableApplicationContext context ) {
175
- OracleDataSource dataSource = (OracleDataSource ) context .getBean ("dataSource" );
176
- String schemaName = dataSource .getUser ().split (" " )[0 ];
177
- schemaList = new ArrayList <String >();
178
- schemaList .add (schemaName );
179
- }
180
-
181
174
/**
182
175
* @param context
183
176
* @return existing bean 'schemaList', if this exists, or create and register new bean
Original file line number Diff line number Diff line change 17
17
</bean >
18
18
19
19
<!-- list of schema for processing, used only if oracle user connected as sysdba-->
20
- <util : list id =" schemaList" >
20
+ <!-- < util:list id="schemaList"> -- >
21
21
<!-- <value>SCOTT</value>-->
22
22
<!-- <value>HR</value>-->
23
- </util : list >
23
+ <!-- < /util:list> -- >
24
24
25
25
<bean id =" reader" class =" com.googlecode.scheme2ddl.UserObjectReader" scope =" step" >
26
26
<property name =" processPublicDbLinks" value =" true" />
You can’t perform that action at this time.
0 commit comments