The answer is that WFS only works from a transaction - not for Transaction AUTO_COMMIT

Howdy,

http://jira.codehaus.org/browse/GEOT-804

I'm having trouble with getCount for WFS. It's throwing a class cast exception in AbstractDataStore.diff(Transaction) because the state of the transaction is not an instance of TransactionStateDiff. The problem is that the WFSFeatureStore doesn't have its own implementation of getCount(Query) yet.

David, do you have a moment to look at this, or should I submit a quick patch which returns a "-1" result?

Thanks,
Cory.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to