Repository Update: Standalone JDBC Template Spring Application

In this repository is available a sample project that shows how easy it is to implement a standalone application using the Spring Framework (v. 3.2.2) and is able to manipulate data in a database. Access to the database is done using the component’s Spring JDBC Template.

Standalone JDBC Template Spring Application
https://github.com/amusarra/standalone-spring-application
0 forks.
0 open issues.
Recent commits:

Standalone JDBC Template Spring Application - Build Status Badge

This simple project shows how to implement simple CRUD operations (via JDBC Template) on an entity called Horse. The entity is defined as:

  • Name: Name of the horse;
  • Age: Age of horse;
  • Type: Breed of the horse;
  • Color Mantle
  • Chip Id: ID chip of the horse.

The Spring JDBC Template has the following advantages compared with standard JDBC:

  • The Spring JDBC template allows to clean-up the resources automatically, e.g. release the database connections;
  • The Spring JDBC template converts the standard JDBC SQLExceptions into RuntimeExceptions. This allows the programmer to react more flexible to the errors.

For the configuration of the beans are used exclusively annotations.

Ready to get started? Very well. Follow these steps to run the sample application on the fly.

Enjoy!

Liferay Portal Security AuditCos'è e come funzione il framework di Security Audit

Vi siete mai chiesti cos'è e come funziona il sistema di Security Audit di Liferay? Ho cercato di rispondere alla domanda non soffermandomi solo al "cosè e come funziona", sono andato ben oltre. Non vi resta che leggere questo EBook per scoprire.

Ottieni il tuo EBook

Antonio Musarra

I began my journey into the world of computing from an Olivetti M24 PC (http://it.wikipedia.org/wiki/Olivetti_M24) bought by my father for his work. Day after day, quickly taking control until … Now doing business consulting for projects in the enterprise application development using web-oriented technologies such as J2EE, Web Services, ESB, TIBCO, PHP.

You may also like...

Liferay SSL/TLS SecurityCome configurare il bundle Liferay per abilitare il protocollo SSL/TLS

Sei curioso di scoprire come configurare il bundle Liferay per funzionare in modalità sicura tramite protocollo SSL/TLS? In questo eBook ( #LFRDEPGUIDE ) ti spiego come farlo step-by-step; per il bundle Apache Tomcat e WildFly. Ricorda di lasciare un tuo feedback dopo averlo letto.