Hello,

we annotate all our lob-columns in the entity with the @javax.persistence.Lob 
annotation and let the persistence provider decide, what he will create in the 
specific database. So you are not tied a specific database handling of lobs.

Example:


  |     public String description; 
  | 
  |     @Column
  |     @Lob
  |     public String getDescription() {
  |             return this.description;
  |     }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195574#4195574

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195574
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to