]
Martin Černý updated HHH-5430:
------------------------------
Attachment: GenericLengthLimitedNamingStrategy.java
Updated version of an abstract strategy that makes it possible to limit length of
generated identifiers to certain length.
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,
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: