
springboot
追道人
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Spring-Boot EntityManager的使用
使用:import javax.persistence.EntityManager;import javax.persistence.PersistenceContext;import javax.persistence.Query;@PersistenceContextprivate EntityManager entityManager;//以实体类查询public void e...原创 2018-10-26 18:06:22 · 3427 阅读 · 0 评论 -
SpringBoot映射MySQL,自动生成Table
## MySQL映射问题,自动按实体类生成表配置Mysql属性配置文件,Spring-boot系统配置jpa.database-platform= org.hibernate.dialect.MySQL5Dialectspring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxx?useSSL=falsespring.datasource.us...原创 2018-10-24 16:13:16 · 1529 阅读 · 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 · 5829 阅读 · 0 评论 -
WebSocket集成
前端:React-ant-designimport 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 · 498 阅读 · 0 评论