I am getting the following error while trying to add the annotation @OrderBy with the parameter as follows:
<xsd:appinfo source="appian.jpa">@OneToMany(cascade=CascadeType.ALL, indexed=false) @JoinColumn(name="ID") @OrderBy("sortfield")</xsd:appinfo>
Error: A type mapping annotation is invalid: Hibernate mapping generation failed (MappingException)
Note: my DB is Oracle
Discussion posts and replies are publicly visible
Did you check this URL and let me know the complete error and the sample columns so that folks here can give more pointers on this.
© 2023 Appian. All rights reserved.