DEV Community

Jihao Deng
Jihao Deng

Posted on

1

MB01 Mybatis Overview

此篇主要讲解一些Mybatis的基础

Mybatis的功能

  • 持久层框架
  • 避免了几乎所有的 JDBC 代码和手动设置参数以及获取结果集的过程
  • 可以使用简单的 XML 或注解来配置和映射原生信息,将接口和 Java 的实体类映射成数据库中的记录

持久层

数据持久化——将程序的数据从瞬时状态(内存)转化到持久状态(存到数据库或IO文件)

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay