DEV Community

Jihao Deng
Jihao Deng

Posted on

1

MB01 Mybatis Overview

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

Mybatis的功能

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

持久层

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

Top comments (0)

Warp.dev image

Warp is the #1 coding agent.

Warp outperforms every other coding agent on the market, and gives you full control over which model you use. Get started now for free, or upgrade and unlock 2.5x AI credits on Warp's paid plans.

Download Warp

👋 Kindness is contagious

Discover fresh viewpoints in this insightful post, supported by our vibrant DEV Community. Every developer’s experience matters—add your thoughts and help us grow together.

A simple “thank you” can uplift the author and spark new discussions—leave yours below!

On DEV, knowledge-sharing connects us and drives innovation. Found this useful? A quick note of appreciation makes a real impact.

Okay