Skip to content

Instantly share code, notes, and snippets.

@sidola
Created December 4, 2018 13:41
Show Gist options
  • Save sidola/5845bfa74d15f340d3ee10aacf48ff62 to your computer and use it in GitHub Desktop.
Save sidola/5845bfa74d15f340d3ee10aacf48ff62 to your computer and use it in GitHub Desktop.
package me.sidbot.sandbox.repository;
public class UserRepository extends BaseRepository {
/**
* select all rows in the warehouses table
*/
public void selectAll(){
String sql = "SELECT id, name, capacity FROM warehouses";
executeQuery(sql);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment