jsondb-core
jsondb-core copied to clipboard
Nullpoint Exception for ID
I had in my project import javax.persistence.Id; as annotation for the models, usually every database share the same annotation, so I got a nullpoint exception for this.
So there 2 ways to solve this problem:
1- Handle this exception to show to the user a better information about the error. 2- Implement javax.persistence annotation as it is used by the most java db.