Solved

jdbc.alias understanding

Posted on 2011-09-09
2
276 Views
Last Modified: 2012-05-12
We are putting together a program using server-side java which accessess a database.  The code we have been provided from a third party currently references the old version of the database - names and all. The fields they have provided for the database info are:

jdbc.driver
jdbc.url
jdbc.user
jdbc.password
jdbc.alias

and we are unsure what jdbc.alias does, and as such are unsure of what to change the reference to, so will the purpose of this be?
0
Comment
Question by:anotherfn
  • 2
2 Comments
 
LVL 47

Assisted Solution

by:for_yan
for_yan earned 500 total points
ID: 36510029
There is acceoted solutioin on this question here:
http://mobile.experts-exchange.com/Q_24216779.html

0
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 36510053

This is what was accepted in the above link:

It means that you have a datasource which is deployed in your application server, and which has a JNDI name nq, normally if it is a Datasource by default it comes under the JDBC, so it is accessed using JDBC/nq. There is no significance to the abbreviation it is just a name.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to parse custom JSON to POJO java 4 72
ArrayIndexOutOfBoundException 9 80
JList custom Cell Renderer refresh 15 56
hibernate jars 4 28
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
The viewer will learn how to implement Singleton Design Pattern in Java.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question