aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes sun app server and mysql configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "sun app server and mysql configuration" Watch "sun app server and mysql configuration" New topic
Author

sun app server and mysql configuration

Giju George
Ranch Hand

Joined: Jun 08, 2004
Posts: 333
Hi
I have deployed an entity bean in sun app server and have used the sun studio for development. I have created a connection pool to mysql db in the sun server. Now, when i try to run a findByPK method.. it gives me error.

I've got a table called Product in the database. Now the sql that the container generates looks something like this :-
Select t0."ID" from PRODUCT t0.

But this '"' around the fields causes a problem with the mysql db, and it gives me error saying the syntax in wrong.

I changed the conn pool to oracle and it WORKS FINE. Coz, oracle db don't have any problem with this '"'.

Now, how do I get rid of this '"' from the sql or is there a way around to get this working in MY-SQL. Will the sql be the same if I deploy in another server , say JBoss.

Pls help !!!


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: sun app server and mysql configuration
 
Similar Threads
changing database
ORA-00979: not a GROUP BY expression
Problem connecting to my database.
Oracle connection pool thru app server?
DB connection is very slow