Last active
July 24, 2018 10:49
-
-
Save Feroz-Istar/467adaa9c265d1ab2d218e6182aa9f6d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Attribute converter used to create custom values in db like gender values m, f | |
2. @CreationTimestamp attribute | |
a. please make sure the Date vairable should be imported from java.util.date | |
b. used for createAt attribute | |
3. @UpdateTimestamp attribute | |
a. please make sure the Date vairable should be imported from java.util.date | |
b. used for updateAt attribute | |
4. @ColumnTransformer allows you to customize the SQL it uses to read and write the values of columns mapped to @Basic types | |
4. @Formula do some computation for you rather than in the JVM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment