Thursday, 4 July 2019

Spring boot Tutorial 10 - Spring Boot - Schedule Task - Playlist

Spring boot Tutorial 10 - Spring Boot - Schedule Task - Playlist
https://www.youtube.com/watch?v=lT2x8N0ch5w&list=PLmCsXDGbJHdigIrpk4yIg1K4SSFrOGV6f

Spring boot Tutorial 09 - Spring Boot - Intercepting & Modifying HTTP Requests & Responses - Playlist

Spring boot Tutorial 09 - Spring Boot - Intercepting & Modifying HTTP Requests & Responses - Playlist
https://www.youtube.com/watch?v=Kf_cTErI2P8&list=PLmCsXDGbJHdihaYJ2itMBdYYMI_WlB7Ok

Spring Boot - How to schedule a task at a fixed delay? | Spring Boot - Schedule task

Spring Boot - How to schedule a task at a fixed Rate? | Spring Boot - Schedule task

How to add a Servlet filter in Spring Boot? | Spring Boot - Servlet Filter

How To Configure The Interceptor With Spring Boot Application? | Spring Boot - Interceptor

The bear and the bird's story in English | kids story in English

Spring Boot - File download Example | Spring Boot - File Download

Lord Shiva and Parvati amazing lights

Spring boot Tutorial 08 - Spring Boot - File Upload/Download - Playlist

Spring boot Tutorial 08 - Spring Boot - File Upload/Download - Playlist
https://www.youtube.com/watch?v=0QEW3vHujxM&list=PLmCsXDGbJHdiWbvo551MFCAmTtj3RX1iT

Spring Boot File Upload Example with MultipartFile | Spring Boot - File Upload

Lord Vinayaka amazing lights

Postman REST client - Playlist

How To Download And Install Postman REST client? | Software Testing Material

How to configure Logback in Spring boot application to print the log in the console and file?

How to configure Logback in Spring boot application to print the log in the file?

How to configure Logback in Spring boot application to print the log in the console?

Spring boot Tutorial 07 - Spring boot - logging | Logging in Spring boot - Playlist


Spring boot Tutorial 07 - Spring boot - logging | Logging in Spring boot - Playlist

Spring Boot - Logging(logging.path and logging.file) | How to print the logs in a log file?

Spring Boot - Logging | Logging in Spring Boot

How does Maven work? | Apache Maven

How can we develop the application with and without Maven?

How to create a web application using Spring boot?

How to develop Spring boot Standalone Application?

ActiveMQ Tutorial - Playlist

RabbitMQ Tutorial - Playlist

Spring boot Tutorial 05 - Profiles in Spring boot - Playlist

Spring boot Tutorial 05 - Profiles in Spring boot - Playlist
https://www.youtube.com/watch?v=re3Gszgusgg&list=PLmCsXDGbJHdguDMryQ2-0xwZt3JRrs1fd

Spring boot Tutorial 04 - @Value Annotation in Spring boot - Playlist

Spring boot Tutorial 04 - @Value Annotation in Spring boot - Playlist link below

https://www.youtube.com/watch?v=kbXljz2QjPc&list=PLmCsXDGbJHdgs5aaKfU_H3e-FQcOBTOEE

Spring boot Tutorial 03 - Change the default port number - Playlist

Spring boot Tutorial 03 - Change the default port number - Playlist link below

https://www.youtube.com/watch?v=wVI3mLGG52U&list=PLmCsXDGbJHdiwDCWubMdd8YXjA3BNR5qJ

Spring boot Tutorial 02 - Spring Boot - Runners - Playlist

Spring boot Tutorial 02 - Spring Boot - Runners - Playlist link below

https://www.youtube.com/watch?v=YupsPzHlCHM&list=PLmCsXDGbJHdggNVb_Km-Z_cRf2HOSsLRp

Spring boot Tutorial 01 - Spring boot basics - Playlist


Spring boot Tutorial 01 - Spring boot basics - Playlist link below.

What is Bill Of Materials (BOM) in Spring boot?

How to use Profiles in Spring Boot application? - YAML file

How to use Profiles in Spring Boot application? - Properties file

