This content has been marked as final.
Show 2 replies
-
1. Re: OrderBy for collection
meetoblivion Mar 24, 2009 1:36 PM (in response to tszpinda)OrderLine looks wrong. You're referencing a Stock class, but I see no stock class anywhere.
-
2. Re: OrderBy for collection
tszpinda Mar 24, 2009 2:25 PM (in response to tszpinda)Typo, should be:
public class OrderLine{ @ManyToOne(fetch\=FetchType.LAZY) @JoinColumn(name\=product_code,referencedColumnName\=code, nullable\=false) private Product product }