Skip to content

Commit af397d0

Browse files
committed
work
1 parent 48f0813 commit af397d0

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@
159159
<thymeleaf-spring-data-dialect.version>3.5.0</thymeleaf-spring-data-dialect.version>
160160

161161
<!-- Webjars -->
162-
<webjars.bootstrap.version>5.1.3</webjars.bootstrap.version>
163162
<webjars.jquery.version>3.6.0</webjars.jquery.version>
164163
<webjars.popper.js.version>2.9.3</webjars.popper.js.version>
164+
<webjars.bootstrap.version>5.1.3</webjars.bootstrap.version>
165165
<webjars.font-awesome.version>6.1.0</webjars.font-awesome.version>
166166
<webjars.ckeditor.version>31.0.0</webjars.ckeditor.version>
167167
<opencsv.version>5.3</opencsv.version>

src/main/resources/application.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,29 @@ spring:
2323
username: ${SIMPLEWORKLIST_DS_USR}
2424
password: ${SIMPLEWORKLIST_DS_PWD}
2525
driverClassName: org.postgresql.Driver
26+
jta:
27+
atomikos:
28+
connectionfactory:
29+
xa-connection-factory-class-name: org.postgresql.xa.PGXADataSource
30+
log-dir: transaction-logs/transaction-logs-simpleworklist
31+
transaction-manager-id: transaction-manager-simpleworklist
2632
jpa:
27-
show-sql: true
2833
open-in-view: true
34+
show-sql: true
2935
generate-ddl: true
36+
database-platform: POSTGRESQL
3037
hibernate:
31-
ddl-auto: ${SIMPLEWORKLIST_JPA_DLL_AUTO}
38+
#ddl-auto: create-drop update
39+
ddl-auto: ${BLOODMONEY_HIBERNATE_DDL_AUTO}
40+
naming:
41+
implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
42+
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
3243
properties:
3344
hibernate:
3445
dialect: org.hibernate.dialect.PostgreSQL95Dialect
3546
temp:
3647
use_jdbc_metadata_defaults: false
48+
generate_statistics: true
3749
search:
3850
default:
3951
indexBase: ~/.config/simpleworklist
@@ -48,10 +60,8 @@ spring:
4860
sql:
4961
init:
5062
platform: postgresql
63+
mode: ALWAYS
5164
continue-on-error: true
52-
jta:
53-
log-dir: transaction-logs/transaction-logs-simpleworklist
54-
transaction-manager-id: transaction-manager-simpleworklist
5565
org:
5666
woehlke:
5767
simpleworklist:
@@ -176,6 +186,10 @@ spring:
176186
active: default
177187
datasource:
178188
url: jdbc:postgresql://localhost:5432/simpleworklist
189+
server:
190+
port: 9000
191+
compression:
192+
enabled: true
179193
logging:
180194
level:
181195
root: INFO

src/main/resources/templates/layout/page.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<meta name="author" content="Thomas Woehlke">
1414
<meta name="description" content="Your Todo-List for Getting Things Done.">
1515
<title th:replace="${headtitle}">SimpleWorklist</title>
16-
<link th:href="@{/webjars/bootstrap/5.1.3/dist/css/bootstrap.min.css}" rel="stylesheet"/>
16+
<link th:href="@{/webjars/bootstrap/5.1.3/css/bootstrap.min.css}" rel="stylesheet"/>
1717
<link th:href="@{/webjars/font-awesome/6.1.0/css/all.min.css}" rel="stylesheet"/>
1818
<link href="https://fonts.googleapis.com/css?family=Lato|Varela+Round" rel="stylesheet">
1919
<link th:href="@{/css/main.css}" rel="stylesheet"/>
@@ -73,7 +73,7 @@
7373
<script th:src="@{/js/google-analytics.js}"></script>
7474
<script th:src="@{/webjars/jquery/3.6.0/jquery.js}"></script>
7575
<script th:src="@{/webjars/popper.js/2.9.3/umd/popper.min.js}"></script>
76-
<script th:src="@{/webjars/bootstrap/5.1.3/dist/js/bootstrap.bundle.min.js}"></script>
76+
<script th:src="@{/webjars/bootstrap/5.1.3/js/bootstrap.bundle.min.js}"></script>
7777
<script th:src="@{/webjars/font-awesome/6.1.0/js/all.js}"></script>
7878
<script th:src="@{/webjars/ckeditor/31.0.0/classic/ckeditor.js}"></script>
7979
<script th:src="@{/js/application.js}"></script>

0 commit comments

Comments
 (0)