Simple (Easy) Object Relational Mapping for Java
Sormula is a Java library that moves data between Java objects and relational database tables.
* Easy to Use
* Simple to Understand
* Minimal Configuration
* Portable
It provides select, insert, update, and delete, and many other common operations. One-to-one and one-to-many cascading for unlimited levels. Simplified IN operator parameter as java.util.Collection. Custom conversions between any Java class/type and column type.
* Works with any relational database. Tested with H2, HSQLDB, Derby, SQLiteJDBC, MySQL, MariaDB, Firebird, DB2, Oracle 11g, PostgreSQL.
* Performs as fast as plain JDBC. Performs faster than plain JDBC when caching is enabled.
* Zero-configuration, zero-annotation use is possible.
* Active record pattern may be used but is not required.
Maven
<dependency>
<groupId>org.sormula</groupId>
<artifactId>sormula</artifactId>
<version>4.3</version>
</dependency>
Features
- CRUD-ready, POJO-friendly
- Simple to program, configure, and understand
- Active record pattern is supported but is not required
- Creates standard SQL therefore works with any SQL database
- http://www.sormula.org
- https://github.com/jeff-miller/sormula
License
GNU General Public License version 3.0 (GPLv3)Follow Sormula
User Reviews
-
First ORM that works out of the box. Almost no configuration (annotations) needed. Very nice!
-
Sormula is a excellent tool for data access logic. We have been using it for the past month and it has been reliable with multiple read write transactions and ease of use. I highly recommend this product for developers that work with relational databases.