← All Tools
Developer Utilities

Java SQL Log Parameter Binder

Convert Hibernate 5–8, EclipseLink JPA, MyBatis, jOOQ, and JdbcTemplate logs into SQL for MySQL, PostgreSQL, Oracle, and SQL Server. Zero server uploads.

Your logs stay in this browser

JPA is a specification, not a log format. Choose its provider. Hibernate 7.4 is stable; 8.0 is CR1 preview. EclipseLink FINE logs and jOOQ LoggerListener logs are also supported.

Raw Console Log

Paste mixed logs
Multiple queries and multiline SQL supported0 chars

Executable SQL

Waiting for log
Values are quoted for the selected dialect.0 queries

From console trace to query in three steps

Paste the relevant application log, choose your framework and database (or let detection help), then copy the reconstructed SQL into DataGrip or DBeaver. Review interpolated SQL before running it.

01 / PASTE CONSOLE LOG

Include SQL and bind lines

Paste mixed Spring Boot output. Keep the SQL statement and its corresponding parameter lines together for accurate binding.

02 / PICK FRAMEWORK & DB DIALECT

Choose the source and target

Select Hibernate, MyBatis, JdbcTemplate, EclipseLink, or jOOQ and the database that will execute the query.

03 / COPY & RUN IN DATAGRIP / DBEAVER

Inspect, copy, and run

Check dates, strings, and the detected parameter count, then copy the SQL to your database client.

Supported log formats & SQL dialects

FrameworkRepresentative console lineBinding style
Hibernate 6 / 7 / 8org.hibernate.orm.jdbc.bind: binding parameter (1:VARCHAR) <- [Ada]Indexed, typed bind events; Hibernate 8 format grouped as preview
Hibernate 4 / 5BasicBinder: binding parameter [1] as [VARCHAR] - [Ada]Indexed BasicBinder events
MyBatis / PlusPreparing: select * from users where name=?
Parameters: Ada(String)
Preparing SQL + typed parameter list
Spring JdbcTemplateExecuting prepared SQL statement [select ... where id=?]SQL statement + indexed value events
EclipseLink JPA[EL Fine]: sql: ... -- SELECT ... WHERE ID=?
bind => [42]
FINE SQL + ordered bind lines
jOOQExecuting query : select ... where id=?
-> with bind values : select ... where id=42
Uses jOOQ’s already inlined debug SQL when present
MySQL / Standard

NULL, numeric literals, quoted strings, TRUE/FALSE, quoted date and timestamp values.

PostgreSQL

NULL, numeric literals, escaped strings, TRUE/FALSE, quoted date and timestamp values.

Oracle

NULL, 1/0 booleans, TO_DATE for dates, and TO_TIMESTAMP for timestamp values.

SQL Server

NULL, 1/0 booleans, escaped Unicode-safe strings and quoted date/time values.

SQL log binder FAQs

How do I convert a Hibernate SQL binding parameter to SQL?

Paste the SQL plus Hibernate bind messages. The binder reads parameter indexes and types, then replaces placeholders outside SQL string literals and comments.

Can the MyBatis parameter parser handle commas inside values?

It scans quotes and nested brackets, then uses MyBatis type suffixes to distinguish parameter boundaries. This handles common comma-containing strings and JSON values; inspect ambiguous custom object renderings.

How are Oracle timestamps rendered?

Recognized timestamp types use TO_TIMESTAMP with an explicit format mask; date-only values use TO_DATE. Unrecognized date text is quoted as received, so verify timezone and fractional-second semantics.

Is it safe to paste production logs?

Parsing runs in this page without sending the pasted text to a CreaPocket server. Still remove secrets and personal data before sharing logs or copying reconstructed SQL into other systems.