[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model ...

Christian Bauer christian at hibernate.org
Sat Apr 21 04:13:50 EDT 2007


  User: cbauer  
  Date: 07/04/21 04:13:50

  Modified:    examples/wiki/src/main/org/jboss/seam/wiki/core/model 
                        File.java
  Log:
  Kicked out jCaptcha and replaced with simple math captcha
  
  Revision  Changes    Path
  1.5       +2 -1      jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model/File.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: File.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model/File.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- File.java	19 Apr 2007 18:36:11 -0000	1.4
  +++ File.java	21 Apr 2007 08:13:50 -0000	1.5
  @@ -21,8 +21,9 @@
       @Column(table = "NODE_FILE", name = "FILESIZE", nullable = false)
       private int filesize;
   
  +    // SchemaExport needs length.. MySQL has "tinyblob", "mediumblob" and other such nonsense types
       @Lob
  -    @Column(table = "NODE_FILE", name = "FILEDATA", nullable = false)
  +    @Column(table = "NODE_FILE", name = "FILEDATA", nullable = false, length = 10000000)
       private byte[] data;
   
       @Column(table = "NODE_FILE", name = "CONTENT_TYPE", length = 255)
  
  
  



More information about the jboss-cvs-commits mailing list