Thursday, 13 June 2019

Gradle Tutorial

Spring Boot Tutorial

How to set a random port number in spring boot application? | Spring Boo...

How to change the default port in spring boot programmatically? - WebServerFactoryCustomizer

How to change the default port in spring boot application programmatically? | Spring Boot tutorial

How to generate Random numbers using ints Bound methods of Random Class?

How to use @Value annotation with default value in Spring Boot? | Spring Boot tutorial

How to use @Value annotation in Spring Boot? | Spring Boot tutorial

How to Change the Default Port number of Spring Boot Application using application.yml file?

How to read properties file which is outside the Jar in Spring Boot? | Externalize properties file

What is the common application properties in Spring Boot? | Spring Boot tutorial

Tuesday, 11 June 2019

How to Change the Default Port number of Spring Boot Application using command line properties?

ApplicationRunner interface example in Spring boot | Spring Boot tutorial

CommandLineRunner interface example in Spring boot | Spring Boot tutorial

How to debug the spring boot Application in eclipse? | Spring Boot tutorial

How to import the Gradle spring boot Application in eclipse? | Spring Boot tutorial

How to import the Maven spring boot Application in eclipse? | Spring Boot tutorial

How to Bootstrap a spring boot Application using STS (Spring Tool Suite)? | Spring Boot tutorial

How to Bootstrap a spring boot Application? - Gradle project | Spring Boot tutorial

Spring Boot Tutorial All–in–One | Spring Boot Tutorial by Ram - Playlist

Spring Boot Tutorial All–in–One | Spring Boot Tutorial by Ram - Playlist link -
https://www.youtube.com/watch?v=-wCQcxWNUtE&list=PLmCsXDGbJHdj0tP65j4_-wAuEcqv-w-8J

Gradle tutorial | Gradle build tutorial | Gradle build tool - Playlist

Monday, 10 June 2019

Friday, 10 May 2019

How to Send/Receive Text Message to/from Queue(Spring + JMS + RabbitMQ Example with Annotations)

How to Send/Receive Text Message to/from Queue of RabbitMQ

What is Headers Exchange in RabbitMQ? | RabbitMQ tutorial

What is Topic Exchange in RabbitMQ? | RabbitMQ tutorial

What is Fanout Exchange in RabbitMQ? | RabbitMQ tutorial

What is Direct Exchange in RabbitMQ? | RabbitMQ tutorial

What is Default Exchange in RabbitMQ? | RabbitMQ tutorial

What is Exchanges and Exchange Types in RabbitMQ? | RabbitMQ tutorial

What is Exchanges and Exchange Types in RabbitMQ? | RabbitMQ tutorial

What is RabbitMQ AMQP Model? | RabbitMQ tutorial

What is messaging model of RabbitMQ? | RabbitMQ tutorial

What is RabbitMQ? | RabbitMQ tutorial

Saturday, 20 April 2019

How to Send the message to the Queue and how to receive the message from the Queue?

How to Send the message to the Queue of ActiveMQ?

JMS API Programming Model

Queues and Topics in Java Message Service (JMS)

Spring Tutorial 35 - Spring JMS tutorial | Java Message Service (JMS) tutorial - Playlist

What is Java Message Service (JMS)? | Java Message Service (JMS) tutorial

How to Download and Install Apache ActiveMQ on Windows

Spring Cache Tutorial with EhCache (How to use @CacheConfig Annotation?)

Spring Cache Tutorial with EhCache (How to use @Caching Annotation?) | Spring Cache

Spring Cache Tutorial with EhCache [How to update the cache?] | Spring Cache

Spring Cache Tutorial with EhCache | Spring Cache | Spring Tutorial - Playlist

Spring Cache Tutorial with EhCache | Spring Cache | Spring Tutorial

How to generate Random numbers using nextGaussian() method of Random Class?

How to generate Random numbers using the nextBytes(byte[] bytes) method of Random Class?

How to generate Random numbers using nextInt(int bound) method of Random Class?

How to generate Random numbers using next methods of Random Class?

How to Send an Email using Freemarker Template library? | Spring Java Mail

