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
I'm trying to configure jboss and SQL Server 2000
I have followed the procedures of the manuals without success.
Inside a EJB, in the line:
dataSource = (DataSource) ic.lookup(java:MSSQLDS);
I'm getting the exception:
EJBException:; nested exception is: javax.ejb.EJBException: Naming