You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.Boolean (java.lang.Integer and java.lang.Boolean are in module java.base of loader 'bootstrap')
val isOpenSubQuery = StudentLessonEntity
.slice(StudentLessonEntity.id)
.select {
(StudentLessonEntity.studentId eq studentId and
(StudentLessonEntity.courseId eq courseId) and
(StudentLessonEntity.lessonId eq LessonEntity.id))
}
val isOpen = exists(isOpenSubQuery).alias("is_open")
java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.Boolean (java.lang.Integer and java.lang.Boolean are in module java.base of loader 'bootstrap')
and I run query:
Mapper:
And this line
isLocked = this[isOpen]
happened crashThe text was updated successfully, but these errors were encountered: