当前位置:网站首页>The reason why the entity class in the database is changed into hump naming
The reason why the entity class in the database is changed into hump naming
2022-07-03 04:34:00 【Programmers who can't manage money are not good DJs】

- Because it's more elegant , And more standardized .
- such as Mysql The database field is named blogTitle, No problem at first sight , But in the oracle It becomes BLOGTITLE, here we are postgresql It becomes blogtitle, Very bad readability .
- For example, the entity class field is named blog_title, be get When I was young, I became getBlog_title(), Also very unsightly .
- But this is a small specification for more elegant code , If you feel it doesn't hinder the overall aesthetics , Database fields can also become humps , Entity classes can also become underlined .
边栏推荐
- [software testing-6] & Test Management
- Square root of X
- Redraw and reflow
- Internationalization and localization, dark mode and dark mode in compose
- How to choose cross-border e-commerce multi merchant system
- C primre plus Chapter 10 question 6 inverted array
- Number of uniform strings of leetcode simple problem
- JVM原理简介
- Kingbasees plug-in KDB of Jincang database_ exists_ expand
- What functions need to be set after the mall system is built
猜你喜欢

2022 t elevator repair simulation examination question bank and t elevator repair simulation examination question bank

The simple problem of leetcode: dismantling bombs

Leetcode simple question: the key with the longest key duration

【工具跑SQL盲注】

智能合约安全审计公司选型分析和审计报告资源下载---国内篇

C language series - Section 3 - functions

Solve BP Chinese garbled code

Web - Information Collection

使用BENCHMARKSQL工具对kingbasees并发测试时kill掉主进程成功后存在子线程未及时关闭

Function introduction of member points mall system
随机推荐
金仓KFS数据双向同步场景部署
2022 Shandong Province safety officer C certificate examination content and Shandong Province safety officer C certificate examination questions and analysis
[literature reading] sparse in deep learning: practicing and growth for effective information and training in NN
Kingbasees plug-in KDB of Jincang database_ date_ function
2022 new examination questions for the main principals of hazardous chemical business units and examination skills for the main principals of hazardous chemical business units
P35-P41 fourth_ context
data2vec! New milestone of unified mode
vulnhub HA: Natraj
[set theory] set operation (Union | intersection | disjoint | relative complement | symmetric difference | absolute complement | generalized union | generalized intersection | set operation priority)
A outsourcing boy's mid-2022 summary
怎么用Kotlin去提高生产力:Kotlin Tips
Know that Chuangyu cloud monitoring - scanv Max update: Ecology OA unauthorized server request forgery and other two vulnerabilities can be detected
智能合约安全审计公司选型分析和审计报告资源下载---国内篇
BMZCTF simple_ pop
2022 registration of G2 utility boiler stoker examination and G2 utility boiler stoker reexamination examination
Factor stock selection scoring model
FISCO bcos zero knowledge proof Fiat Shamir instance source code
Kubernetes源码分析(一)
FFMpeg filter
Reptile exercise 03