Belli Andrea wrote:

> I attach the standardjaws for any doubt; I saw it and I found this query
> prepared by jaws:
> SELECT SENDER,BODY_N,DATE_N,TITLE_N,ID_NEWS FROM NEWS WHERE ID_NEWS=?
> I don't understand why JAWS add the costruct "WHERE" in prepared statement;
> I thought that a findall finder 'd prepare a query like: SELECT * FROM NEWS;
> maybe is it a no standard construct? Or is it an error?
> 

The SQL you're quoting there is actually from the 'load' phase. The 
findAll method will (should) trigger 'SELECT ID_NEWS FROM NEWS'.

Look a bit higher in your logfile and you should see something like that 
(although it might be broken).

-danch


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to