greenDAO
greenDAO copied to clipboard
fix the generation issue when primary key is a custom type
Fix the generation issues when primary key is a custom type
When primary key is a custom type, the generated code for updateKeyAfterInsert and getKey will use String as return type instead of the actual custom type, which will cause compile error.
see https://github.com/greenrobot/greenDAO/issues/1051 for details