« first day (4543 days earlier)      last day (381 days later) » 

12:00 AM
Loose bits sink chips. (source)
 
 
1 hour later…
1:14 AM
@SergeyZolotarev Erm, you can't?
 
 
9 hours later…
10:36 AM
@Michael well, that's why I asked this question
 
 
3 hours later…
1:07 PM
@SergeyZolotarev The only way to specify an HTTP method in raw HTML is through the method attribute in <form>.
Thymeleaf must be generating Javascript to make those HTTP calls.
And method only supports GET and POST.
 
1:32 PM
ChatGPT said the same thing. It suggested using a script which is a bit too much for such a trivial objective (so I abandoned it altogether and made my deleteUser() handler accept GET requests)
 
1:51 PM
Ha!
It's bad practice to use GET for non-idempotent actions.
 
 
1 hour later…
3:06 PM
@Michael what would you do?
 
3:21 PM
Suppose I want Spring to

1. Check if required tables exist
2. Add columns, if necessary
3. Add sample rows if tables are empty (do nothing if not)

I read this article (https://www.baeldung.com/spring-boot-data-sql-and-schema-sql). My understanding is that I have to do this to fulfill my objective

1. Set these properties
spring.jpa.hibernate.ddl-auto=update
spring.jpa.defer-datasource-initialization=true
spring.sql.init.mode=always

2. Add a data.sql file that incorporates some in-built conditional logic
 

« first day (4543 days earlier)      last day (381 days later) »