Skip to content

Instantly share code, notes, and snippets.

@maeste
Created March 25, 2011 15:20
Show Gist options
  • Select an option

  • Save maeste/887007 to your computer and use it in GitHub Desktop.

Select an option

Save maeste/887007 to your computer and use it in GitHub Desktop.
[localhost:9999 /] /profile=default/subsystem=datasources:read-resource(recursive=1, operations=1)
{
"outcome" => "success",
"result" => {
"data-source" => {"java:/H2DS" => {
"connection-url" => "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1",
"driver-class" => "org.h2.Driver",
"jndi-name" => "java:/H2DS",
"module" => "org.h2.Driver#1.2",
"pool-name" => "H2DS",
"use-java-context" => true,
"enabled" => true,
"pool-prefill" => true,
"pool-use-strict-min" => false,
"user-name" => "sa",
"password" => "sa"
}},
"xa-data-source" => undefined,
"jdbc-driver" => {"com.h2database.h2" => {
"name" => "com.h2database.h2",
"module" => "com.h2database.h2"
}}
},
"compensating-operation" => undefined
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment