I'm writting a very simple CMP EJB.
The query of the method findByPrimaryKey that Jboss is generating is wrong.
11:19:31,093 DEBUG [Usuarios#findByPrimaryKey] Executing SQL: SELECT FROM Usuarios t0_Usuarios WHERE
11:19:31,093 ERROR [Usuarios#findByPrimaryKey] Find failed
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Incorrect syntax near the keyword 'FROM'.
Where may be the problem??
Thanks