Hi Steve,
for me the order column is never generated regardless of whether I use 4.3 or 5.0. Also there was this thread here
http://stackoverflow.com/questions/2956171/jpa-2-0-ordercolumn-annotation-in-hibernate-3-5
which says that "The combination of @OneToMany(mappedBy="...") and @OrderColumn is not supported by Hibernate". I tried with mappedBy and without mappedBy and the result is the same. I'll have a look at your test and try to find what is wrong with my code.
|