Hi,
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
Hi
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.
https://docs.oracle.com/javaee/6/api/javax/persistence/OrderBy.html