Solved

jdbc.alias understanding

Posted on 2011-09-09
2
274 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
Comment Utility
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
Comment Utility

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
copyEndy  challenge 15 55
json example 39 110
create a gui in perl 3 42
Checkbox and ListView in Android Layout 4 36
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now