Tagged Questions
0
votes
0answers
17 views
MySQL Save/Load Issue
Ok So I have a program where I add new Players to a database, and where I load them users into a list. The problem is when I delete a user, then go to add a new user the new player gets added in to ...
1
vote
1answer
35 views
Which in-memory Java database is closet to MySQL & SqlServer for the purpose of unit testing?
I am looking for an in-memory database to use in unit-testing my data access layer. In production, most of my classes will be running against MySQL 5.1 but some will have read access to Microsoft ...
0
votes
1answer
20 views
HTTP Status 500 - Exception Access to the database: Connection Pool - Servelet Tomcat - MySQL
I'm trying to create my first connection pool. I'm creating a Java web aplication with Tomcat 7 and a MySQL DB, and I'd like to create a Servelet implementing the connection pool possible. I tried a ...
0
votes
1answer
28 views
Hibernate data insertion slow
I'm using Hibernate in my project. I got a scenario where i save the object ,
remittanceTransactionDao.updateRemittanceTransaction(remittanceTransaction);
And then call the stored procedure which ...
0
votes
2answers
33 views
Value entered for one entry is stored for other entries instead of unique values
I have a module where I have to update attendance of each student.
The code is as below:
public void updateDailyAttendance(ActionRequest areq, ActionResponse aRes) throws Exception{
int ...
-1
votes
0answers
49 views
Need help getting started on this project, in Java [closed]
I know this is a broad question, but I need a place to get started. I'm not asking for code or anything, I'm just looking for a place to start my research.
Here is what I'm trying to do. I have a ...
-3
votes
1answer
32 views
full text search solr
Ok, I got the mysql tables I need in xml format via solr. I would like some guidance on how to implement the xml dataimport.proerties file in my web app so I can have users conducting search queries ...
0
votes
0answers
23 views
How to make mysql backup system work with online db
I found this code online and would like to know how i would go about getting this to work with my online database rather than one oon a localhost
public boolean restoreDB(String dbUserName, String ...
0
votes
0answers
18 views
Glassfish login from database doesn't work
I'm having problems trying to log in to a Glassfish application using users from a MySQL database.
I have the following Security settings:
Realm Name: InvoiceRealm
Class Name: ...
0
votes
3answers
39 views
ClassNotFoundException for com.mysql.jdbc.Driver -not using an IDE
I am trying to use the MySQL driver for java and I keep getting a ClassNotFoundException. I am not using an IDE at all, the program is being written in Vim and compiled at the Window's command line. ...
0
votes
0answers
25 views
Restoring a mysql backup
I'm trying to restore a mysql Backup data stored in a .sql file using the below code i wrote , its not working ..Somethings wrong with exec(cmd) command i guess . And i even tried to open command ...
0
votes
1answer
40 views
mysql result is not correctly written to file using java applet
I am trying to do an example to write to a file the database records using java applet. But the problem is after running the applet i'm seeing the file is created but it contains garbage data. I've ...
-8
votes
0answers
51 views
I need to create a registration form and login [closed]
I am working on a project and i need to create a database and login form and a registration form and i am not familiar with php and would like to aviod it(i have a knowladge of basic javascript and ...
-2
votes
1answer
55 views
JSON Parsing NullPointerException related to MYSQL [closed]
I am parsing MySQL data with JSON and my returned JSON values here.
http://countriesultimate.hakkikonu.com/jsonscript.php
Also if you do not want to click to link output like this (same with ...
4
votes
2answers
39 views
MySQLSyntaxErrorException with table name Condition
I have a table called condition I need to keep it with that name but when I execute this command
Query qb = em.createQuery("SELECT c FROM Condition c ")
Exception:
Caused by: ...