Skip to content
Snippets Groups Projects
Commit 096ef9b4 authored by Martin Ledvinka's avatar Martin Ledvinka
Browse files

Renamed data source bean to prevent JMX name conflicts.

parent af59f73d
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ public class PersistenceConfig {
@Autowired
private Environment environment;
@Bean
@Bean(name = "ear-setup-ds")
public DataSource dataSource() {
final BoneCPDataSource ds = new BoneCPDataSource();
ds.setDriverClass(environment.getRequiredProperty("jdbc.driverClassName"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment