Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
RAVE-334 comment can be longer than 255 chars
git-svn-id: https://svn.apache.org/repos/asf/incubator/rave/trunk@1204840 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jashaj committed Nov 22, 2011
1 parent 18d1b87 commit b22c463
Showing 1 changed file with 6 additions and 12 deletions.
Expand Up @@ -15,8 +15,8 @@
*/
package org.apache.rave.portal.model;

import java.io.Serializable;
import java.util.Date;
import org.apache.rave.persistence.BasicEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
Expand All @@ -25,12 +25,14 @@
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.TableGenerator;
import javax.persistence.Temporal;
import javax.xml.bind.annotation.XmlRootElement;
import org.apache.rave.persistence.BasicEntity;
import java.io.Serializable;
import java.util.Date;

/**
* A comment for a widget.
Expand Down Expand Up @@ -60,7 +62,7 @@ public class WidgetComment implements BasicEntity, Serializable {
private User user;

@Basic
@Column(name = "text")
@Column(name = "text") @Lob
private String text;

@Basic
Expand Down Expand Up @@ -103,14 +105,6 @@ public Long getWidgetId() {
public void setWidgetId(Long widgetId) {
this.widgetId = widgetId;
}
/*
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}*/

public User getUser() {
return user;
Expand Down

0 comments on commit b22c463

Please sign in to comment.