Sorry for the old thread digup. Cant find any other threads that mention the same behavior I'm getting.
For joy4all it seemed that his problem was that the generation was never finding what the primary key was for the view he was looking at so it just dumped all the columns of the view into the composite-id. Is this because he was looking at a View and not a Table?
I'm in the same boat. I understand we can set the reveng.xml to manually specify the primary key of every table/view we want to generate hbm&pojo's for(
link), but is there a way to get the generation tools to properly find the primary keys of views?
For some reason the company I'm doing work for does not allow direct access to tables. It all has to be done through views. I'm guessing the solution to my question is going to be "point to the table" but I can't do that.