Coder Social home page Coder Social logo

rakeshopensource / spring-boot-datasource-proxy Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 51 KB

Spring boot and data source proxy for logging query statistics and parameters

Java 100.00%
spring-boot hibernate mysql spring-data-jpa datasource-proxy l

spring-boot-datasource-proxy's Introduction

spring-boot-datasource-proxy

2018-04-02 23:09:44.664  INFO 5685 --- [  restartedMain] n.t.d.l.l.SLF4JQueryLoggingListener      : {"name":"Query Execution", "connection":8, "time":4, "success":true, "type":"Prepared", "batch":false, "querySize":1, "batchSize":0, "query":["select next_val as id_val from hibernate_sequence for update"], "params":[[]]}
2018-04-02 23:09:44.667  INFO 5685 --- [  restartedMain] n.t.d.l.l.SLF4JQueryLoggingListener      : {"name":"Query Execution", "connection":8, "time":1, "success":true, "type":"Prepared", "batch":false, "querySize":1, "batchSize":0, "query":["update hibernate_sequence set next_val= ? where next_val=?"], "params":[["2","1"]]}
2018-04-02 23:09:44.697  INFO 5685 --- [  restartedMain] n.t.d.l.l.SLF4JQueryLoggingListener      : {"name":"Query Execution", "connection":7, "time":1, "success":true, "type":"Prepared", "batch":false, "querySize":1, "batchSize":0, "query":["insert into user (age, name, id) values (?, ?, ?)"], "params":[["3","Dhariya","1"]]}
{
  "name": "Query Execution",
  "connection": 7,
  "time": 1,
  "success": true,
  "type": "Prepared",
  "batch": false,
  "querySize": 1,
  "batchSize": 0,
  "query": [
    "insert into user (age, name, id) values (?, ?, ?)"
  ],
  "params": [
    [
      "3",
      "Dhariya",
      "1"
    ]
  ]
}

spring-boot-datasource-proxy's People

Contributors

rakeshopensource avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.