Adapt to changes around auto-quoting

Description

See this thread: certain table names will be quoted automatically now by ORM.

We'd have to hook into this, as e.g. a collection name such as Module is valid in MongoDB, whereas it s a reserved key word in SQL and thus will be auto-quoted by ORM, resulting in "Module" being used as collection name. We could achieve this adapting the Dialect or the JdbcEnvironment. There is also the aspect of tables explicitly quoted by the user (e.g. @Table( name="`my_name`" )), what to do with that when it comes to association tables which currently are auto-prepended with "associations_".

IRC discussion: http://transcripts.jboss.org/channel/irc.freenode.org/%23hibernate-dev/2015/%23hibernate-dev.2015-05-07.log.html#t2015-05-07T14:50:01

Environment

None

Assignee

Gunnar Morling

Reporter

Gunnar Morling

Labels

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure