
数据库
无心之事
这个作者很懒,什么都没留下…
展开
-
数据库中的事务隔离
数据库必须具备的四个特性 1:原子性:事务包含的所有操作要么全部成功,要么全部失败回滚;成功必须要完全应用到数据库,失败则不能对数据库产生影响; 2:一致性:事务执行前和执行后必须处于一致性状态, 3:隔离性:当多个用户并发访问数据库时,数据库为每一个用户开启的事务,不被其他事务的操作所干扰,多个并发事务之间要相互隔离; 4:持久性:一个...转载 2018-08-27 10:33:40 · 186 阅读 · 0 评论 -
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdb
错误信息:Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver ...原创 2018-08-27 19:43:59 · 1326 阅读 · 1 评论 -
java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more
新版本数据库MySQL8.0.12出现: java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via t...原创 2018-08-27 19:51:09 · 3942 阅读 · 4 评论