简化 JDBC 对象持久化的类库:ObjectiveSync

jopen 10年前

ObjectiveSync 是简化 JDBC 对象持久化的类库。 它提供单一的语法来抓取和更新数据;类似 Ruby 一样对象化 JDBC 异常处理的抓取;允许用户自定义深度抓取和更新(类似 Hibernate);提供批量处理 API,避免提交多个查询;提供静态数据收集功能。

  • Minimal wrapper over JDBC.
  • Querying done in SQL. You should not be afraid of SQL. If you are, you should not be doing anything above the trivial CRUD.
  • Centralizing object marshaling and unmarshaling - each object should know how to sync itself and its descendents
  • Single syntax for inserting and updating
  • Ruby-like objectivized JDBC fetching with exception handling
  • User-definable deep fetching and updating (almost Hibernate-like).
  • Batch API to avoid round-trips when submitting multiple queries.
  • Stats collection and similar stuff.

项目主页:http://www.open-open.com/lib/view/home/1403223622168