Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNDBhZGJiYzhk...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-15499?atlOrigin=eyJpIjoiNDBhZG...
) HHH-15499 (
https://hibernate.atlassian.net/browse/HHH-15499?atlOrigin=eyJpIjoiNDBhZG...
) Introduce StandardFunctions enum/constants class (
https://hibernate.atlassian.net/browse/HHH-15499?atlOrigin=eyJpIjoiNDBhZG...
)
Issue Type: Improvement Assignee: Unassigned Components: hibernate-core Created:
12/Sep/2022 03:27 AM Priority: Major Reporter: Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
I just noticed that the OracleDialect was missing a registration for the standard function
chr and would like to introduce a StandardFunctions class, which contains string constants
for the various functions names that we consider “standard”. We can then use this class to
write a test, which will check that functions are registered under these names. This would
also be a nice place to put documentation on.
I would also like to use these constants at the places where functions are
registered/created, which will also allow to easily find possible definitions of such
functions for various dialects.
Newcomer dialects would also have a list of functions that they would have to implement,
where developers of such dialects would probably now have to do a trial and error by
running tests.
(
https://hibernate.atlassian.net/browse/HHH-15499#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15499#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100206- sha1:8e0b99e )