摘要:
package com.feitai.auth.config; import com.feitai.manager.PtfUserDetailsManager; import org.springframework.beans.factory.annotation.Autowired; import 阅读全文
摘要:
模板示例: 填充代码: public static void main(String[] args) throws IOException { XWPFTemplate.compile("tl.docx").render(new HashMap<String, Object>() {{ put("u 阅读全文
摘要:
public class BoxInt { private Integer id; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public static void mai 阅读全文
摘要:
https://wingsxdu.com/posts/note/cpu-cache-and-memory-barriers/ https://stackoverflow.com/questions/65037547/the-volatile-keyword-and-cpu-cache-coheren 阅读全文
摘要:
The easiest and most flexible way is to use a struct as the key type, including all the data you want to be part of the key, so in your case: type Key 阅读全文
摘要:
Begin1:Begin Begin2:Begin,执行Begin会隐式提交Begin1开启的事务. Commit:提交Begin2事务 更多隐式提交事务的语句参见官网:https://dev.mysql.com/doc/refman/8.0/en/implicit-commit.html 阅读全文
摘要:
git merge-base [-a | --all] <commit> <commit>… git merge-base [-a | --all] --octopus <commit>… git merge-base --is-ancestor <commit> <commit> git me 阅读全文
摘要:
参考:https://stackoverflow.com/questions/5120038/is-it-possible-to-cherry-pick-a-commit-from-another-git-repository 阅读全文
摘要:
一致性读 一致性读意味着InnoDB使用多版本技术在某个时间点使用该时间点的快照进行一致性读;默认可重复读隔离级别,当前事务只能看到在当下时间点之前提交事务产生的变化,时间点之后的变化无法感知到。 阅读全文
摘要:
TODO https://dev.mysql.com/doc/refman/8.0/en/innodb-auto-increment-handling.html 阅读全文