Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

This sample simply connect to a mysql server and execute a script which is located in the jar package and insert values into created
database tables and retrieve data from values inserted from through the program.

Prerequisites

  • Java Development Kit / JRE version 1.6.* or 1.7.*
  • Apache Ant 1.7.0 or later

JDK and Ant setup instructions are given in section Installation Prerequisites.

Building the Sample

mvn clean assembly:assembly -o

 

Executing the Sample

java -jar  -Djdbcurl=jdbc:mysql://localhost:3306/rssdb -Ddriver=com.mysql.jdbc.Driver -Dusername=root -Dpassword=root target/rss-simple-sql-sample-1.0-jar-with-dependencies.jar

 

 

  • No labels