Skip to content

Commit

Permalink
Merge pull request #20302 from mshima/skip_ci-reactive_sql
Browse files Browse the repository at this point in the history
sb3: fix sql reactive workflows.
  • Loading branch information
DanielFran authored Nov 13, 2022
2 parents d8e79f7 + 75af398 commit cf3fc11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,15 @@
<property name="now" value="current_timestamp" dbms="postgresql"/>
<property name="floatType" value="float4" dbms="postgresql"/>
<property name="clobType" value="clob" dbms="postgresql"/>
<%_ if (reactive) { _%>
<%_
// hibernate/liquibase maps Blob type to oid by default https://liquibase.jira.com/browse/CORE-1863
// r2dbc-postgresql doesn't support mapping Blob to oid https://github.com/pgjdbc/r2dbc-postgresql/issues/255
_%>
<property name="blobType" value="bytea" dbms="postgresql"/>
<%_ } else { _%>
<property name="blobType" value="blob" dbms="postgresql"/>
<%_ } _%>
<property name="uuidType" value="uuid" dbms="postgresql"/>
<property name="datetimeType" value="datetime" dbms="postgresql"/>
<%_ } _%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ public class SecurityConfiguration {
.logout()
.logoutUrl("/api/logout")
.logoutSuccessHandler(new HttpStatusReturningServerLogoutSuccessHandler())
.and()
<%_ } _%>
.headers()
.contentSecurityPolicy(jHipsterProperties.getSecurity().getContentSecurityPolicy())
Expand Down

0 comments on commit cf3fc11

Please sign in to comment.