SQL Server · CrudLabDB
All articles
Every article that is not archived and not in the trash. Tick rows to work on many at once.
| Article | Category | Priority | Status | Updated | |||
|---|---|---|---|---|---|---|---|
|
ART-1005
Soft delete vs hard delete
Soft delete only sets deleted = 1, so the row can be restored; hard delete removes it.
soft deletetrashrestore
|
Database Design | High | Published | 09 Nov 2026 20:54 |
|
||
|
ART-1002
Connecting Spring Boot to SQL Server
The JDBC URL, the login and why encrypt=true needs trustServerCertificate on a dev PC.
sql serverjdbchikari
|
SQL Server | High | Published | 26 Oct 2026 20:21 |
|
||
|
ART-1001
What a Spring Boot starter gives you
Starters bundle the libraries and auto-configuration for one job.
spring bootstartersmaven
|
Spring Boot | High | Published | 26 Oct 2026 20:21 |
|
||
|
--spring.profiles.active=local loads application-local.properties.
profilesconfiguration
|
DevOps | Normal | Published | 09 Nov 2026 20:55 |
|
||
|
ART-1013
Indexes for list pages
An index on the filter and sort columns keeps the list fast as rows grow.
indexperformancesql server
|
Database Design | Normal | Draft | 09 Nov 2026 20:55 |
|
||
|
ART-1014
NVARCHAR and Thai text
Use NVARCHAR for text in any language. ภาษาไทย is stored correctly.
unicodenvarcharthai
|
SQL Server | Normal | Published | 09 Nov 2026 20:55 |
|
||
|
ART-1011
Bean Validation on forms
@NotBlank, @Size and @Pattern on the form class, @Valid in the controller.
validationformsthymeleaf
|
Spring Boot | Normal | Unpublished | 09 Nov 2026 20:55 |
|
||
|
ART-1024
Lambda cheat sheet (second copy)
Collectors.groupingBy and joining.
javastreamscollectors
|
Java | Low | Draft | 09 Nov 2026 20:55 |
|
||
|
BACKUP DATABASE CrudLabDB TO DISK = 'C:\backup\CrudLabDB.bak'
backuprestoresqlcmd
|
DevOps | High | Published | 09 Nov 2026 20:55 |
|
||
|
@SpringBootTest starts the whole app against a separate test database.
testingjunitspring boot test
|
Testing | Normal | Draft | 09 Nov 2026 20:55 |
|
||
|
ART-1017
Bootstrap without a CDN (WebJars)
WebJars put Bootstrap inside the jar, so the app works offline.
bootstrapwebjars
|
Frontend | Low | Unpublished | 09 Nov 2026 20:55 |
|
||
|
ART-1009
Spring Data Specifications
Build a WHERE clause from optional filters without string concatenation.
jpacriteriasearch
|
Spring Boot | Normal | Published | 09 Nov 2026 20:54 |
|
||
|
SQL Server MERGE compares a source row with the table and inserts or updates.
mergeupsertsql server
|
SQL Server | High | Published | 09 Nov 2026 20:54 |
|
||
|
ART-1008
JdbcTemplate batchUpdate
Send thousands of INSERTs in a few round trips.
jdbcbatchperformance
|
Java | Normal | Draft | 09 Nov 2026 20:54 |
|
||
|
ART-1004
Flyway migrations step by step
Every schema change is a numbered SQL file that runs exactly once.
flywaymigrationsschema
|
Database Design | Normal | Published | 09 Nov 2026 20:54 |
|
Showing 1–15 of 22