![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
追道人
这个作者很懒,什么都没留下…
展开
-
Spring-Boot EntityManager的使用
使用: import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; @PersistenceContext private EntityManager entityManager; //以实体类查询 public void e...原创 2018-10-26 18:06:22 · 3339 阅读 · 0 评论 -
SpringBoot映射MySQL,自动生成Table
## MySQL映射问题,自动按实体类生成表 配置 Mysql属性配置文件,Spring-boot系统配置 jpa.database-platform= org.hibernate.dialect.MySQL5Dialect spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxx?useSSL=false spring.datasource.us...原创 2018-10-24 16:13:16 · 1446 阅读 · 0 评论 -
SpringBoot处理请求并以HTML形式返回结果
<!DOCTYPE html> <html lang="en" xmlns:th="http://www.w3.org/1999/xhtml"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <h1>Hello Word!</h原创 2018-11-12 16:20:49 · 5700 阅读 · 0 评论 -
WebSocket集成
前端: React-ant-design import React, { Component } from ‘react’; import { Input, Button } from ‘antd’; import ‘antd/dist/antd.css’; import ‘./index.css’; class index extends Component { state = { userI...转载 2019-06-22 19:38:42 · 419 阅读 · 0 评论