example-generator/src/main/java/com/example/generator/Application.java
@Bean
    public DataSource dataSource_plain() {
        
        SimpleDriverDataSource ds =
                new SimpleDriverDataSource();
        
        ds.setDriverClass(null);
        ds.setUrl("jdbc:oracle:thin:@<server>[:<1521>]:<database_name>");
        ds.setUsername("");
        ds.setPassword("");
        
        return ds;
    }
@Bean
    public DataSource dataSource_plain() {
        
        SimpleDriverDataSource ds =
                new SimpleDriverDataSource();
        
        ds.setDriverClass(null);
        ds.setUrl("jdbc:oracle:thin:@<server>[:<1521>]:<database_name>");
        ds.setUsername("");
        ds.setPassword("");
        
        return ds;
    }
Use this data source to connect to an existing database.