I have an app with a many-to-many relationship between entities (Product, Order) , the intermediary table is ProductOrder
the first 2-3 times I lauched the app it worked fine, but now I get
The DB was updated on the first runs (table for ProductOrder was populated with the correct data).
Here is the code for Product, Order, ProductOrder (id and other fields excluded) :
The stack trace changes a bit with every launch , but the main error is still java.lang.StackOverflowError , full stack trace is availale at http://tny.cz/f9f52aee