getting data problem with MYSQL under linux
Posted
by aelshereay
on Stack Overflow
See other posts from Stack Overflow
or by aelshereay
Published on 2010-03-21T12:56:41Z
Indexed on
2010/03/21
13:01 UTC
Read the original article
Hit count: 312
Hi all,
Recently I started to use Linux (Ubuntu 9.10) instead of windows. I am working on a java web application with Spring, MYSQL with jpa. However, before to install linux I made a backup file from the database, then installed linux, installed the MYSQL Query Browser and Administrator tools, and using the Admin tool restored the backup file, then got all the tables and made a simple select statement from one of the tables and got result normally and everything seems to work just fine.
There a USER table, and there's a namedQuery defined to get a user by userName, the problem is that when I pass a correct userName I still get nothing!
I really don't know what is the problem! The application was working perfectly under windows!
Please, can anyone help me to solve this problem?
Thank you in advance.
© Stack Overflow or respective owner