Open
Description
I was using scalikejdbc-sync and now i want to use
scalikejdbc-async.
I have added
"org.scalikejdbc" %% "scalikejdbc-async" % "0.14.+",
"com.github.jasync-sql" % "jasync-mysql" % "1.1.+"
to my dependencies
I am trying to setup a connection pool using
val ds: HikariDataSource = {
// read from config file
}
AsyncConnectionPool.singleton(ds.getJdbcUrl, ds.getUsername, ds.getPassword)
val query = SQLSyntax.createUnsafely(filteredQuery)
val result = AsyncDB.localTx { implicit tx =>
sql"$query"
.map(rs => rs.long(1))
.single()
.future()
}
but I get
Message: Error 1059 - #42000 - Identifier name is too long
The is nothing but my JDBC URL.
Is this a bug in the library ?
Metadata
Metadata
Assignees
Labels
No labels