【发布时间】:2011-01-01 22:22:39
【问题描述】:
我想使用 netbean 6.5、glassfish V 2 制作 Restful - Web 服务,并且我已经制作了表格和表格之间的关系。但是当我想测试restful Webservice时,它会显示一些表格
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/11/2008))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'E' in 'field list'
Error Code: 1054
Call: SELECT Id, MobileNumber, Country, First_Name, E-mail, Address, Identity, Zip, Last_name, City, State, Position FROM employee_table WHERE (Id = ?)
bind => [1]
Query: ReadObjectQuery(ws.EmployeeTable)
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1_02 logs.
但有些表正在工作。有人知道导致此问题的原因以及如何处理此问题吗?谢谢。
感谢 Andrew Medico 和 Jim Ferrans
我将所有电子邮件都更改为电子邮件。而且我不会忘记不再在数据库中添加“-”。谢谢
【问题讨论】: