Fix initialization order problem in generated code
Merge pull request #677 from slick/tmp/fix-codegen-init-order

Fix initialization order problem in generated code