Menu

#15 Stable sort order for DAO primitives' FKs

Main_team
open
nobody
None
5
2016-08-19
2016-08-19
No

The JDBC metadata shows the FKs and UIs in different order every time the generation is run, and that makes the DAO primitives source java class slightly different each time.

The side effect is that the class needs to be committed each time to the projects repositories since it "changed", even though there's not real structural change.

The solution is to sort the FKs and UI alphabetically to keep a stable order and avoid unnecessary commits in the projects repositories.

Discussion


Log in to post a comment.