0
votes
1answer
34 views

Java and PHP POST request not working

I've been trying to use a simple POST request to add some basic information to a MySQL database, but I don't seem to be having much luck - it won't add the tuple to the database. I know this code runs ...
0
votes
1answer
14 views

Mysql query for get data of child and master table

Hi geeks I have a two table named order and orderdetail which realates with key order_id I want to query a database to fetch a orderwise grand total. order table fields order_id, customer_name etc. ...
0
votes
0answers
22 views

concurrently reading large datasets from JDBC (MySQL) [duplicate]

I need to read large results of sql queries concurrently. I do not know the queries in advance or the result set size, but I expect it to be large (up usually around 10^5 or 10^6 but some may get up ...
0
votes
1answer
19 views

Load BLOB to Gallery android

I would like to read a Blob of my MySQL database This "Array" BLOB would be placed in a "Gallery". Code to read BLOB from the database: while (rs.next()) { String id = ...
0
votes
1answer
19 views

Which parameter in the Hibernate Configuration file determines the Query/Sleep time in MySql?

I have an application designed in Hibernate, its Sleep time gets resets after it reaches 600 in MySql Administrator. Which parameter determines the time for sleep in the MySQL? I have attached a ...
-2
votes
1answer
27 views

Java Socket-Server to Query MySQL Database [on hold]

Im developing a desktop application using Java & MySQL, i would like to apply 3-tiers Architecture for my application. After many reading and searching about RESful,JSON,Web service ... etc. I ...
0
votes
0answers
19 views

Application responding very slow coz of unusual DB usage

I am Beginner for Java Web Application Development. Have to reconstruct an legacy kind of old application to make it work fast. Single Application and Single DB server which is accessible by 400+ of ...
0
votes
2answers
38 views

How to insert a 'null' value into a blob field (mysql)

i need to insert a "null" value into the blob field of my DB mysql. I have to do it in a servlet. I tried this way statement.setBlob(1, null); but i get this error The method setBlob(int, Blob) ...
0
votes
2answers
22 views

How select column names ,column data type, key column of a table in mysql

How select column names ,column data type, key column of a table in mysql by passing the table name. I am using mysql 5.5
0
votes
2answers
34 views

How can we insert an xml file directly into a mysql table in java?

How can we insert an xml file directly into a mysql table in java?
0
votes
0answers
23 views

Hibernate Connection Issue in Tomcat Server in Linux OS

Hi I am using the Linux OS with Fedora release 17, My Hibernate configuration file is as follows <hibernate-configuration> <session-factory> <property ...
-10
votes
0answers
48 views

Need a solution in java ASAP [on hold]

There is an online application where a user enters his residential address and saves it. The user opens the application after couple of days and makes a minor change to the address he had entered ...
1
vote
0answers
16 views

The Google AppEngine Cloud SQL Java example code has errors… how can I get it to work?

I'm trying to get Google Cloud SQL working with AppEngine using Java. I followed the example here https://developers.google.com/appengine/docs/java/cloud-sql/?csw=1#using_the_java_development_server ...
0
votes
2answers
27 views

How to use “set @variable = 0” in JDBC

I am using MySQL with JDBC. Is there a way I could use user-defined variables like "set @rank = 0;" in JDBC? Specifically I want to implement ranking with JDBC. set @rank = 0; set @userCount = ...
5
votes
1answer
60 views

Strange SQLException: Column not found

I'm getting a weird SQLException on a function I run against a database using JDBC. SQLException: Column 'Message' not found. I have this in my function: st = con.prepareStatement("SELECT ...

15 30 50 per page