[jboss-jira] [JBoss JIRA] (HIBERNATE-166) camelCase to snake_case naming strategy

Max Lamothe (Jira) issues at jboss.org
Fri Jul 5 10:01:00 EDT 2019


Max Lamothe created HIBERNATE-166:
-------------------------------------

             Summary: camelCase to snake_case naming strategy
                 Key: HIBERNATE-166
                 URL: https://issues.jboss.org/browse/HIBERNATE-166
             Project: Hibernate Integration
          Issue Type: Feature Request
            Reporter: Max Lamothe
            Assignee: Steve Ebersole


I am looking to use snake case database identifiers instead of camel case, and couldn’t find an option to do that already available in the Hibernate API.

I found an extension to the Default Naming strategy in a project on GitHub, but I was wondering if it would be possible to integrate this directly into the API so we don’t have to copy paste this code.

The current solution I found is here:
https://github.com/vladmihalcea/hibernate-types/blob/master/hibernate-types-4/src/main/java/com/vladmihalcea/hibernate/type/util/CamelCaseToSnakeCaseNamingStrategy.java

Is there any change that this could be integrated directly into the project?



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list