Skip to content

Instantly share code, notes, and snippets.

Nahashon Njenga Nahasean94

Block or report user

Report or block Nahasean94

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Nahasean94
Nahasean94 / DatabaseImpl.java
Created Oct 19, 2019
Calling a stored procedure from Spring boot using JDBC template
View DatabaseImpl.java
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.namedparam.MapSqlParameterSource;
import org.springframework.jdbc.core.namedparam.SqlParameterSource;
import org.springframework.jdbc.core.simple.SimpleJdbcCall;
import org.springframework.stereotype.Repository;
import javax.annotation.PostConstruct;
import javax.sql.DataSource;
import java.util.Map;
@Nahasean94
Nahasean94 / Controller.java
Created Apr 8, 2018
Controller class for Projo app
View Controller.java
package controllers;
import database.DatabaseOperations;
import database.PasswordAuthentication;
import javafx.application.Platform;
import javafx.beans.binding.Bindings;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
You can’t perform that action at this time.