You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by ib...@incubator.apache.org on 2005/02/01 11:37:35 UTC
[Apache iBATIS Wiki] New: Why can't I use a property that begins with a single lower-case letter?
Date: 2005-02-01T02:37:35
Editor: KrisJenkins
Wiki: Apache iBATIS Wiki
Page: Why can't I use a property that begins with a single lower-case letter?
URL: http://wiki.apache.org/ibatis/Why can't I use a property that begins with a single lower-case letter?
no comment
New Page:
Property names that begin with a single lower-case letter are invalid. They clash with the javabeans spec, which says, "to support the occasional use of all upper-case names, we check if the first two characters of the name are both upper case and if so leave it alone." This means:
* The method 'getURL()' is for a property called 'URL'.
* The method 'getAThing()' is for a property called 'AThing'.
* There is no valid method name for a property called 'aThing', by the spec.