Can you post the full error/stacktrace you're seeing?

Thanks,

Matt

On 12/8/06, Rene Lavoie <[EMAIL PROTECTED]> wrote:
Hello,

I m trying to map a unique constraint with two fields. And the build keeps
failing: "Schema text failed"
Any idea?

Thanks

public class LiteralText extends BaseObject {
...
 /**
  * @hibernate.id generator-class="native" type="java.lang.Long" column="id"
  * @return the id
  */
 public Long getId() {
  return this.id;
 }
 /**
  * @hibernate.many-to-one cascade="none" not-null="true" column="app_id"
  *                        class="com.appfuse.model.WebApplication"
  * @hibernate.column name="app_id" unique-key="IDX_LITERAL_APP_UNIQUE"
  *
  */
 public WebApplication getWebApp() {
  return this.webApp;
 }
 /**
  * @hibernate.property column="literal_key" length="150" not-null="true"
  * @hibernate.column name="literal_key" unique-key="IDX_LITERAL_APP_UNIQUE"
  */
 public String getLiteralKey() {
  return this.literalKey;
 }

}
public class WebApplication extends BaseObject {
...
 /**
  * @return Returns the items.
  *
  * @hibernate.bag lazy="false"
  *                cascade="all-delete-orphan"
  * @hibernate.collection-key column="app_id"
  * @hibernate.collection-one-to-many class="com.aparapar.model.LiteralText"
  */
 public List<LiteralText> getLiterals() {
  return this.literals;
 }
}


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to