Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message: Error 1059 - #42000 - Identifier name too long #129

Open
rhande-mdsol opened this issue Feb 10, 2021 · 0 comments
Open

Message: Error 1059 - #42000 - Identifier name too long #129

rhande-mdsol opened this issue Feb 10, 2021 · 0 comments

Comments

@rhande-mdsol
Copy link

rhande-mdsol commented Feb 10, 2021

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant