Tagged Questions
2
votes
0answers
57 views
WiFi conflicting with local mysql connection (Java/Spring)
I'm using java/spring to connect to a local mysql database and run some integration tests. Sometimes I get Hibernate errors saying that a connection cannot be established. I've noticed this only ...
2
votes
0answers
108 views
How to send message MySQL to java(jsf project) ,when data insert or update?
I'm making a database in MySQL for tow java web Application. I need to send Messages MySQL to java web Application(tow java web Application),when data insert or update. But I'm new to MySQL and don't ...
2
votes
0answers
107 views
Trying to backup my database but got error
Hello All here i am trying to backup my database but unfortunately gives error like IOException, Null pointer Exception.. so can you give me hint where is my mistake.. even i have Mysqldump file in ...
2
votes
0answers
106 views
SmartGwt with hibernate for database connection
I am using eclipse indigo.I want to use hibernate with smartgwt smart gwt showcase
I have a grid so want data from database using hibernate datasource(ds) like smartgwt showcase EE. I don't ...
2
votes
0answers
117 views
Blob datatype in service.xml of liferay
I am working with liferay and want to store images in my MySQL database.
My service.xml goes like this:
<entity name="DLApp" local-service="true" remote-service="true">
<column ...
2
votes
0answers
229 views
Game App Client-Server: MySQL logs “too many connections”, Linux logs “100% CPU”
I am developing a game with client-server, client of this game can be from Flash Web, J2ME or Android Mobile. Every day there are 300-400 users play this game. I am faced with headache problem, and I ...
2
votes
0answers
508 views
catch MySQLIntegrityConstraintViolationException
I'm getting a constraints violation:
run:
DEBUG: nntp: newsrc loading /home/thufir/.newsrc
DEBUG: nntp: newsrc load: 6 groups in 20ms
[EL Info]: 2012-07-29 ...
2
votes
0answers
422 views
Migrate HAR hibernate archive to JBoss 7
I'm migrating an application packaged as a HAR hibernate archive from JBoss AS5 to AS7. I have a number of questions, and I know I have a number of hurdles I have to face in order to migrate my ...
2
votes
0answers
186 views
Ramifications for Calling Statement.cancel() on To Forcefully Close Large ResultSet in Java/MySQL
I'm developing a website that will allow registered users to search through anywhere from 10-20 million records, and those records will be cross referenced against a number of in memory caches (in ...
1
vote
0answers
32 views
MySQL Query caching doesn't work from Application Server
Below are my Query cache settings,
mysql> show variables Like '%query_cache%';
+------------------------------+---------+
| Variable_name | Value |
...
1
vote
0answers
16 views
Logback DBAppender has null caller_filename
Using logback-1.0.13.jar and JDK 1.6u34.
I have a Java web app (WAR) with the following WEB-INF/classes/logback.xml:
<configuration debug="true" scan="true" scanPeriod="5 minutes">
...
1
vote
0answers
79 views
prepared statement bind variables 'neutral' parameters in query string
Having googled like crazy for hints I'm still stuck with my non working query using java and mysql. I'm trying to launch a query with prepared statement and bind variables. The query should give me ...
1
vote
0answers
39 views
Time consuming conversion from pivot table to flat table
In our application, we have to process more than three lakhs of records using a table, whose structure will be something similar as pivot table.
CREATE TABLE properties (
id INT(11) NOT NULL ...
1
vote
0answers
68 views
How to Implement a Database Cache Framwork in Java
I wants to implement a cache framework to display the contents of a database table to users on every request. There is already Ehcache in Hibernate. But i wants to implement my own. So i need a ...
1
vote
0answers
45 views
How do i format this function using strings in a database?
This is the function in a View package for a basic website. I have a folder called productImages and a function "getString" that takes string params from my database. In this database I have a column: ...