I am trying to use the raw-sql feature of jbosscmp-jdbc.xml. Now as far 
as I can see it looks like it is not implemented. The 
JDBCRawSqlQueryMetaData does not store the query in the .xml file only 
the method. The JDBCFindEntitiesCommand only checks for 
JDBCDeclaredQueryMetaData,,JDBCQlQueryMetaData types as known finders.

I am assuming that you would specify raw-sql and then pass in the sql 
command you with to execute as the only argument to the finder method.
It does not look that hard to add, extend  JDBCFinderCommand, add an 
entry in JDBCFindEntitiesCommand and a Factory method in 
JDBCCommandFactory. I could do it this weekend or am I way off base here?


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to