https://www.youtube.com/watch?v=RFVnFx2PEdE

How to Send an Email with Inline Resource using Annotations configuration? | Spring Java Mail

https://www.youtube.com/watch?v=xXD-SgfhtOA

How to Send an Email with an attachment using Annotations Configuration? | Spring Java Mail

https://www.youtube.com/watch?v=dVW3c0xApH0

Friday, 5 April 2019

How to Send an Email using spring java mail with Annotations Configuration?

How to Send an email in Spring by Server provided by host provider?

https://www.youtube.com/watch?v=_1TITSkTiF0

How to Send an Email with an attachment?

https://www.youtube.com/watch?v=YE21CZCKLSU

How to Send an Email based on the Email template?

https://www.youtube.com/watch?v=FTZ_eeIqZCQ

How to Send an Email via Gmail SMTP server using MimeMessagePreparator?

https://www.youtube.com/watch?v=6l5_R7X4Nc0

Spring Java Mail - How to Send an Email via Gmail SMTP server to multiple receivers?

How to Send an Email via Gmail SMTP server with MailSender?

https://www.youtube.com/watch?v=zp_udt0ZpTY

Spring Tutorial 33 - Spring Java mail | Spring mail tutorial | Spring mail example - Playlist

What is the Spring Java Mail API?

https://www.youtube.com/watch?v=9M1-kCyZqGc

Monday, 11 March 2019

தளபதி விஜய் நடித்த Top 5 Action movies | Thalapathy Vijay Top 5 Action m...

தளபதி விஜய் நடித்த Top 10 Action movies | Thalapathy Vijay Top 10 Action...

தளபதி விஜய் நடித்த Top 15 Action movies | Thalapathy Vijay Top 15 Action...

தளபதி விஜய் நடித்த Average movies | Thalapathy Vijay Average movies | Tamil

தளபதி விஜய் நடித்த Top 5 Love Story movies | Thalapathy Vijay Top 5 Love...

தளபதி விஜய் நடித்த Top 10 Love Story movies | Thalapathy Vijay Top 10 Lo...

தளபதி விஜய் நடித்த Hit movies | Thalapathy Vijay Hit movies | Tamil

தளபதி விஜய் நடித்த Super Hit movies | Thalapathy Vijay Super Hit movies ...

தளபதி விஜய் நடித்த Blockbuster movies | Thalapathy Vijay Blockbuster mov...

Sunday, 10 March 2019

kids story in English: The Flea and the mouse story in English

kids story in English: The Fox and the goat story in English

Spring - How to get all records by calling the stored procedure using SimpleJdbcCall

Spring - Calling a stored function using SimpleJdbcCall | Spring JDBC tutorial | Spring JDBC

Spring - Calling a stored procedure with SimpleJdbcCall (Explicitly declaring parameters)

Spring - Calling a stored procedure with SimpleJdbcCall | Spring JDBC tutorial

Spring - Inserting data using SimpleJdbcInsert and MapSqlParameterSource | Spring JDBC tutorial

Spring - Inserting data using SimpleJdbcInsert and SqlParameterSource | Spring JDBC tutorial

kids story in English: Freedom and Good Food story in English

kids story in English: The kangaroo and the koala story in English

kids story in English: The Crows and the Serpent story | The crows and the snake story in English

kids story in English: The Lion and His Brothers story in English

kids story in English: The Lioness and the young Jackal story in English

kids story in English: The wolf and the seven little goats story in English

Saturday, 9 March 2019

தல அஜித் குமார் நடித்த Top 5 flop movies | Thala Ajith 5 flop movies

தல அஜித் குமார் நடித்த Top 10 flop movies | Thala Ajith 10 flop movies

தல அஜித் குமார் நடித்த Top 15 flop movies | Thala Ajith 15 flop movies

தல அஜித் குமார் நடித்த Cameo appearance movies | Thala Ajith Cameo appea...

தல அஜித் குமார் நடித்த Average movies | Thala Ajith Average movies

தல அஜித் குமார் நடித்த Hit movies | Thala Ajith Hit movies

தல அஜித் குமார் நடித்த Top 6 SuperHit movies | Thala Ajith Top 6 SuperHi...

