Skip to content

Commit b110d0f

Browse files
phasenraum2010phasenraum2010
authored andcommitted
JPA with PostgreSQL
1 parent 2e6ac34 commit b110d0f

File tree

2 files changed

+13
-19
lines changed

2 files changed

+13
-19
lines changed

src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
2121
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialect
2222
spring.jpa.hibernate.ddl-auto=create-drop
2323
spring.jpa.properties.hibernate.globally_quoted_identifiers=true
24-
spring.thymeleaf.cache=false
2524
spring.thymeleaf.enabled=true
2625
spring.thymeleaf.check-template-location=true
26+
spring.thymeleaf.cache=false
2727
spring.jpa.open-in-view=true
2828
spring.jpa.generate-ddl=true
2929
spring.jpa.show-sql=true

src/main/resources/templates/node/category/all.html

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,19 @@
44
<title th:replace="${title}">Nodes</title>
55
</head>
66
<body th:insert="template :: tw_body">
7-
8-
<body th:insert="template :: tw_body">
9-
10-
<main role="main" th:insert="tw_main">
11-
12-
<div class="container" th:replace="template :: tw_main_app">
13-
<!-- Example row of columns -->
14-
<div class="row">
15-
<div class="col-md-12">
16-
<h2>All Categories:</h2>
17-
<hr/>
18-
<ul th:each="item : ${all}">
19-
<li th:text="${item.name}" />
20-
</ul>
7+
<main role="main" th:insert="template :: tw_main">
8+
<div class="container" th:replace="template :: tw_main_app">
9+
<!-- Example row of columns -->
10+
<div class="row">
11+
<div class="col-md-12">
12+
<h2>All Categories:</h2>
13+
<hr/>
14+
<ul th:each="item : ${all}">
15+
<li th:text="${item.name}" />
16+
</ul>
17+
</div>
2118
</div>
2219
</div>
23-
</div>
24-
25-
</main>
26-
20+
</main>
2721
</body>
2822
</html>

0 commit comments

Comments
 (0)