[hibernate-issues] [Hibernate-JIRA] Updated: (ANN-718) @JoinTable / @JoinColumn fails when using backticks in PK field name

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sat May 31 14:30:34 EDT 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard updated ANN-718:
---------------------------------

    Fix Version/s: 3.4.0.CR2

> @JoinTable / @JoinColumn fails when using backticks in PK field name
> --------------------------------------------------------------------
>
>                 Key: ANN-718
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-718
>             Project: Hibernate Annotations
>          Issue Type: Bug
>    Affects Versions: 3.3.1.GA
>         Environment: Database Firebird 2.0 / JayBird 2.1.1
> Hibernate 3.2.6 GA
>            Reporter: Bastian Voigt
>            Priority: Critical
>             Fix For: 3.3.2, 3.4.0.CR2
>
>         Attachments: bug.zip
>
>
> Firebird is case-sensitive with table names and column names. A legacy application I need to build upon uses lowercase field names, these need to be quoted in Hibernate with backticks or with "\"lowercase\"". I'm normally using the latter. This works fine, until the point where I needed to map a ManyToOne relation. 
> For running the example you don't even need to install Firebird, it crashes before connecting to the DB.

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