தல அஜித் குமார் நடித்த Top 3 Blockbuster movies | Thala Ajith Top 3 Bloc...

தல அஜித் குமார் நடித்த Top 5 love story movies | Thala Ajith Kumar Top 5...

தல அஜித் குமார் நடித்த Top 10 Action movies | Thala Ajith Kumar Top 10 A...

Thala Ajith Kumar Top 10 love story movies | Thala Ajith Top 10 love sto...

தல அஜித் குமார் நடித்த Top 5 Action movies | Thala Ajith Kumar Top 5 Act...

தல அஜித் குமார் நடித்த Top 5 movies | Thala Ajith Kumar Top 5 movies | T...

தல அஜித் குமார் நடித்த Top 10 movies | Thala Ajith kumar Top 10 movies |...

தல அஜித் குமார் நடித்த Top 15 movies | Thala Ajith kumar Top 15 movies |...

தளபதி விஜய் நடித்த Top 5 movies | Thalapathy Vijay Top 5 movies | Tamil

தளபதி விஜய் நடித்த Top 10 movies | Thalapathy Vijay Top 10 movies | Tamil

தளபதி விஜய் நடித்த Top 15 movies | Thalapathy Vijay Top 15 movies | Tamil

தளபதி விஜய் நடித்த Top 20 movies | Thalapathy Vijay Top 20 movies | Tamil

விஜய் சேதுபதி நடித்த Top 5 Side actor movies | Vijay Sethupathi Top 5 S...

விஜய் சேதுபதி நடித்த Top 5 Comedy movies | Vijay Sethupathi Top 5 Comedy...

விஜய் சேதுபதி நடித்த Top 10 movies | Vijay Sethupathi Top 10 movies | Tamil

விஜய் சேதுபதி நடித்த Top 5 movies | Vijay Sethupathi Top 5 movies | Tamil

விஜய் சேதுபதி நடித்த Top 5 Action movies | Vijay Sethupathi Top 5 Action...

kids story in English: The Cunning Hyena story in English

Wednesday, 6 March 2019

Spring - Specifying columns for SimpleJdbcInsert | Spring JDBC tutorial | Spring JDBC

Spring - Inserting data using SimpleJdbcInsert | Spring JDBC tutorial | Spring JDBC

kids story in English: The cat, partridge and the hare story in English

kids story in English: The Lion and The Foolish Donkey story in English

How to format the string using java.util.Formatter class - Playlist

Tuesday, 5 March 2019

How to use format(Locale l, String format, Object... args) method of java.util.Formatter class


Click here to watch on Youtube:
https://www.youtube.com/watch?v=ec2-YfmtPSk&list=UUhwKlOVR041tngjerWxVccw

FormatterDemo.java

import java.util.Formatter;
import java.util.Locale;

/**
 * public Formatter format(Locale l, String format, Object... args)
 *
 * Parameters:
 *
 * l - The locale to apply during formatting.
 *
 * format - A format string as described in Format string syntax.
 *
 * args - Arguments referenced by the format specifiers in the format
 * string. If there are more arguments than format specifiers, the
 * extra arguments are ignored. The maximum number of arguments is
 * limited by the maximum dimension of a Java array as defined by The
 * Java™ Virtual Machine Specification.
 *
 * Returns: This formatter
 *
 */

public class FormatterDemo
{

    public static void main(String[] args)
    {
        Formatter formatter = new Formatter();

        /*
         * In this example, the format specifiers, %s and %d are
         * replaced with the arguments that follow the format string.
         * %s is replaced by "Peter", %d is replaced by 10. %s
         * specifies a string, and %d specifies an integer value. All
         * other characters are simply used as-is.
         */

        formatter.format(Locale.US, "%s age is %d", "Peter", 10);
        System.out.println(formatter.out());
        formatter.close();
    }

}

Output:

Peter age is 10

Click the below link to download the code:
https://sites.google.com/site/javaspringram2019/java_spring_2019/FormatterDemo_format_locale.zip?attredirects=0&d=1

