kotlin-exposed

    0热度

    1回答

    我试图将库Exposed添加到我的项目中。所以,它导致我到the bintray page它说,使用compile 'org.jetbrains.exposed:exposed:0.8.5'。我打开我的文件build.gradle并将该文件放置到dependencies段: dependencies { compile "org.jetbrains.kotlin:kotlin-stdli

    4热度

    1回答

    在JetBrains公司暴露出来,一个科特林SQL框架GitHub的页面,有一个页面,您可以得到行家依赖此库(https://bintray.com/kotlin/exposed/exposed/view#)的链接。在MVNRepository(https://mvnrepository.com/artifact/org.jetbrains.exposed/exposed/0.7.6)上也可以找到

    2热度

    1回答

    我用Exposed作为我的数据库库,当我尝试运行我的代码我得到这些错误: Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/reflect/full/KClasses at org.jetbrains.exposed.sql.Table.clone(Table.kt:196) at org.jet

    1热度

    3回答

    根据Exposed上提供的示例,我无法读取创建它的事务外部创建的表/数据。我正在使用h2-in-memory数据库。 唯一的例外是: Exception in thread "main" org.h2.jdbc.JdbcSQLException: Table "CITIES" not found; SQL statement: 我添加了一个调用commit,但是这并不能帮助。如果我在创建数据的

    2热度

    2回答

    我想运行一些特定于postgres的sql,并且希望重用Exposed中的事务管理。

    2热度

    1回答

    我已经添加了一些Postgresql类型以Exposed作为扩展。它有两种现成的类型,名称分别为enumeration和enumerationByName。我测试了这两个都没有成功将postgre枚举类型映射到Kotlin枚举类。在这两种读取和写入它会引发错误 enum class TicketStatus(val status: String) { Open("open"),