V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
lululau
V2EX  ›  Kotlin

各位公司项目后端有用 Kotlin + Spring 的吗, DB 层框架选用的什么?

  •  
  •   lululau · Jul 20, 2020 · 5189 views
    This topic created in 2106 days ago, the information mentioned may be changed or developed.

    JPA? Hibernate? MyBatis? Exposed?

    5 replies    2021-02-20 17:21:45 +08:00
    Kaakira
        1
    Kaakira  
       Jul 20, 2020
    Jooq
    ourslay
        2
    ourslay  
       Jul 21, 2020 via iPhone
    Spring Data Jdbc + Mybatis
    KentY
        3
    KentY  
       Jul 27, 2020
    你问的有问题. 你列举的不是数据库层的东西, 是 O-R mapping 的.
    再由, JPA 是 specification, however, Hibernate is one of its implementations.
    我们新起的后端项目大多数都是 kotlin + spring 了, 数据库都是 Azure SQL 有的项目需要 ELT 到 Postgres.
    凡是用 spring 大部分都用了 hibernate. 个别几个有特殊需要的用 jdbctemplate 还有的更个别的用的 Java 的 jdbc PreparedStatement 调用数据库的 store procedure, 因为 hibernate 以及其它简化的封装影响性能.
    qingluo
        4
    qingluo  
       Jan 4, 2021
    目前在 util test service+这些层次在用, 考虑 do 用 java,其他全部用 kotlin
    TuYanzheng
        5
    TuYanzheng  
       Feb 20, 2021 via Android
    自己在做项目,用的是 ktorm
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5624 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 08:36 · PVG 16:36 · LAX 01:36 · JFK 04:36
    ♥ Do have faith in what you're doing.