Difference between revisions of "User:Frank Schönheit/Changing API incompatibly"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 3: Line 3:
  
 
* [http://api.openoffice.org/docs/common/ref/com/sun/star/sdb/XRowSetSupplier.html XRowSetSupplier]: <code>setRowSet</code> should be allowed to throw a [http://api.openoffice.org/docs/common/ref/com/sun/star/lang/NoSupportException.html NoSupportException]
 
* [http://api.openoffice.org/docs/common/ref/com/sun/star/sdb/XRowSetSupplier.html XRowSetSupplier]: <code>setRowSet</code> should be allowed to throw a [http://api.openoffice.org/docs/common/ref/com/sun/star/lang/NoSupportException.html NoSupportException]
 +
* There should be an interface merging [http://api.openoffice.org/docs/common/ref/com/sun/star/sdbc/XRow.html XRow] and [http://api.openoffice.org/docs/common/ref/com/sun/star/sdbc/XResultSet.html XResultSet]. Both are nearly always used together, and having to work with two interfaces, one for navigating through the result set, and one for querying the actual values, sucks.

Revision as of 08:22, 12 November 2008

That's just my personal list of UNO APIs I would like to change incompatibly, if we are ever allowed to. Note there's much more than this. I just can't remember at the moment, but when working with API, I regularily encounter things which now will hopefully appear here over time.

  • XRowSetSupplier: setRowSet should be allowed to throw a NoSupportException
  • There should be an interface merging XRow and XResultSet. Both are nearly always used together, and having to work with two interfaces, one for navigating through the result set, and one for querying the actual values, sucks.
Personal tools