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
The full-stack observability platform that protects your dataLayer, tags and conversion data Icon
The full-stack observability platform that protects your dataLayer, tags and conversion data

Stop losing revenue to bad data today. and protect your marketing data with Code-Cube.io.

Code-Cube.io detects issues instantly, alerts you in real time and helps you resolve them fast. No manual QA. No unreliable data. Just data you can trust and act on.
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