Questions tagged [database-connectivity]
96 questions
0
votes
1 answer
About the connectivity to IBM database using JDBC in Java
I have a problem connecting to IBM (universal) database using JDBC. I wrote the code in Notepad using Java and I loaded drivers of IBM database i.e(driver name and connection URl). When I run the code using general compilation (javac code.java and…

user276997
- 11
- 2
0
votes
1 answer
multiview database connection
protected void Button1_Click(object sender, EventArgs e)
{
string insrt = "insert into…

Naveen31
- 29
- 1
- 1
- 12
0
votes
3 answers
how to search in combobox by database
protected void Page_Load(object sender, EventArgs e)
{
dr = new MySqlDataAdapter("select * from cus_mas_det", conn);
ds = new DataSet();
dr.Fill(ds, "cus_mas_det");
DataTable CodeDesc = new DataTable();
conn.Open();
dr = new…

Naveen31
- 29
- 1
- 1
- 12
0
votes
1 answer
Sql server and Zend Framework 2 connection issues on windows machine
Is there a tutorial or any kinda documentation anywhere online for ZF2 integration with Sql Server. I have tried and tested the things which are already there and where some are deprecated as well.
The SQLSRV is pretty painful driver to get it…

golldy
- 1,279
- 1
- 15
- 31
0
votes
1 answer
Wordpress-Error establishing a database connection
I am using Linux Mint Olivia.
Recently i have installed Wordpress on my local apache server (Lamp).
It was working fine but when i restarted my computer and tried to connect to local server it kept showing following message
Error establishing a…

Md Rashedul Hoque Bhuiyan
- 10,151
- 5
- 30
- 42
0
votes
3 answers
Edit /Update entered data stored in database - servlet
I have made a servlet file iin which I have added insertion, deletion and viewingthe data from database.
Now I want to add updation of inserted data but I am not able to complete it. As I have added whole code in single file I dont know how to add…

Raman
- 1
- 2
- 3
- 5
0
votes
1 answer
Access embedded postgreSQL database
Can an embedded postgreSQL 9.1.1 database be simultaneously accessed externally by another application?
I installed a separate postgreSQL server on the same machine, but the embedded database doesn't seems to be visible.
The other problem is that I…

David Alexandru
- 25
- 5
0
votes
1 answer
JBOSS connectivity with multiple database (sql cluster)
I want to connect JBOSS to multiple databases (with failover recovery and loadbalancing) i.e. connection switches from one DB to the other in case of failure of first DB connection.
Also each DB connection has a seperate set of userID and…

richa.a91
- 11
- 1
- 8
0
votes
1 answer
How to identify database exceptions in java?
I have a database that my java program or a web application connects to for persistence of application state. In certain calls to the database, certain exceptions might arise like there
might be a duplicate key exception or some check constraint…

mickeymoon
- 4,820
- 5
- 31
- 56
0
votes
1 answer
I have installed progress database in vm ware virtual machine but I can not connect from my host
I have installed progress openedge database on my vmware linux machine but I can not login through host winodws 7. I tried to use datadirect and openedge data admin tools. Can even please guide me how to do it. My connectiong is working from windows…

Musavir
- 1
0
votes
1 answer
Using POST method to reflect the records
I am trying to reflect the records from MySQL database using PHP. The code goes like this
(Database is connected and selected)
Query.php -> This file reflect the distinct category(since I have multiple values of category) in select box from the…

user501582
- 95
- 1
- 1
- 7
-1
votes
1 answer
Database connection from the HTML
I have html document (one file) for calling google map.
It works with this part of code in html:
var locations = [
[ -33.890542, 151.274856],
[ -33.923036, 151.259052],
[ -34.028249, 151.157507]
]
var marker, i;
for (i = 0; i <…

Veljko
- 1,708
- 12
- 40
- 80
-1
votes
1 answer
Java Database Exceptional error that is very unique
am getting the error shown from this code:
enter image description here
private void formComponentShown(java.awt.event.ComponentEvent evt) {
try{
Connection conn = ConnectionProvider.getCon();
…

NJUGUNA WAINAINA
- 1
- 1
-1
votes
1 answer
Remote postgres database disconnects frequently on azure
I have installed Postgres(11) on Azure, I am connecting to it using Datagrip client, The problem is it disconnects very frequently and connects back when I run some query, takes nearly 5 seconds to connect back. Here I am attaching a picture of…

bharat
- 23
- 4
-1
votes
1 answer
Getting the value of the primary key of the first table into the foreign key of the second table using two forms
I have created a JSP page to register new users.In the registration form, there are 5 fields where the users enter their details.
After pressing the submit button they will be taken to another page where they have to fill another form which includes…