Nerd For Tech
Published in

Nerd For Tech

Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(“SELECT first_name FROM Customers WHERE last_name = ‘Doe’”);
Statement stmt = connection.createStatement();
stmt.execute(“INSERT INTO user (FIRST_NAME,LAST_NAME) VALUES (1,’John’,’Doe’)”);
User user = userRepository.findAll();;Much simpler than the JDBC implementation.
// find rows by the first name.
userRepository.findByFirstName(String firstName);

// find rows by the last name.
userRepository.findByLastName(String lastName);




NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit

Recommended from Medium

GameDevHQ — Day 17 — Starting Core Programming

CS373 Spring 2022: Mara Manskie

Become a Knight, join our Community

Moving from Azure App Services to Azure Kubernetes Service (Part 2)

Metamask conflict with Coinbase Wallet

The Five Ws of automating UI testing at Cytora

The Legend of R4ndom

Linting Web Accessibility issues in your HTML using just CSS

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Learner, Philomath. Engineer by choice, humorous by nature. Big fan of technology.

More from Medium

Shutdown Hooks for JVM Applications

The optimal approach to find the nth Fibonacci number using recursion in Java

Chapter 6 — Using the Java Library

Execute a Java program from NodeJS