Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to use alias on mysql for parent primary key column when you have a parent child relationship #24
If you modify the LangFilm.xml example sqlresource file and change the select statement from
This is mysql5, java7, tomcat6, on windows 7. If you remove the alias, everything works fine alright.
Indeed, aliasing the PK in a hierarchical resource is not working for me either. I only had a test case for a flat, single table resource. It's a little more work than fixing the order by. The inserts/deletes on children are not working either with the aliased parent PK.