Skip to content

Commit

Permalink
revert #32
Browse files Browse the repository at this point in the history
  • Loading branch information
deepu105 committed Jun 24, 2016
1 parent 3dd67fa commit a15a227
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

<% if (databaseType === 'sql' && auditFramework === 'custom') { %>
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;<% if (devDatabaseType === 'postgresql' || prodDatabaseType === 'postgresql') { %>
import org.hibernate.annotations.Type;<% } %>
import org.hibernate.annotations.CacheConcurrencyStrategy;
import java.time.ZonedDateTime;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
Expand Down Expand Up @@ -40,8 +39,7 @@ public class EntityAuditEvent implements Serializable{
@Column(name = "action", length = 20, nullable = false)
private String action;

@Lob<% if (devDatabaseType === 'postgresql' || prodDatabaseType === 'postgresql') { %>
@Type(type = "text")<% } %>
@Lob
@Column(name = "entity_value")
private String entityValue;

Expand Down

0 comments on commit a15a227

Please sign in to comment.