admin 管理员组

文章数量: 887017

极简springboot整合beelt、beeltsql和MySQL

我学习这个技术除了它是国人自己开发的之外,
还因为它的性能确实比mybatis和thymeleaf更胜一筹,
而且因为是国人开发,所以看官网文档学习的速度更快,

  1. 创建一个springboot项目

  2. 数据库导入sql文件

/*
Navicat Premium Data TransferSource Server         : one
Source Server Type    : MySQL
Source Server Version : 80020
Source Host           : localhost:3306
Source Schema         : menuTarget Server Type    : MySQL
Target Server Version : 80020
File Encoding         : 65001Date: 12/08/2020 10:38:24
*/SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;-- ----------------------------
-- Table structure for meat
-- ----------------------------
DROP TABLE IF EXISTS `meat`;
CREATE TABLE `meat`  (`id` int(0) NOT NULL AUTO_INCREMENT,`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;-- ----------------------------
-- Records of meat
-- ----------------------------
INSERT INTO `meat` VALUES (0, '可乐焖猪肉');
INSERT INTO `meat` VALUES (1, '干炒猪肉丝');
INSERT INTO `meat` VALUES (2, '宫保猪肉丁');
INSERT INTO `meat` VALUES (3, '黑胡椒猪肉炒笋片');
INSERT INTO `meat` VALUES (4, '蕃茄猪肉片菠菜蛋花汤');
INSERT INTO `meat` VALUES (5, '葱爆牛肉');
INSERT INTO `meat` VALUES (6, '土豆烧牛肉');
INSERT INTO `meat` VALUES (7, '水煮牛肉');
INSERT INTO `meat` VALUES (8, '山药牛肉粒');
INSERT INTO `meat` VALUES (9, '金针牛肉卷');
INSERT INTO `meat` VALUES (10, '红烧鸡腿');
INSERT INTO `meat` VALUES (11, '茄汁松茸鸡胸肉');
INSERT INTO `meat` VALUES (12, '蒜香鸡翅');
INSERT INTO `meat` VALUES (13, '新奥尔良鸡翅');
INSERT INTO `meat` VALUES (14, '炖牛筋土豆小萝卜');-- ----------------------------
-- Table structure for vegetable
-- ----------------------------
DROP TABLE IF EXISTS `vegetable`;
CREATE TABLE `vegetable`  (`id` int(0) NOT NULL AUTO_INCREMENT,`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;-- ----------------------------
-- Records of vegetable
-- ----------------------------
INSERT INTO `vegetable` VALUES (0, '醋溜白菜');
INSERT INTO `vegetable` VALUES (

本文标签: 极简springboot整合beeltbeeltsql和MySQL