Every Java backend developer has been there: you're debugging a slow query or a production bug, and your console log spits out 40 lines of formatted SQL filled with ? placeholders, followed by a wall of parameter binding lines:
Hibernate: select u1_0.id, u1_0.email from users u1_0 where u1_0.tenant_id=? and u1_0.created_at>? and u1_0.status=? TRACE o.h.orm.jdbc.bind : binding parameter (1:BIGINT) <- [42] TRACE o.h.orm.jdbc.bind : binding parameter (2:TIMESTAMP) <- [2026-11-23T10:15:30Z] TRACE o.h.orm.jdbc.bind : binding parameter (3:VARCHAR) <- [ACTIVE] You can't paste that into DataGrip or DBeaver. Replacing ? placeholders by hand is tedious, and one missed single quote or Oracle TO_TIMESTAMP() breaks the whole query.
Adding P6Spy or datasource-proxy isn't always an option when you're already looking at a static log file from staging or prod. So I built a 100% client-side Java SQL Log Parameter Binder inside CreaPocket.
👉 Try it live (Free, Zero Server Uploads): Java SQL Log Parameter Binder
⚠️ The Spring Boot 3+ / Hibernate 6 & 7 Logging Gotcha
Before you even parse logs, half the tutorials online still give you the wrong logger name for Spring Boot 3+. In Hibernate 6 and 7, the parameter binding logger was renamed:
logging: level: # Works in Hibernate 5 only (breaks silently in Boot 3+): # org.hibernate.type.descriptor.sql.BasicBinder: TRACE # Correct for Hibernate 6 / 7 (Spring Boot 3+): org.hibernate.SQL: DEBUG org.hibernate.orm.jdbc.bind: TRACE 🛠️ Framework & Dialect Edge Cases Handled Locally
I wanted a single browser utility that doesn't choke on real-world enterprise logs—and never sends production SQL or user data to any remote server. Here's what it parses out of the box:
| Framework / ORM | Log Pattern Supported | Edge Cases Handled |
|---|---|---|
| Hibernate 6 / 7 | org.hibernate.orm.jdbc.bind (<- [val]) | Multi-line format_sql=true blocks & Spring Boot thread prefixes |
| Hibernate 4 / 5 | BasicBinder (binding parameter [1] as [TYPE] - [val]) | Escaping internal single quotes (' → '') |
| MyBatis / Plus | ==> Preparing: + ==> Parameters: | Strings & JSON values containing internal commas or parentheses |
| Spring JdbcTemplate | Executing prepared SQL + StatementCreatorUtils | Sequential column index mapping |
| EclipseLink | bind => [val1, val2] | Batch parameter extraction |
| jOOQ | Executing query + -> with bind values | Extracting clean runnable SQL |
Database Dialect Awareness
Pasting a raw '2026-11-23T10:15:30Z' or true into Oracle or SQL Server won't execute cleanly. The binder lets you switch target dialects on the fly:
- MySQL / PostgreSQL: Standard quoted strings, ISO timestamps,
true/false. - Oracle: Converts timestamps to
TO_TIMESTAMP(...)and booleans to1/0. - SQL Server (T-SQL): Formats boolean
BITvalues as1/0.
📖 Full Config & Troubleshooting Guide
I also put together a complete cheat sheet covering application.yml setups for all five Java frameworks, why spring.jpa.show-sql=true should be avoided in production, and dialect literal differences:
And if you also work with digital assets or comics, CreaPocket includes two other zero-upload browser utilities:
- Batch Folder Image Compressor & Resizer (preserves nested subfolder structures in ZIP)
- Webtoon & Manga Image Slicer
Would love any feedback from fellow Java devs—especially if you run into a weird log format from an older framework version!
