Yes, and substring(2) needed for "is". But I am going to remove Map from "MetaObject", It is possible to use List, we added property index for this.
> Hi, > The Sample-DB created from within simplestore doesn't > actually receive any value's from the INSERT-queries > made from within DBStorage. > Its bcoz of the way the property keys where stored in > MetaObject's hash(m_map) . > > Cheers, > V i n a y. > > > > cvs -q diff DBStorage.java (in directory > C:\jcommons\cvs\jakarta-commons-sandbox\simplestore\src\java\org\apache\comm ons\simplestore\persistence\impl\) > Index: DBStorage.java > =================================================================== > RCS file: > /home/cvspublic/jakarta-commons-sandbox/simplestore/src/java/org/apache/comm ons/simplestore/persistence/impl/DBStorage.java,v > retrieving revision 1.5 > diff -r1.5 DBStorage.java > 297c297 > < Object value = > toSQLType(map.get(descriptor.getName())); > --- > > Object value = > toSQLType(map.get(descriptor.getReadMethod().getName().substring(3))); > 349c349 > < Object value = > toSQLType(map.get(descriptor.getName())); > --- > > Object value = > toSQLType(map.get(descriptor.getReadMethod().getName().substring(3))); > > > > > > __________________________________________________ > Do You Yahoo!? > Try FREE Yahoo! Mail - the world's greatest free email! > http://mail.yahoo.com/ > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>