- 博客(20)
- 资源 (3)
- 收藏
- 关注
原创 mybatis::SQL执行流和动态代理
sql执行流mapper 动态代理简单摘要一下mybatis,mapper接口到方法执行的代理实现模拟几个注解 Insert Update Selectpackage test.myproxy.mockframework;@Retention(RetentionPolicy.RUNTIME)@Target(ElementType.METHOD)public @interface Insert { public abstract String[] value();}@Re
2021-01-24 23:26:56
196
原创 产品设计维度看MyBatis
产品设计维度看MyBatis文章目录产品设计维度看MyBatisYY产品图技术实现运营推广售后支持YY产品图技术实现宇宙流行语言Java灵活的设计模式鲁棒性守正,保持做最核心的事 (Hibernate已经是 “anything is data”)运营推广数据库类型支持多多的有jdbc jar的基本都支持 (Oracle、DB2、MySQL、Sqlite3、PostgreSQL)吸引了大厂牛人,牛人们厂内厂外,离职前,离职后的推广使用tk.mapper mybatis.plu
2021-01-24 13:08:19
152
原创 mybatis学习-设计模式::builder模式2
接上篇,继续看看源码中的build模式。相关类 SqlSessionFactoryBuilderpublic class SqlSessionFactoryBuilder { public SqlSessionFactory build(Reader reader) { return build(reader, null, null); } public SqlSessionFactory build(Reader reader, String environment) {
2021-01-23 22:30:15
159
1
原创 mybatis学习::设计模式-builder模式1
学习设计模式,也是读码的一个乐趣。从mybatis的基础代码,看看builder模式怎么玩public class Environment { private String id; private TransactionFactory transactionFactory; private DataSource dataSource; public Environment(String id, TransactionFactory transactionFactory, DataSou
2021-01-23 22:28:38
125
原创 MyBatis学习笔记
MyBatis3 用的很多了,没有仔细梳理过。刚好忙中偷闲,有点空,慢慢体系化梳理一下。mybatis官宣自己是个啥MyBatis is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. MyBatis eliminates almost all of the JDBC code and manual setting of parameter
2021-01-22 20:59:25
154
1
原创 IBM JDK
IBM JDK近来因为项目需要,需要调优was 。又把历史知识给调出来了 :)ibm sdk8 J9https://developer.ibm.com/javasdk/downloads/https://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0/welcome/welcome_javasdk_version.html...
2020-04-23 09:04:38
968
原创 JavaBean
Bean PersistenceA bean has the property of persistence when its properties, fields, and state information are saved to and retrieved from storage. Component models provide a mechanism for persisten...
2020-03-24 23:26:27
94
原创 The Extension Mechanism
The Extension MechanismThe extension mechanism provides a standard, scalable way to make custom APIs available to all applications running on the Java platform. Java extensions are also referred to a...
2020-03-23 22:31:09
360
原创 Collections
CollectionsA collection — sometimes called a container — is simply an object that groups multiple elements into a single unit. Collections are used to store, retrieve, manipulate, and communicate agg...
2020-03-22 20:22:07
161
原创 JNDI
JNDIThe Java Naming and Directory Interface™ (JNDI) is an application programming interface (API) that provides naming and directory functionality to applications written using the Java™ programming ...
2020-03-21 21:38:50
206
原创 Generics
GenericsJDK 5.0 introduces several new extensions to the Java programming language. One of these is the introduction of generics.This trail is an introduction to generics. You may be familiar wi...
2020-03-20 21:38:51
199
原创 Lambda Expressions
Lambda ExpressionsOne issue with anonymous classes is that if the implementation of your anonymous class is very simple, such as an interface that contains only one method, then the syntax of anony...
2020-03-19 22:32:10
115
原创 Reflection
###ReflectionReflection is commonly used by programs which require the ability to examine or modify the runtime behavior of applications running in the Java virtual machine. This is a relatively adva...
2020-03-18 23:05:46
142
原创 Annotations
###AnnotationsAnnotations, a form of metadata, provide data about a program that is not part of the program itself. Annotations have no direct effect on the operation of the code they annotate.Anno...
2020-03-16 19:22:04
143
原创 Learning the Java Language
Learning the Java LanguageObject-Oriented Programming Concepts teaches you the core concepts behind object-oriented programming: objects, messages, classes, and inheritance. This lesson ends by sho...
2020-03-15 01:18:00
231
原创 Language Basics
Language BasicsVariablesPrimitive Data TypesDefault ValuesSummary of VariablesVariablesThe Java programming language defines the following kinds of variables:Instance Variables (Non-Static Fields...
2020-03-15 01:01:57
227
原创 ClassLoader 解决问题的一次小思考
ClassLoader的一次小理解背景探索解决背景今天群里一哥们说了一个问题,试了好几下才解决。有点惭愧,记录之。需求:业务方要求,需要访问sqlite数据库,但是不能提前把sqlite的jar包放到工程里。( 可能是为了实现技术上的所谓的热拔插吧)探索解决需求是否合理,到了开发解决,只有使命必达。当然,前提是有可行性,否则你可以拿着40米的大刀,让需求侧同学先跑39米 :))热拔...
2020-03-14 20:03:31
146
原创 macOs安装了新版JDK后,安装jdk1.6提示已经安装了更高的版本
###问题描述因为分析代码需要,需要使用jdk1.6 ,安装时,macOS在安装了jdk8 jdk13等高版本jdk后,系统提示,无法安装,原因是“您机器上已经安装了更高的版本”###解决方法方式一暴力的卸载新jdk,之后正序安装方式二研究了一下,mac安装包结构,发现判断点是个脚本。修改即可比如我本地安装包: JavaForOSX.dmg1.挂载安装文件 (可以直接...
2020-03-10 17:17:45
3986
10
原创 ohmyzsh 浏览大工程目录时卡顿的解决方法
ohmyzsh 浏览大工程目录时卡顿的解决方法问题解决方法问题问题描述读码时,遇到一个问题,ohmyz 遇到大工程目录时,会很卡顿,查看cpu使用,没有异样工作环境:MacOs oh my zshell解决方法随着分析,后来发现是oh-my-zsh,为了良好的体验,会默认读取 git 工程信息,但是遇到 chrome openjdk 等动辄几G源文件时,就会出现...
2020-03-10 15:11:43
464
Using OpenMP-Portable Shared Memory Parallel ProgrammingOct 2007
2009-08-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人