Bug 832082

Summary: Seam2.3 ui example fileUpload javax.servlet.ServletException with message: "javax.persistence.PersistenceException: org.hibernate.exception.DataException: Value too long for column "DATA BINARY(255)"
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Marek Schmidt <maschmid>
Component: Seam, ExamplesAssignee: Marek Novotny <mnovotny>
Status: CLOSED DEFERRED QA Contact: Marek Schmidt <maschmid>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0.0.ER8   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Seam2.3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-19 08:18:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marek Schmidt 2012-06-14 13:23:51 UTC
Description of problem:

Uploading a reasonably small image into the fileUpload page in the Seam2.3 ui example fails with

Caused by javax.servlet.ServletException with message: "javax.persistence.PersistenceException: org.hibernate.exception.DataException: Value too long for column "DATA BINARY(255)": "X'89504e470d0a1a0a0000000d49484452000000b4000000be08060000009c562554000000017352474200aece1ce900000006624b474400ff00ff00ffa0bda7... (23358)"; SQL statement: insert into Picture (contentType, data, fileName, id) values (?, ?, ?, ?) [22001-161]"