当前位置:网站首页>Hump naming and underlining
Hump naming and underlining
2022-06-13 05:32:00 【zrllllll】
I'm doing it today springboot+mybatis I stepped on a small pit when I was working on the project , Remember to set in the configuration file when using the hump naming method ( I was in yaml Configured in )
Camel nomenclature is when variable names or function names are linked by one or more words , And form a unique identifier , The first word begins with a lowercase letter ; The first letter of every word from the second word is capitalized , for example :myFirstName、myLastName, Such variable names look like camel's hump , Therefore, the name .
mybatis:
configuration:
map-underscore-to-camel-case: true
The hump nomenclature should be set to true.
But do not open the underline when using it ! Otherwise, the underlined value in the query database will be null . I found it by accident , I wanted to turn this setting off and then turn it on , Just turn it off .
边栏推荐
- About Evaluation Metrics
- Input a number and output each digit from high to low
- Basic operations of MySQL auto correlation query
- Luogu p1012 guess
- [multi thread programming] the future interface obtains thread execution result data
- Listiterator list iterator
- Case - simulated landlords (upgraded version)
- C language learning log 2.6
- 【多线程】线程池核心类-ThreadPoolExecutor
- Comment procéder à l'évaluation des algorithmes
猜你喜欢
随机推荐
Hainan University Postgraduate Entrance Examination electronic information (085400) landing experience
Deleted the jupyter notebook in the jupyter interface by mistake
Use the browser to cut the entire page (take chrome as an example)
Bm1z002fj-evk-001 startup evaluation
Violence enumeration~
C language learning log 10.8
MySQL table data modification
Wang Dao Chapter II linear table exercises
Small project - household income and expenditure software (2)
How to Algorithm Evaluation Methods
Celery understands
Enhanced for loop
Dup2 use
Simple sr: Best Buddy Gans for highly detailed image super resolution Paper Analysis
Float type value range
动态规划-最长公共子串
MySQL basic query
Error: unmapped character encoding GBK
顶部下滑沉浸式dialog
计算两个时间相差的天数(支持跨月、跨年)








