Tagged Questions
0
votes
1answer
19 views
accesssing another systems databse?
java.sql.SQLException: Access denied for user 'root'@'dexterlabs06' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
at ...
0
votes
1answer
24 views
Getting org.hibernate.MappingException: No Dialect mapping for JDBC type: -4 exception?
I am getting following exception at query.list() line:
org.hibernate.MappingException: No Dialect mapping for JDBC type: -4
at org.hibernate.dialect.TypeNames.get(TypeNames.java:56)
at ...
0
votes
1answer
19 views
how to create a function in jsp
I have created a web page called allmeters.jsp. In the page I have a hyper link
<a href="demo.jsp?mid=<%=rs.getInt("meterid")%>"><%=rs.getInt("meterid")%></a>.
In my second ...
0
votes
4answers
40 views
Jdbc - Connect remote Mysql Database error
[SOLVED]
I finally got solve the problem, is everything alright with the connection...
The problem was in a SQL Query, i was doing a select in table with name "arduinoData" and the really name is ...
0
votes
0answers
22 views
how to get detail from a prepareCall when it gets a row of an array
I have a program that connects to Db, using prepareCall. there is a function that browse some element from Db. this is part of this function:
Resource f = new Resource();
if (rs.next()) {
...
0
votes
1answer
35 views
Java ODBC Data Source
I have the following Java code. Purpose of this code is to establish a connection
to a remote MySQL database ProductionDb ( a data source defined in my /etc/odbc.ini file ).
import java.sql.*;
...
0
votes
0answers
13 views
Is there a Spring Transaction Manager that works with MySQL Cluster/J (that is NDB not JDBC)
I'm looking for a Spring transaction manager what will work with MySQL's Cluster/J. I can't be the first person to want to use declarative transactions with Cluster/J but I can't find an existing ...
0
votes
1answer
32 views
how to insert data in to mysql database table which contain mediumtext datatype using java
i want to insert image into table which contain a field with datatype MEDIUMTEXT please can any one tell how to insert mediumtext data
psmt=con.prepareStatement("INSERT INTO ofvcard (username,vcard) ...
0
votes
0answers
19 views
How to automatically fallback MySQL active passive mode
I will setup MySQL master-master replica on EC2 ,with Java client to access it as following:
The java application will only connection to the Active MySQL(A), maybe via JDBC on IP:3306.
The Passive ...
1
vote
0answers
38 views
create login form using soap webservice in android
Hi i have to develop one login form in android calling soap webservice.
This is my webservice code:
public class XcartLogin {
public String authentication(String userName,String password){
String ...
2
votes
6answers
95 views
Preferred way to query a database multiple times?
When using JDBC in Java, the generally accepted method of querying a database is to acquire a connection, create a statement from that connection, and then execute a query from that statement.
// ...
0
votes
1answer
46 views
Convert MySql string ISO-8859-1 to UTF-8 with Java
In a MySql database I have a column that contains a varchar string encoded with ISO-8859-1 (latin1_swedish_ci).
When the string is not latin1 MySql stores it, for example, as "à¸à¸µà¹à¸à¸."
Using ...
0
votes
1answer
27 views
Linux, MySQL, Java: Communications link failure due to underlying exception: Connection Time Out
The application can not get a connection to the database on Linux server
Installed on the server -
Linux Mandriva;
MySQL 5.0.45;
JDK 1.6
mysql-connector-java-5.0.8-bin.jar
In my.cnf:
...
-1
votes
0answers
38 views
Install and Configure Mysql Automatically [closed]
I created a application be use of the Mysql on windows.
I want to build a installer for my application.
I want installer configuring mysql instance automatically.
I building a installer with inno ...
0
votes
2answers
57 views
android login form with mysql
I have develop one login form.
This is my webservice code:
public class Login {
public String authentication(String userName,String password){
String retrievedUserName = "";
String ...