V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
gongzili456
V2EX  ›  程序员

动手写 Active Record

  •  
  •   gongzili456 ·
    gongzili456 · Jul 23, 2014 · 2995 views
    This topic created in 4309 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   ·   5238 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 05:40 · PVG 13:40 · LAX 22:40 · JFK 01:40
    ♥ Do have faith in what you're doing.