MyBatis is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. MyBatis eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. MyBatis can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records. Every MyBatis application centers around an instance of SqlSessionFactory. A SqlSessionFactory instance can be acquired by using the SqlSessionFactoryBuilder. SqlSessionFactoryBuilder can build a SqlSessionFactory instance from an XML configuration file, or from a custom prepared instance of the Configuration class. Building a SqlSessionFactory instance from an XML file is very simple. It is recommended that you use a classpath resource for this configuration, but you could use any InputStream instance, including one created from a literal file path or a file:// URL.

Features

  • A first class persistence framework with support for custom SQL
  • Makes it easier to use a relational database with object-oriented applications
  • MyBatis couples objects with stored procedures
  • Uses a XML descriptor and annotations
  • MyBatis data mapper is simpler than other object relational mapping tools
  • Eliminates manual setting of parameters and retrieval of results

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow MyBatis

MyBatis Web Site

Other Useful Business Software
EHS Software and Management System Icon
EHS Software and Management System

ERA offers the only full EHS&Q platform with advanced automation to drive your complete compliance.

ERA Environmental Software Solutions develops web-based EHS management software for small, medium, and large manufacturers needing to comply with federal, provincial, and state regulations, monitor their air, water, and waste emissions and other environmental outputs, author and manage Safety Data Sheets (SDS) in more than 40 languages, or standardize their Health and Safety procedures for incident and inspection tracking, training delivery, and audit management. The platform also supports comprehensive reporting for programs like TRI, Tier II, Title V, NEI, and NPRI. Companies across the automotive, aerospace, general manufacturing, and paints and coatings industries, to name a few, rely on ERA’s all-in-one, SOC 2 Type II certified SaaS for complete coverage of their EHS needs.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MyBatis!

Additional Project Details

Programming Language

Java

Related Categories

Java Database Software, Java Frameworks, Java Object Oriented Software

Registered

2021-03-29