Skip to content

Commit

Permalink
Fixed mapping problem with field named "from".
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros authored and sebersole committed May 6, 2016
1 parent affa6a0 commit a765335
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -7,6 +7,7 @@

//$Id$
package org.hibernate.jpa.test.emops;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

Expand All @@ -16,6 +17,7 @@
@Entity
public class Mail {
@Id private Long id;
@Column(name = "[from]")
private String from;

public String getFrom() {
Expand Down

0 comments on commit a765335

Please sign in to comment.