[
https://issues.redhat.com/browse/TEIIDSB-153?page=com.atlassian.jira.plug...
]
Steven Hawkins resolved TEIIDSB-153.
------------------------------------
Resolution: Done
Updated the example property and used the transactional annotation to prevent exceptions
related to not using a spring managed transaction.
RDBMS example failing
---------------------
Key: TEIIDSB-153
URL:
https://issues.redhat.com/browse/TEIIDSB-153
Project: Teiid Spring Boot
Issue Type: Bug
Components: examples
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Major
Fix For: 1.3.0
Running the rdbms Application we get:
{code}
Caused by: java.lang.IllegalArgumentException: jdbcUrl is required with driverClassName.
at com.zaxxer.hikari.HikariConfig.validate(HikariConfig.java:951)
~[HikariCP-3.2.0.jar:na]
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:109)
~[HikariCP-3.2.0.jar:na]
at
org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157)
~[spring-jdbc-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at
org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115)
~[spring-jdbc-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78)
~[spring-jdbc-5.1.8.RELEASE.jar:5.1.8.RELEASE]
at
org.springframework.jdbc.datasource.init.DatabasePopulatorUtils.execute(DatabasePopulatorUtils.java:46)
~[spring-jdbc-5.1.8.RELEASE.jar:5.1.8.RELEASE]
... 46 common frames omitted
{code}
Just needs a property change.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)