Github Link:
https://github.com/ramram43210/Java_Spring_2019/tree/master/Java_2019/FormatterDemo_format_locale

Bitbucket Link:
https://bitbucket.org/ramram43210/java_spring_2019/src/ef6f73b2185c28cb9cd0149bcd1e9fa0a5b2bdf3/Java_2019/FormatterDemo_format_locale/?at=master

See also:

  • All JavaEE Videos Playlist
  • All JavaEE Videos
  • All JAVA EE Links
  • Spring Tutorial
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • Kids Tutorial
  • Cooking Tutorial
  • How to format the string using java.util.Formatter class


    Click here to watch on Youtube:
    https://www.youtube.com/watch?v=qt89kDYMBGo&list=UUhwKlOVR041tngjerWxVccw

    Click the below Image to Enlarge:

    How to format the string using java.util.Formatter class

    FormatterDemo.java

    import java.util.Formatter;

    /**
     * public Formatter format(String format, Object... args)
     *
     * Parameters:
     *
     * format - A format string as described in Format string syntax.
     *
     * args - Arguments referenced by the format specifiers in the format
     * string. If there are more arguments than format specifiers, the
     * extra arguments are ignored. The maximum number of arguments is
     * limited by the maximum dimension of a Java array as defined by The
     * Java™ Virtual Machine Specification.
     *
     * Returns: This formatter
     *
     */

    public class FormatterDemo
    {

        public static void main(String[] args)
        {
            Formatter formatter = new Formatter();

            /*
             * In this example, the format specifiers, %s and %d are
             * replaced with the arguments that follow the format string.
             * %s is replaced by "Peter", %d is replaced by 10. %s
             * specifies a string, and %d specifies an integer value. All
             * other characters are simply used as-is.
             */

            formatter.format("%s age is %d", "Peter", 10);
            System.out.println(formatter.out());
            formatter.close();
        }

    }

    Output:

    Peter age is 10

    Refer: 
    https://docs.oracle.com/javase/8/docs/api/index.html?java/util/Formatter.html

    Click the below link to download the code:
    https://sites.google.com/site/javaspringram2019/java_spring_2019/FormatterDemo_Intro.zip?attredirects=0&d=1

    Github Link:
    https://github.com/ramram43210/Java_Spring_2019/tree/master/Java_2019/FormatterDemo_Intro

    Bitbucket Link:
    https://bitbucket.org/ramram43210/java_spring_2019/src/ef6f73b2185c28cb9cd0149bcd1e9fa0a5b2bdf3/Java_2019/FormatterDemo_Intro/?at=master

    See also:

  • All JavaEE Videos Playlist
  • All JavaEE Videos
  • All JAVA EE Links
  • Spring Tutorial
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • Kids Tutorial
  • Cooking Tutorial
  • Spring + JdbcTemplate + How to retrieve auto-generated keys


    Click here to watch on Youtube:
    https://www.youtube.com/watch?v=rbi3TkO0q5U&list=UUhwKlOVR041tngjerWxVccw

    Click the below Image to Enlarge:

    Spring + JdbcTemplate + How to retrieve auto-generated keys

    Employee.sql

    CREATE DATABASE org_db;


    CREATE TABLE `employee` (
      `EMPLOYEE_ID` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
      `NAME` VARCHAR(100) NOT NULL,
      `AGE` INT(10) NOT NULL,
      `SALARY` INT(10) DEFAULT NULL,
      PRIMARY KEY (`EMPLOYEE_ID`)
    ) ENGINE=INNODB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

    pom.xml

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>com.ram.core</groupId>
        <artifactId>SpringDemo</artifactId>
        <packaging>jar</packaging>
        <version>1.0-SNAPSHOT</version>
        <name>SpringDemo</name>
        <url>http://maven.apache.org</url>

        <properties>
            <spring.version>5.0.5.RELEASE</spring.version>
        </properties>

        <dependencies>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>3.8.1</version>
                <scope>test</scope>
            </dependency>

            <!-- Spring 5 dependencies -->
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
                <version>${spring.version}</version>
            </dependency>

            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>${spring.version}</version>
            </dependency>

            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-jdbc</artifactId>
                <version>${spring.version}</version>
            </dependency>

            <!-- MySQL database driver -->
            <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>8.0.11</version>
            </dependency>

        </dependencies>

    </project>

    EmployeeDAO.java

    package com.ram.employee.dao;

    public interface EmployeeDAO
    {
        public void retriveAutoGeneratedKey();
    }

    EmployeeDAOImpl.java

    package com.ram.employee.dao.impl;

    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;

    import org.springframework.jdbc.core.PreparedStatementCreator;
    import org.springframework.jdbc.core.support.JdbcDaoSupport;
    import org.springframework.jdbc.support.GeneratedKeyHolder;
    import org.springframework.jdbc.support.KeyHolder;

    import com.ram.employee.dao.EmployeeDAO;

    public class EmployeeDAOImpl
            extends JdbcDaoSupport implements EmployeeDAO
    {

        public void retriveAutoGeneratedKey()
        {
            final String INSERT_SQL = "INSERT INTO EMPLOYEE "
                    + "(NAME, AGE,SALARY) VALUES (?, ?, ?)";

            KeyHolder keyHolder = new GeneratedKeyHolder();
            getJdbcTemplate().update(new PreparedStatementCreator()
            {
                public PreparedStatement createPreparedStatement(
                        Connection connection) throws SQLException
                {
                    PreparedStatement ps = connection.prepareStatement(
                            INSERT_SQL, new String[] { "id" });
                    ps.setString(1, "Rob");
                    ps.setInt(2, 12);
                    ps.setInt(3, 9090);
                    return ps;
                }
            }, keyHolder);

            System.out.println(
                    "Auto generated Key is = " + keyHolder.getKey());
        }

    }

    applicationContext.xml

    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans-4.3.xsd">


        <bean id="dataSource"
            class="org.springframework.jdbc.datasource.DriverManagerDataSource">
            <property name="driverClassName" value="com.mysql.jdbc.Driver" />
            <property name="url" value="jdbc:mysql://localhost:3306/org_db" />
            <property name="username" value="root" />
            <property name="password" value="root" />
        </bean>

        <bean id="employeeDAO" class="com.ram.employee.dao.impl.EmployeeDAOImpl">
            <property name="dataSource" ref="dataSource" />
        </bean>
     
    </beans>

    App.java

    package com.ram.core;

    import org.springframework.context.ApplicationContext;
    import org.springframework.context.support.ClassPathXmlApplicationContext;

    import com.ram.employee.dao.EmployeeDAO;

    public class App
    {
        public static void main(String[] args)
        {
            ApplicationContext context = new ClassPathXmlApplicationContext(
                    "applicationContext.xml");

            EmployeeDAO employeeDAO = (EmployeeDAO) context
                    .getBean("employeeDAO");
            employeeDAO.retriveAutoGeneratedKey();
        }
    }

    Output:

    Feb 20, 2019 10:36:51 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
    INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@736e9adb: startup date [Wed Feb 20 10:36:51 IST 2019]; root of context hierarchy
    Feb 20, 2019 10:36:52 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
    INFO: Loading XML bean definitions from class path resource [applicationContext.xml]
    Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
    Feb 20, 2019 10:36:52 AM org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
    INFO: Loaded JDBC driver: com.mysql.jdbc.Driver
    Wed Feb 20 10:36:53 IST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
    Auto generated Key is = 10

    Click the below link to download the code:
    https://sites.google.com/site/javaspringram2019/java_spring_2019/SpringDemo_Retrive_auto_key.zip?attredirects=0&d=1

    Github Link:
    https://github.com/ramram43210/Java_Spring_2019/tree/master/Spring_2019/SpringDemo_Retrive_auto_key

    Bitbucket Link:
    https://bitbucket.org/ramram43210/java_spring_2019/src/8f8b5563b7f2921ed260908e4906103995d9c6cc/Spring_2019/SpringDemo_Retrive_auto_key/?at=master

    See also:

  • All JavaEE Videos Playlist
  • All JavaEE Videos
  • All JAVA EE Links
  • Spring Tutorial
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • Kids Tutorial
  • Cooking Tutorial