mybatis: MyBatis on Spring Boot 4.2.0 - annotation and XML mappers, result maps, dynamic SQL, PageHelper, @MybatisTest, seven real transcripts

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b3obqqePfZ9m2Jk5Ub
This commit is contained in:
Ankur Mhatre
2026-11-26 18:12:30 +05:30
co-authored by Claude Sonnet 5.5
parent fc8bc933d5
commit 0e3ca9316f
35 changed files with 1301 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
CREATE TABLE category (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(50) NOT NULL
);
CREATE TABLE product (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
price DECIMAL(10,2) NOT NULL,
stock INT NOT NULL,
active BOOLEAN NOT NULL,
category_id BIGINT NOT NULL REFERENCES category(id)
);