aspose file tools*
The moose likes JDBC and the fly likes Setting up a DataSource outside an AS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Setting up a DataSource outside an AS" Watch "Setting up a DataSource outside an AS" New topic
Author

Setting up a DataSource outside an AS

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hey all.
I have the following code to create a datasource outside a container :
(the following code is from a tutorial at developerWorks)

my question is :
What to specify in setDatabaseName( ) ?
is it the name of my created database (in my case, it is ToddDB) ?
the tutorial do the following :
ssds.setDatabaseName("jdbc")
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
It probably took you longer to write this post than it would have done just to try it... So, try it! :roll: What happened?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Setting up a DataSource outside an AS