SShortSingh.
Back to feed

Developer builds browser-based tool to reconstruct executable SQL from Java JDBC code

0
·2 views

A developer has released Bind2SQL, a free browser-based tool designed to eliminate the tedious manual work of reconstructing executable SQL from Java PreparedStatement code during debugging. The tool takes Java/JDBC code along with runtime values and substitutes placeholders with actual parameters, handling common types such as strings, integers, dates, and map-based lookups. Unresolved parameters are flagged explicitly rather than guessed, ensuring developers can spot gaps before running queries. Bind2SQL runs entirely in the browser with no backend, server uploads, or account required, keeping potentially sensitive production data local to the user's machine. The developer is currently seeking real-world JDBC code examples that expose parser limitations, prioritising robustness over new features.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Adding UUID Support to Rust Framework Runique Exposed Three Hidden Database Bugs

A developer maintaining Runique, a Django-inspired Rust web framework built on Axum and SeaORM, set out to add UUID primary key support alongside existing integer options. The work required running tests against three separate database backends — PostgreSQL, SQLite, and others — for the first time, rather than relying on a single cargo test run. This revealed three pre-existing bugs: a misplaced USING clause in PostgreSQL ALTER TABLE statements, a case-mismatch error in enum renames due to inconsistent quoting, and a runtime panic in SQLite caused by unsupported column modification syntax. None of the bugs were related to UUID support itself; they had simply gone undetected because generated SQL had never been validated against real database engines. The developer concluded that passing unit tests do not guarantee correctness unless the actual SQL output is verified against live backends.

0
ProgrammingDEV Community ·

Why Copy-Pasting Code Without Understanding It Creates Hidden Long-Term Debt

Developers routinely copy code from Stack Overflow or AI tools to fix bugs quickly, but moving on without understanding the solution creates what can be called 'understanding debt.' Unlike architectural technical debt, this gap leaves no visible symptoms in code reviews or build times, making it easy to overlook for years. The real cost emerges at critical moments — during live incidents or high-pressure situations — when a developer cannot explain or adapt code they never truly learned. A simple five-minute habit of tracing logic, testing edge cases, and identifying implicit assumptions can convert a borrowed fix into genuine knowledge. AI coding assistants have accelerated this problem by removing the natural friction that once encouraged developers to engage more deeply with solutions.

0
ProgrammingDEV Community ·

Developer Builds Tool to Make Three Years of Telegram Group Chat Searchable

A developer has created a system to make a large Telegram group chat history queryable by exporting and converting it into structured documents. The process involved handling two export formats — JSON and paginated HTML — each with distinct parsing challenges, including inconsistent date formats between Telegram Desktop and macOS clients. Key technical hurdles included sticky sender names, nested forwarded message authors, and efficiently packing content within NotebookLM's 500,000-word-per-source limit. To avoid reprocessing old messages on repeat exports, the tool stores state in destination filenames rather than a local watermark, using the last known message as a cursor. The project was built to make years of accumulated group knowledge actually accessible and searchable rather than buried in an unnavigable chat history.

0
ProgrammingDEV Community ·

Developer builds Crumb, a lightweight system-tray bookmark launcher for frequent sites

A developer created a small open-source app called Crumb to provide faster access to frequently visited websites without a full bookmark manager. The tool sits in the system tray and opens a compact window showing favorited links at the top, with a search box and optional global keyboard shortcut for quick access. Clicking any link opens it in the browser and closes the window automatically. Crumb supports list and card views, clipboard URL import, and favicon display, storing all data locally in a plain JSON file with no accounts or cloud sync required. Built with Tauri v2, React, TypeScript, Vite, and Tailwind, the project is publicly available on GitHub.