Fixed mapping problem with field named "from".

This commit is contained in:
Chris Cranford 2016-04-29 14:50:41 -05:00 committed by Steve Ebersole
parent affa6a086c
commit a765335563
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@
//$Id$
package org.hibernate.jpa.test.emops;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
@ -16,6 +17,7 @@ import javax.persistence.Id;
@Entity
public class Mail {
@Id private Long id;
@Column(name = "[from]")
private String from;
public String getFrom() {