Java輕量級數據庫訪問層:SeQuaLite

jopen 11年前發布 | 23K 次閱讀 Java 持久層框架

SeQuaLite是一個輕量級,java數據存取框架(整個jar包不到80k)。支持CRUD操作。支持對象懶加載,通過創建代理對象或空對象 來代替,等有需要時再加載。支持級聯保存與級聯刪除操作。SeQuaLite使用 prepared statement來執行查詢,因此它更快,更安全。使用SeQuaLite能夠避免SQL注入安全威脅。SeQuaLite能夠創建和執行復雜的查詢 /DML,并支持分頁。

特性:

  • Supports C(INSERT)R(SELECT)U(UPDATE)D(DELETE) operations.
  • Supports Lazy-Loading of Objects in an Object Tree. Object can be created as a PROXY or as a NULL object and loaded later when required.
  • Supports save cascade and delete cascade operations.
  • SeQuaLite uses prepared statements for queries. So it's faster and secure. Avoid SQL injections by using SeQuaLite.
  • On the fly query generations.
  • Complex queries / DMLs can be created and used.
  • Supports Paginations. It's easy to created paginated reports.
  • Use sql operators or equaivalent operators in java. This reduces development time significantly. Please see the sample code section for examples.
  • Uses JDK Logging. All executed SQLs are logged if logLevel is set.
  • And many more.

SeQuaLite 的結構框圖:

Java輕量級數據庫訪問層:SeQuaLite

項目主頁:http://www.baiduhome.net/lib/view/home/1357893715547

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!