Hello, I'm trying to store object, which contain collection. It generates an error:
com.atlassian.activeobjects.internal.ActiveObjectsInitException: Active Objects failed to initalize for bundle org.rule.SecurityCheckBuilder at com.atlassian.activeobjects.osgi.ActiveObjectsServiceFactory$5.apply(ActiveObjectsServiceFactory.java:207) caused by: java.lang.RuntimeException: Unrecognized type: java.util.ArrayList at net.java.ao.types.TypeManager.getType(TypeManager.java:66)
How can I solve it?
Community moderators have prevented the ability to post new answers.
I tried but it isn't easy :)
To store collection I need to use @OneToMany annotation and then I can store more of datas.
@OneToMany
public String[] getTitles();
Try using an Array instead of a collection type?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried but it isn't easy :)
To store collection I need to use @OneToMany annotation and then I can store more of datas.
@OneToMany
public String[] getTitles();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.