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

动手写 Active Record

  •  
  •   gongzili456 ·
    gongzili456 · Jul 23, 2014 · 3008 views
    This topic created in 4315 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   ·   2969 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:37 · PVG 22:37 · LAX 07:37 · JFK 10:37
    ♥ Do have faith in what you're doing.