dataSource or dataSourceClassName must be specified
Closed this issue · 2 comments
Hi,
Iam experiencing this error on loading the plugin.
java.lang.IllegalStateException: one of either dataSource or dataSourceClassName must be specified
Iam using "com.zaxxer" % "HikariCP" % "1.2.9"
I added db.default.datasource="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" to application.conf.
Is there a better way to set this property?
Thanks for providing this plugin.
No. This is the intended functionality. You can have many Datasources (just like Drivers) for a particular database. It'd be awesome to have cleaner documentation.
On Feb 21, 2014, at 3:44, OliverKK notifications@github.com wrote:
I added db.default.datasource="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" to application.conf.
Is there a better way to set this property?Thanks for providing this plugin.
—
Reply to this email directly or view it on GitHub.