What is JDBC Logger? JDBC Logger is an Open Source Java tool that intercepts and logs all database statements that use JDBC. It is intended for developers to monitor SQL statements generated by EJB, Hibernate or any other database access tool that doesn't display them in clear.
public void test_order_save() { Order orderToBeFound = new Order(SOME_ID, SOME_NAME1); orderToBeFound.save(); new DataStorm().show( connection, "SELECT * FROM orders o WHERE o.id = " + SOME_ID ); assertNotNull(orderToBeFound.load(SOME_ID));}
Data Storm is a free open source data base browser. While there are millions of data base browsers freely available online, Data Storm is different as it can be launched directly from within your Java code. This enables you to see and modify data that otherwise may not be available to you.