[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2479) Apply quoting and naming strategy to table and column names of table-based ID generators

Johan Stuyts (JIRA) noreply at atlassian.com
Fri Mar 9 03:20:33 EST 2007


Apply quoting and naming strategy to table and column names of table-based ID generators
----------------------------------------------------------------------------------------

         Key: HHH-2479
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2479
     Project: Hibernate3
        Type: Improvement

  Components: core  
    Versions: 3.2.2    
    Reporter: Johan Stuyts
 Attachments: ApplyQuotingAndNamingStrategyToTableGenerators.diff

The quoting of identifiers and the transformation of identifiers by a naming strategy are not applied to identifiers passed to the table-based Hi/lo generator. The provided patch applies both transformations to the table and column names passed to the generator.

The patch is fully backward compatible:
- no methods have been added to existing interfaces
- no abstract methods have been added to existing classes
- no methods were removed
- the naming strategy is only applied if explicitly requested in the mapping file

The quoting is always applied, but it is expected no identifiers with backticks are used in existing mapping files, so these mapping files will continue to behave as they did before.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list