在kotlin项目中通过休眠连接到数据库

任何人都可以分享一些链接,详细解释如何使用Kotlin休眠?

我想使用hibernate从基本的kotlin项目连接到mysql数据库。