-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
db.asyncQueryBySql[String]("select name from User") is not working.
scala.ScalaReflectionException: constructor String encapsulates multiple overloaded alternatives and cannot be treated as a method. Consider invoking <offending symbol>.asTerm.alternatives and manually picking the required method
at scala.reflect.api.Symbols$SymbolApi$class.asMethod(Symbols.scala:228)
at scala.reflect.internal.Symbols$SymbolContextApiImpl.asMethod(Symbols.scala:84)
at com.emotioncity.soriento.ReflectionUtils$.constructor(ReflectionUtils.scala:28)
at com.emotioncity.soriento.loadbyname.DocumentFromConstructor.(ClassNameReadersRegistry.scala:36)