Fixed
Details
Details
Assignee
Raven Song
Raven Song(Deactivated)Reporter
Akos Thurzo
Akos Thurzo(Deactivated)Branch Version/s
7.0.x
6.2.x
Backported to Branch
Committed
Fix Priority
3
Git Pull Request
7.0 Fix Pack Version
13
Story Points
1
Components
Priority
Zendesk Support
Zendesk Support
Created November 20, 2013 at 1:44 AM
Updated June 25, 2023 at 10:26 PM
Resolved March 13, 2017 at 10:46 AM
Due to Hibernate issue HHH-8310 the following error message may appear when defining Blob columns.
Setting
lazy="false"
for Blob in service.xml was the key to reproduction, however build-service task failed with this attribute even though it can be set to false according toliferay-service-builder_7_0_0.dtd
andliferay-service-builder_6_2_0.dtd
for 'Blob' type fields. To overcome this I set it instead manually in the generated portlet-hbm.xml like this:Steps to reproduce
Deploy the attached portlet named LPS-42478-Blob-test-portlet-7.0.0.1.war
Add LPS-42478-Blob-test-portlet to a page
Browse a small file and Upload it
Expected
Uploaded file is listed by the portlet and no error is logged
Result
Porlet doesn't render and below error is logged