Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for composite primary keys #29

Open
iriina opened this issue Mar 18, 2014 · 0 comments
Open

Support for composite primary keys #29

iriina opened this issue Mar 18, 2014 · 0 comments

Comments

@iriina
Copy link

iriina commented Mar 18, 2014

Hi,

Are there any plans for adding support for composite primary keys (or is this possible with the current library)? Maybe something like a new annotation in the Contract that defines the fields that will make the primary key (or an annotation per each field/column that will be part of the composite key). And then modify the code for createTable in ProviGenOpenHelper to take this fields into account (if the annotation is defined) when setting the primary key. Would this work or it requires more modifications to the code?

Thanks,
Irina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants