[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5430) Better Firebird support - temp tables, short column names

Martin Černý (JIRA) noreply at atlassian.com
Fri Jul 30 17:45:39 EDT 2010


Better Firebird support - temp tables, short column names
---------------------------------------------------------

                 Key: HHH-5430
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5430
             Project: Hibernate Core
          Issue Type: Improvement
          Components: core
    Affects Versions: 3.5.3
            Reporter: Martin Černý
            Priority: Minor
         Attachments: Firebird21Dialect.java, GenericLengthLimitedNamingStrategy.java, LengthLimitedComponentSafeNamingStrategy.java

Sorry for not posting in some more concise format or joining the development in an official way, however I hope it still helps. 

In my quest to make Firebird work with my Hibernate/JPA project I have developed two helper classes that (especially the first one) might as well be incorporated in the Hibernate.

First I have subclassed FirebirdDialect to make use of temporary table support in Firebird 2.1 (this had blocked some of the JPA features)

Then I have subclassed NamingStrategy to create a generic strategy that forces all the database identifiers to conform to certain length. This is needed since Firebird does not work with column and table names longer than 30 chars. Although I am not certain, if this should be part of Hibernate.

The class I created are attached, their utility is up to the consideration of the community

-- 
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