I named some columns _0, _1 etc. Code generation removes the _ when naming the POJO fields and get/set methods, resulting in syntax errors, making me have to correct it. The same goes for the .hbm.xml generated file
Also it fails to mention the package name, so I have to put it in myself too
Also, I renamed a table (perhaps that's the bug reason), and afterwards, I created a new .reveng.xml only for that table, and when I create the POJO and .hbm.xml, the POJO fields are named ok, the .hbm.xml fields are named like the old table's fields. I smell a bad cache
Later I run into more related problems, seems the tool's cache or something doesn't refresh with MySQL's schema or something.
|