File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed
docs/src/docs/asciidoc/examples
src/main/java/sample/jpa/entity Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ repositories {
1111}
1212
1313dependencies {
14- implementation platform(" org.springframework.boot:spring-boot-dependencies:2.6.7 " )
14+ implementation platform(" org.springframework.boot:spring-boot-dependencies:2.7.0 " )
1515 implementation " org.springframework.boot:spring-boot-starter-web"
1616 implementation " org.springframework.boot:spring-boot-starter-thymeleaf"
1717 implementation " org.springframework.boot:spring-boot-starter-security"
Original file line number Diff line number Diff line change 2020import javax .persistence .Column ;
2121import javax .persistence .Entity ;
2222import javax .persistence .Id ;
23+ import javax .persistence .Table ;
2324
2425@ Entity
26+ @ Table (name = "`authorization`" )
2527public class Authorization {
2628 @ Id
29+ @ Column
2730 private String id ;
2831 private String registeredClientId ;
2932 private String principalName ;
Original file line number Diff line number Diff line change 2222import javax .persistence .Entity ;
2323import javax .persistence .Id ;
2424import javax .persistence .IdClass ;
25+ import javax .persistence .Table ;
2526
2627@ Entity
28+ @ Table (name = "`authorizationConsent`" )
2729@ IdClass (AuthorizationConsent .AuthorizationConsentId .class )
2830public class AuthorizationConsent {
2931 @ Id
Original file line number Diff line number Diff line change 2020import javax .persistence .Column ;
2121import javax .persistence .Entity ;
2222import javax .persistence .Id ;
23+ import javax .persistence .Table ;
2324
2425@ Entity
26+ @ Table (name = "`client`" )
2527public class Client {
2628 @ Id
2729 private String id ;
You can’t perform that action at this time.
0 commit comments