I am getting de.hybris.platform.impex.jalo.ImpExException[HY--1] Exception when I try and run this ImpEx code below. I have specified the atomictype property as java.time.LocalDate in my items.xml file.
INSERT_UPDATE ExtendedEmployee;uid[unique=true];Employee_id[unique=true];Department(code);DateOfBirth
;Jas;67890;HR;1997-10-23
Items.xml file:
<atomictypes>
<atomictype class="java.time.LocalDate"
extends="java.lang.Object" autocreate="true" generate="false" />
</atomictypes>
.......
.......
.......
<itemtype code="ExtendedEmployee" extends="Employee"
generate="false" autocreate="true">
<attributes>
<attribute type="java.lang.String"
qualifier="Employee_Id">
<modifiers read="true" write="true" search="true"
optional="false" />
<persistence type="property" />
</attribute>
<attribute type="DepartmentType" qualifier="Department">
<modifiers read="true" write="true" search="true"
optional="false" />
<persistence type="property" />
</attribute>
<attribute type="java.lang.Boolean"
qualifier="ActiveStatus">
<modifiers read="true" write="true" search="true" />
<persistence type="property" />
<defaultvalue>java.lang.Boolean.TRUE</defaultvalue>
</attribute>
<attribute type="java.time.LocalDate" qualifier="DateOfBirth">
<modifiers read="true" write="true" search="true"
optional="false" />
<persistence type="property" />
</attribute>
<attribute type="java.lang.Integer" qualifier="Age">
<modifiers read="true" write="true" search="true" />
<persistence type="dynamic"
attributeHandler="ageHandler" />
</attribute>
</attributes>
</itemtype>
As I mentioned in comment section, HSQL does not support the LocalDate as data-type. When changed to java.util.Date, it works fine.