Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Database

  • 08-04-2003 11:41am
    #1
    Closed Accounts Posts: 390 ✭✭


    This has to do with java servlets. Recently we had to do an assignment and I tried to find a way of embedding a database. Suffice it to say i got that done.

    However my question is can you link a database to a programme relative to that programme's file root, instead of assigning it explicitly from Data Sources(ODBC) in Windows or some other method

    For Example

    programme root\database

    instead of

    c:\database

    Yours
    roar_ie


Comments

  • Closed Accounts Posts: 1,651 ✭✭✭Enygma


    Usually you just specify a URL to the database like: jdbc:mysql://hostname/DATABASE

    Take a look at using JNDI in Tomcat to get a DataSource object.


Advertisement