I create tree with entity reference itself
@JoinColumn(name = "parent_code", referencedColumnName = "code")
@ManyToOne(fetch = FetchType.LAZY)
private CategoryActionTree parentCategory;
and code is not id.
It throws exception
java.lang.IllegalArgumentException: CATEG111
at io.jmix.core.UuidProvider.fromString(UuidProvider.java:58) ~[jmix-core-1.2.4.jar:na]
at io.jmix.eclipselink.impl.lazyloading.SingleValueOwningPropertyHolder.convertId(SingleValueOwningPropertyHolder.java:73) ~[jmix-eclipselink-1.2.4.jar:na]
at io.jmix.eclipselink.impl.lazyloading.SingleValueOwningPropertyHolder.getEntityId(SingleValueOwningPropertyHolder.java:48) ~[jmix-eclipselink-1.2.4.jar:na]
How can i resolve this problem