@Test public void testQuery(){ Iterable<MetaDatabase> metaDatabases = metaDatabaseService.query(); for(MetaDatabase metaDatabase: metaDatabases) { System.out.println(metaDatabase.getId()); System.out.println(metaDatabase.getName()); System.out.println(metaDatabase.getLocation()); } }
public Iterable<MetaDatabase> query(){ return metaDatabaseRepository.findAll(); }
MetaDatabaseService { public Iterable<MetaDatabase> query(){ return metaDatabaseRepository.findAll(); } }
MetaDatabaseService { public Iterable<MetaDatabase> query(){ return metaDatabaseRepository.findAll(); }  }
MetaDatabaseService { public Iterable<MetaDatabase> query(){ return metaDatabaseRepository.findAll(); }  @Transactional void save(MetaDatabase metaDatabase); Iterable<MetaDatabase> query(); }
MetaDatabaseService { public Iterable<MetaDatabase> query(){ return metaDatabaseRepository.findAll(); }  @Transactional void save(MetaDatabase metaDatabase); Iterable<MetaDatabase> query();  }