Re: Cannot access database with remote shared web hosting

2007-10-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Mike LI wrote: >> Christopher Schultz wrote: >> >> Can you post more of this stack trace? I wonder if the real problem >> is "cannot connect to database", and not "SQL syntax error", as >> suggested by the exception class. > > [Mike] It's a sh

Re: Cannot access database with remote shared web hosting

2007-10-26 Thread Mike LI
Thank Chris for help. I have questions embedded below. > Data Access Failure JDBC exception on Hibernate data access; nested > exception is org.hibernate.exception .SQLGrammarException: could not > insert: [com.cmn.model.User] Can you post more of this stack trace? I wonder if the real problem is

Re: Cannot access database with remote shared web hosting

2007-10-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Mike LI wrote: > Data Access Failure JDBC exception on Hibernate data access; nested > exception is org.hibernate.exception .SQLGrammarException: could not > insert: [com.cmn.model.User] Can you post more of this stack trace? I wonder if the re

Cannot access database with remote shared web hosting

2007-10-26 Thread Mike LI
Dear Team, I'm new with Tomcat & Hibernate. We have a weird problem: When I test our website locally with Tomcat & MySQL, everything is OK. But after I copy our webapp under Tomcat to remote web hosting, I can only access the JSP pages, not able to access data from database. The error on page