Database - java design table prefix meaning
世界只因有你
世界只因有你 2017-06-12 09:21:42
0
4
721

java Why does the Mybatis system add table prefixes when designing tables? Are there any disadvantages in not adding them?

Thanks

世界只因有你
世界只因有你

reply all(4)
洪涛

Obviously to distinguish projects. When there are many database tables, table prefixes can be used to achieve faster search, maintenance, etc.

给我你的怀抱

This is really a poor design. Different databases should be used to distinguish projects!

给我你的怀抱

This is a habit developed by old programmers for future generations haha

Ty80

Generally related to business logic.

For example, system-related tables sys_user, sys_role, etc.
Query related tables query_money, query_time, etc.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!