Results 1 to 3 of 3
  1. #1
    varunthecool is offline Member
    Join Date
    Jul 2007
    Location
    bangalore,india
    Posts
    19
    Rep Power
    0

    Post multiple databases

    i want to create a database for each user with a number of tables.as we all know in JDBC we require a odbc bridge which creates a datasource which lets you access database...is it possible to create a data source using a java application and can a single java program access multiple databases using many data sources or should i do it using a single data source...(it is possible that i would want to do it as a server version(JSP or servlet) )
    PS : a datasource points only to a single database??is there some way that i can make it point to many databases??i know its not logical but nethin can happen :)) now for every user a database...for each user sign up i need to create a database for him....should i use JNDI n API's like this??

  2. #2
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    8

    Default

    Hi, I just know that data source is uses to access an only data base.
    Although with an application you can access to other data bases.
    I think that the idea is have an only data base where you access, and it's in tables from the data base where you organize the user's information.

  3. #3
    varunthecool is offline Member
    Join Date
    Jul 2007
    Location
    bangalore,india
    Posts
    19
    Rep Power
    0

Similar Threads

  1. how to use XML databases
    By paty in forum XML
    Replies: 3
    Last Post: 08-16-2008, 01:11 AM
  2. Hibernate with multiple databases
    By dsr0781 in forum JDBC
    Replies: 5
    Last Post: 06-23-2008, 02:06 PM
  3. Multiple Users
    By peiceonly in forum Threads and Synchronization
    Replies: 5
    Last Post: 06-09-2008, 10:17 AM
  4. Multiple Inheritance
    By mew in forum New To Java
    Replies: 1
    Last Post: 12-01-2007, 11:04 PM
  5. Recommendation about databases
    By tommy in forum JDBC
    Replies: 2
    Last Post: 07-28-2007, 06:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •