dyna4JDBC

dyna4JDBC is a JDBC driver, that allows running alternative JVM language scripts (Groovy, JavaScript, Scala, Jython, Clojure, BeanShell, R (Renjin), JRuby etc.) or external console-oriented programs via the JDBC API. Mainly targeted at allowing JDBC-enabled business intelligence applications to run various scripts instead of SQL easily, dyna4JDBC captures and parses the output of scripts/external programs and presents that as a standard JDBC Result Set, allowing the output to be processed further for various purposes like building complex reports quickly and analysis with other tools.

Лицензия

Лицензия

Группа

Группа

com.github.peter-gergely-horvath
Идентификатор

Идентификатор

dyna4jdbc
Последняя версия

Последняя версия

3.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

dyna4JDBC
dyna4JDBC is a JDBC driver, that allows running alternative JVM language scripts (Groovy, JavaScript, Scala, Jython, Clojure, BeanShell, R (Renjin), JRuby etc.) or external console-oriented programs via the JDBC API. Mainly targeted at allowing JDBC-enabled business intelligence applications to run various scripts instead of SQL easily, dyna4JDBC captures and parses the output of scripts/external programs and presents that as a standard JDBC Result Set, allowing the output to be processed further for various purposes like building complex reports quickly and analysis with other tools.
Ссылка на сайт

Ссылка на сайт

https://github.com/peter-gergely-horvath/dyna4jdbc
Система контроля версий

Система контроля версий

https://github.com/peter-gergely-horvath/dyna4jdbc

Скачать dyna4jdbc

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.peter-gergely-horvath/dyna4jdbc/ -->
<dependency>
    <groupId>com.github.peter-gergely-horvath</groupId>
    <artifactId>dyna4jdbc</artifactId>
    <version>3.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.peter-gergely-horvath/dyna4jdbc/
implementation 'com.github.peter-gergely-horvath:dyna4jdbc:3.1.1'
// https://jarcasting.com/artifacts/com.github.peter-gergely-horvath/dyna4jdbc/
implementation ("com.github.peter-gergely-horvath:dyna4jdbc:3.1.1")
'com.github.peter-gergely-horvath:dyna4jdbc:jar:3.1.1'
<dependency org="com.github.peter-gergely-horvath" name="dyna4jdbc" rev="3.1.1">
  <artifact name="dyna4jdbc" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.peter-gergely-horvath', module='dyna4jdbc', version='3.1.1')
)
libraryDependencies += "com.github.peter-gergely-horvath" % "dyna4jdbc" % "3.1.1"
[com.github.peter-gergely-horvath/dyna4jdbc "3.1.1"]

Зависимости

test (13)

Идентификатор библиотеки Тип Версия
org.testng : testng jar 6.8.21
org.easymock : easymock jar 3.4
org.apache.commons : commons-lang3 jar 3.4
com.google.guava : guava jar 19.0
org.codehaus.groovy : groovy-all jar 2.4.8
org.scala-lang : scala-library jar 2.12.1
org.scala-lang : scala-compiler jar 2.12.1
org.scijava : jython-shaded jar 2.5.3
org.jruby : jruby-complete jar 9.1.2.0
org.beanshell : bsh jar 2.0b5
org.renjin » renjin-script-engine jar RELEASE
org.clojure : clojure jar 1.8.0
org.clojars.ato » clojure-jsr223 jar 1.5.1

Модули Проекта

Данный проект не имеет модулей.

dyna4JDBC

A JDBC driver for running alternative JVM language scripts and external programs.

Introduction

dyna4JDBC is a JDBC driver, that allows running alternative JVM language scripts (Groovy, JavaScript, Scala, Jython, Clojure, BeanShell, R (Renjin), JRuby etc.) or external console-oriented programs via the JDBC API.

Mainly targeted at allowing JDBC-enabled business intelligence applications to run various scripts instead of SQL easily, dyna4JDBC captures and parses the output of scripts/external programs and presents that as a standard JDBC ResultSet, allowing the output to be processed further for various purposes like building complex reports quickly and analysis with other tools.

Documentation

For further information, please check out the

Sample

NOTE: This is just a sample - the project's primary goal is empowering Java Reporting and ETL applications to call dynamic script langauges through the JDBC API, and NOT programmatic usage.

package sample;

import java.sql.*;

public class HelloWorldSample {

    public static void main(String[] args) throws SQLException {

        String url = "jdbc:dyna4jdbc:scriptengine:JavaScript";

        try (Connection connection = DriverManager.getConnection(url)) {

            try (Statement statement = connection.createStatement()) {

                statement.executeUpdate(" var msg = 'Hello World'; ");
                try (ResultSet resultSet = statement.executeQuery(" print(msg); ")) {
                    while (resultSet.next()) {
                        String string = resultSet.getString(1);

                        System.out.println(string);
                    }
                }

            }
        }
    }
}

Download

Please visit Maven Central or the the release download section to download the binary version of dyna4jdbc JDBC driver.

Build Status

Build Status

Continuous integration platform is provided by Travis CI

Версии библиотеки

Версия
3.1.1
3.1.0
3.0.0
2.5.0
1.8.0
1.0.1
1.0.0