I use Microsoft sql server and EclipseLink . When I run the project, I
get the error message.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: javax.ejb.EJBException
root cause
javax.faces.el.EvaluationException: javax.ejb.EJBException
root cause
javax.ejb.EJBException
root cause
Exception [EclipseLink-4002] (Eclipse Persistence Services -
2.0.1.v20100213-r6600): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLSyntaxErrorException: ???FWDMS?????
Error Code: 30000
Call: SELECT id_, username_, password_, company_id_ FROM FWDMS.CLIENTUSER
WHERE ((username_ = ?) AND (password_ = ?))
bind => [zhangsan, 456789]
Query: ReadAllQuery(referenceClass=ClientUser sql="SELECT id_, username_,
password_, company_id_ FROM FWDMS.CLIENTUSER WHERE ((username_ = ?) AND
(password_ = ?))")
root cause
java.sql.SQLSyntaxErrorException: ???FWDMS?????
root cause
java.sql.SQLException: ???FWDMS?????
root cause
ERROR 42Y07: ???FWDMS?????
note The full stack traces of the exception and its root causes are available
in the GlassFish Server Open Source Edition 3.0.1 logs.
GlassFish Server Open Source Edition 3.0.1
--
[Message sent by forum member 'keating']
View Post: http://forums.java.net/node/715879