I've only just realised, after months of poking ab...
# exposed
v
I've only just realised, after months of poking about, that in Exposed DAO approach the class is supposed to be a DAO! I've been writing an
object PAGE : LongIdTable()
, a
class Pages(id: EntityID<Long>) : LongEntity(id) { companion object : LongEntityClass<Pages>(PAGE) ... }
, a DAO class
class PageDao {...}
, a service class
class PageService
and a view model class
class PageVM
. No wonder I was getting really lost.