We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I've been developing DB Interface with Kotlin Exposed and encountered some problem
My code is below
object Users : IntIdTable("User") { val name : Column = varchar("name", 45) val email : Column = varchar("email", 45) val facebookID : Column = varchar("facebook_id", 45) ..... }
and the error is
2020-06-01 11:24:58.208 WARN 8316 --- [nio-8080-exec-3] Exposed : Transaction attempt #2 failed: java.sql.SQLSyntaxErrorException: Unknown column 'User.' in 'field list'. Statement(s): SELECT User.id, User.name, User.email, User.facebook_id FROM User WHERE User.id = ?
User
name
I hope to use "Users" as DB interface object of Kotlin.
How can I specify the table name?
The text was updated successfully, but these errors were encountered:
Sorry, It's my fault. It is not a bug
Sorry, something went wrong.
No branches or pull requests
Hello,
I've been developing DB Interface with Kotlin Exposed
and encountered some problem
My code is below
object Users : IntIdTable("User") {
val name : Column = varchar("name", 45)
val email : Column = varchar("email", 45)
val facebookID : Column = varchar("facebook_id", 45)
.....
}
and the error is
2020-06-01 11:24:58.208 WARN 8316 --- [nio-8080-exec-3] Exposed : Transaction attempt #2 failed: java.sql.SQLSyntaxErrorException: Unknown column 'User.' in 'field list'. Statement(s): SELECT
User
.id,User
.name
,User
.email,User
.facebook_id FROMUser
WHEREUser
.id = ?I hope to use "Users" as DB interface object of Kotlin.
How can I specify the table name?
The text was updated successfully, but these errors were encountered: