[ 
https://issues.apache.org/jira/browse/OPENJPA-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241847#comment-13241847
 ] 

Rick Curtis commented on OPENJPA-2166:
--------------------------------------

Nice catch Joe. I think OpenJPA should be logging a message (WARN) that we 
encountered a final field and we're ignoring it. This is the second time that 
this same-ish issue[1] has been opened.

[1] https://issues.apache.org/jira/browse/OPENJPA-1977

Thanks,
Rick
                
> the column for @id is named id no matter the field name or @column
> ------------------------------------------------------------------
>
>                 Key: OPENJPA-2166
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2166
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.2.0
>         Environment: ubuntu 64bits, java 1.7.0_01
>            Reporter: santiago garcĂ­a pimentel
>            Priority: Minor
>              Labels: mapping
>
> I have an entity with an Id:
> @Entity
> @Table(name = "Domain")
> public class Domain implements java.io.Serializable, Comparable<Domain> {
> ...
> @Id
>       @Column(name = "name", unique = true, nullable = false)
>       public final String getName() {
>               return this.name;
>       }
> ...
> still openjpa seems to be querying for a column id instead of name

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to