You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: