步骤 本文使用Mybatis,如果你不会,那就照猫画虎吧 1、搭建数据库 CREATE DATABASE `iot`; USE `iot`; DROP TABLE IF EXISTS `messages`; CREATE TABLE `messages` ( `id` INT(10) NOT NUL ...
分类:
数据库 时间:
2020-06-18 09:14:58
阅读次数:
154
1.使用已有数据库时,报错 C:\Users\h>neo4j.bat console 2020-06-17 14:17:48.851+0000 WARN dbms.active_database is deprecated. 2020-06-17 14:17:48.870+0000 INFO Neo ...
分类:
其他好文 时间:
2020-06-18 01:22:24
阅读次数:
68
Which two statements are true about an Oracle database? (Choose two.) A table can have multiple foreign keys. A column definition can specify multiple ...
分类:
其他好文 时间:
2020-06-17 23:17:37
阅读次数:
65
MyBatis快速入门案例 1. 准备数据库 创建数据库db并指定utf8编码, 在数据库中创建表emp, 插入一些数据 -- 1、创建数据库 create database if not exists db charset utf8; use db; -- 选择数据库 -- 2、删除emp表(如果 ...
分类:
其他好文 时间:
2020-06-17 20:04:02
阅读次数:
53
mysql建表约束 主键约束 他能够唯一确定一张表中的一条记录,也就是我们通过给某个字段添加约束,就可以使的该字段不重复且不为空 create table user( id int primary key, name varchar(20) ); 输入 describe user; + + + + ...
分类:
数据库 时间:
2020-06-17 20:00:52
阅读次数:
56
标准 URI 连接语法: mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]] 创建数据库 use DATABASE_NAME 查看数据库列表 sh ...
分类:
其他好文 时间:
2020-06-17 16:48:35
阅读次数:
61
在安装mysql时,出现“The security settings could not be applied to the database because the connection has failed with the following error. Error Nr. 1045 Acc ...
分类:
移动开发 时间:
2020-06-17 15:33:57
阅读次数:
100
本文内容 1. JDBC基本概念 2. 快速入门 3. 对JDBC中各个接口和类详解 JDBC: 1. 概念:Java DataBase Connectivity Java 数据库连接, Java语言操作数据库 * JDBC本质:其实是官方(sun公司)定义的一套操作所有关系型数据库的规则,即接口。 ...
分类:
数据库 时间:
2020-06-17 01:17:45
阅读次数:
62
1.How to configure primary key's generator in JPA entity for oracle 2.jpa-primary-key-auto-generate 3.how-to-generate-primary-keys-with-jpa 4.[JPA(五) ...
分类:
其他好文 时间:
2020-06-16 23:06:46
阅读次数:
65
redis是一个内存数据库,数据保存在内存中,但是我们都知道内存的数据变化是很快的,也容易发生丢失。幸好Redis还为我们提供了持久化的机制,分别是RDB(Redis DataBase)和AOF(Append Only File)。 持久化流程: 既然redis的数据可以保存在磁盘上,那么这个流程是 ...
分类:
其他好文 时间:
2020-06-16 18:10:48
阅读次数:
72