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

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885059#3885059

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885059


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to