Tagged Questions

2
votes
0answers
36 views

com.mysql.jdbc.exceptions.MySQLSyntaxErrorException exception in CentOS server

Running a java code in CentOS server to connect mysql My code is - String server = "", url = "", password = "", user = "", databasename = ""; Connection con = null; try { server = ...
2
votes
0answers
249 views

hibernate gets refused connection for non default mysql port

I am connecting to a MySQL(5.1.6) database from Linux on default 3306 port and everything is fine: <property name="driverClassName" value="com.mysql.jdbc.Driver" /> <property name="url" ...
1
vote
0answers
49 views

JDBC MySQL does not read latest inserts

I have written a sample program to give an example of this problem, which causes an old resultset to return. http://pastebin.com/QbyqUuRR (UPDATE!) The workflow i'm doing is this: Doing a SELECT ...
1
vote
0answers
26 views

geotools SEVERE: The following locker still has a lock read on file

I am using geotools to extract data from shapefiles and store them into mysql. My application works all the time but I get this lock every so often which i cannot understand why, as it still works ...
1
vote
0answers
89 views

sql-maven-plugin not creating tables in correct mysql database

I have tried many different variations of the code below (including extracting the Database connection details into the tag), but no matter what I do, the table is still created in the wrong ...
1
vote
0answers
77 views

mysql + xmpp server +test loading - did I reach any physical limit?

during load tests (simulating users connecting to the server), for the first 1750 seconds there is a mean transaction / second rate of about 300-400, with peak of about 700 tr/sec. These transaction ...
1
vote
0answers
53 views

How can I read mysql console output using Java Process

I am currently writing a Windows shell emulator using Java. Most programs seem to work fine when I use the Process.getOutputStream() method to read and display the program's output. When I run the ...
1
vote
0answers
150 views

Error Parsing Data Not able to convert string into JSON- JSONException

I'm getting an error parsing data that I get from the server. Im trying to update external database by sending some values to external database(MySQL). Once the daatabase is updated, I'm trying to get ...
1
vote
0answers
72 views

utf-8 character set in java project with tomcat server

stack overflow forum member I am having developing web application in JAVA. with JDK1.6 version, and Tomcat 6.0 version. and database in mysql 5.1. I am having country combobox and based on the ...
1
vote
0answers
51 views

Scaling with kettle, concurrency issues

I pretend to scale my app and some part of the process includes to run kettle jobs simultaneously by some processing clients, in some point transformations need to perform combination lookup on some ...
1
vote
0answers
76 views

How to see all SQL statements sent by mysql-connector-java?

I'm trying to use Slf4JLogger from mysql-connector-java 5.1.20, but can't see anything in log. I added logger=Slf4JLogger to JDBC URL and configured SLF4J to LOG4j bridge. All other classes' log ...
1
vote
0answers
78 views

Paging data with HQL

I have a java web application where I use Hibernate and MySQL. On a page I have a search form where on submit i create a HQL Query to fetch the results. I used .setFirstResult() and .setMaxResults() ...
1
vote
0answers
63 views

Null Pointer Exception in my dashboard system

I am doing something like twitters dashboard system for improving my Java Faces knowladge.I have problem that called dashborad.I need publish post in index to show who followed by logged user.Like ...
1
vote
0answers
65 views

Easiest/most efficient way to constantly check & read PHP file for database changes in Java?

I have a simple Friend System in PHP using a MySQL Database. I also have a Java application where a user can send a friend request to someone via the PHP system, and the recipient can accept it. When ...
1
vote
0answers
135 views

Why is this INSERT adding an extra empty row?

When I insert data into my table, it adds one empty(blank) row after each populated row. So the result looks like: data1 data2 data3 etc The create table code is: String title = ...

1 2 3 4 5 41
15 30 50 per page