• 请不要在回答技术问题时复制粘贴 AI 生成的内容
gongzili456
V2EX  ›  程序员

动手写 Active Record

  •  
  •   gongzili456 ·
    gongzili456 · Jul 23, 2014 · 3122 views
    This topic created in 4367 days ago, the information mentioned may be changed or developed.
    自己封装了一个active record模式的通用方法。
    https://github.com/gongzili456/JActiveRecord
    写的不好,请各位给提提建议,共同进步。
    Supplement 1  ·  Jul 25, 2014
    项目已重构,移至https://github.com/gongzili456/geeekrDB
    2 replies    2014-07-24 13:38:30 +08:00
    incompatible
        1
    incompatible  
       Jul 23, 2014
    DbServer的insert()、update()、delete()中没有关闭Connection和Statement
    gongzili456
        2
    gongzili456  
    OP
       Jul 24, 2014
    @incompatible 已修改,谢谢提醒!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   904 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 20:38 · PVG 04:38 · LAX 13:38 · JFK 16:38
    ♥ Do have faith in what you're doing.