kotlin-exposed

    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熱度

    1回答

    我已經添加了一些Postgresql類型以Exposed作爲擴展。它有兩種現成的類型,名稱分別爲enumeration和enumerationByName。我測試了這兩個都沒有成功將postgre枚舉類型映射到Kotlin枚舉類。在這兩種讀取和寫入它會引發錯誤 enum class TicketStatus(val status: String) { Open("open"),

    0熱度

    1回答

    我試圖將庫Exposed添加到我的項目中。所以,它導致我到the bintray page它說,使用compile 'org.jetbrains.exposed:exposed:0.8.5'。我打開我的文件build.gradle並將該文件放置到dependencies段: dependencies { compile "org.jetbrains.kotlin:kotlin-stdli

    2熱度

    2回答

    我想運行一些特定於postgres的sql,並且希望重用Exposed中的事務管理。