关于Mybatis-Generator逆向工程配置的翻译问题

逆向工程 mybatis java xue8 8天前 7次浏览



关于这个逆向工程自然是多少年前就已经玩烂的了,然鹅我对其中一些配置的翻译仍然拿捏不准(其实是没理解也没试过就比较无知)不知道该怎么讲通顺,网上翻了一天也是你抄我我抄你的。比如这己个

























xml 配置官网说明
selectByPrimaryKeyQueryIdThis value will be added to the select list of the select by primary key statement in this form: "\'<value>\' as QUERYID". This can be useful for identifying queries in DBA tracing tools at run time. If you use thus value, you should specify a unique id for every different query generated by MBG.
selectByExampleQueryIdThis value will be added to the select list of the select by example statement in this form: "\'<value>\' as QUERYID". This can be useful for identifying queries in DBA tracing tools at run time. If you use thus value, you should specify a unique id for every different query generated by MBG.
delimitIdentifiersSignifies whether MBG should use the exact case specified when searching for tables and then delimit the identifiers in the generated SQL. See the discussion above for more details.
delimitAllColumnsSignifies whether MBG should add delimiters to all column names in the generated SQL. This is an alternative to coding a <columnOverride> for every column specifying that the column should be delimited. This is useful for databases like PostgreSQL that are case sensitive with identifiers.

就比较让我困惑,有没有哪位大佬能给翻译翻译顺带讲解一下这四个不常用的配置的作用。感激不尽!





回答:
[]

0条回复
撰写答案