当前位置:网站首页>Hibernate generates SQL based on Dialect
Hibernate generates SQL based on Dialect
2022-06-27 01:40:00 【Gu Jianjie】
Catalog
hibernate Generate according to dialect sql
Create a table statement to generate
SchemaManagementToolCoordinator#performDatabaseAction
This method does some initialization , Such as initializing the table and modifying the table at startup
Table Among objects sqlCreateString Method , However, the table creation statement is generated using StandardTableExporter#getSqlCreateStrings
Resolve column properties
AnnotationBinder#processElementAnnotations
This static method is used to parse class The fields in the class go to Column object
Column type
BasicTypeRegistry registered java Type is used to pass java Type acquisition sql type ,
And by specific dialect#getTypeName according to sql type id obtain sql type string
Dialect selection
StandardDialectResolver#resolveDialect()
Used to detect the current system dialect , The input parameter is the interface DialectResolutionInfo Mainly including database name 、 Main version 、 Small version
边栏推荐
- Pointer compression for JVM
- 【毕业季】角色转换
- uvm中的config机制方法总结(二)
- 世界很大,有人把二维码纹在脖子上
- Count the logarithm of points that cannot reach each other in an undirected graph [classic adjacency table building +dfs Statistics - > query set optimization] [query set manual / write details]
- uvm中的config机制方法总结(一)
- 学习DiscoDiffusion的最基础操作
- Object access mechanism and others
- memcached基础4
- Great vernacular with high concurrency (I)
猜你喜欢
Due to the invalidation of the prospectus of bori technology, CICC has stopped providing guidance to it and abandoned the listing on the Hong Kong stock exchange?
markdown表格(合并)
博日科技招股书失效,中金公司已停止对其辅导,放弃港交所上市?
Browser cache
Amazon ElastiCache 飞速搭建缓存服务集群,这才叫快
Structure the fifth operation of the actual camp module
Count the logarithm of points that cannot reach each other in an undirected graph [classic adjacency table building +dfs Statistics - > query set optimization] [query set manual / write details]
美团:踩雷好几年,才总结出的数据治理避坑攻略
Summary of config mechanism and methods in UVM (2)
[graduation season] role conversion
随机推荐
Config in UVM_ How to use the DB mechanism
Beyond lithium battery -- the concept of battery in the future
世界很大,有人把二维码纹在脖子上
Esp32-solo development tutorial to solve config_ FREERTOS_ UNICORE problem
Object access mechanism and others
The listing of Fuyuan pharmaceutical is imminent: the net amount raised will reach 1.6 billion yuan, and hubaifan is the actual controller
memcached基础5
Find the minimum value in the rotation sort array ii[classical Abstract dichotomy + how to break the game left, middle and right are equal]
cookie,sessionstorage,localstorage区别
可视化介绍 Matplotlib 和 Plotnine
buuctf-pwn write-ups (6)
TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
Online text digit recognition list summation tool
二叉树oj题目
Kept to implement redis autofailover (redisha) 14
get_sequencer的用法总结
Continuous delivery blue ocean application
Memcached foundation 5
Summary of working at home during the epidemic | community essay solicitation
Analysis of ideal L9 product power: the price is 459800 yuan, the four cylinder engine is adopted, and the endurance is 1315km