[jboss-dev-forums] [JBoss AS7 Development] - Re: Create datasource using CLI
Daniel Bevenius
do-not-reply at jboss.com
Fri Sep 2 13:28:48 EDT 2011
Daniel Bevenius [http://community.jboss.org/people/beve] created the discussion
"Re: Create datasource using CLI"
To view the discussion, visit: http://community.jboss.org/message/624515#624515
--------------------------------------------------------------
Hi,
> Can somebody post a sample on how to create a data source using CLI?
The following example can be found on this https://github.com/danbev/migrate page, if you scroll down you find this example in the section "Deploying a Datasource":
/subsystem=datasources/data-source=MigrateDS:add(jndi-name=java:jboss/datasources/MigrateDS, pool-name=MigrateDS, driver-name=h2, connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1)
Regards,
/Daniel
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/624515#624515]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110902/9fb3a648/attachment.html
More information about the jboss-dev-forums
mailing list