Details
-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 5.1.2, 5.2.3, 6.0.5 GA
-
Fix Version/s: --Sprint - SP, 6.0.6 GA, 6.1.0 CE RC1
-
Component/s: Core Infrastructure > Service Builder
-
Labels:None
-
Environment:Any
-
Branch Version/s:6.0.x, 5.2.x, 5.1.x
-
Backported to Branch:Committed
Description
Primitive wrapper types like Boolean and Integer are legal in service definition.
But when any of the primitive wrappers are used as types for columns in a portlet or a web plugin's service, read fails with no errors and write fails with hibernate "MappingException: unknown entity".
This is because the type is not generated in the hbm mapping file when type is not primitive. This causes Hibernate to use reflection which fails because the hibernate/portal classloader does not have the portlet's entity class.
So type needs to be generated even for primitive wrappers.
Attachments
Issue Links
- relates
-
LPE-2562 Service Builder does not handle primitive wrapper type columns
-
- Closed
-