Kotiln
[Kotlin] 엔티티로 테이블 이름 가져오기
블린더르
2020. 4. 13. 10:36
val tableAnno = entityClass.annotations.find { it.annotationClass === Table::class } as? Table
val tableName = tableAnno?.name
반응형