|
From: <fi...@so...> - 2004-06-08 02:27:19
|
problems i've encountered using xorm:
1) case of properties name in xml.
2)determine if the proxy intercept the right properties
3)field type depending on datastore without check
4)refresh and concurrence
5)implementing class behaveour like an observer model pattern
my todo are :
1) a simple utility that from an interface and jdo property and .jdo files
show to the user which methods xorm will upgrade and by now the actual type
of the property, it must check that primary and foreign keys who refer them
has the same type.
2)modify the method select in BaseSqlDriver subsituing the line
// TODO will this be flexible enough?
row.setValue(c, rs.getObject(++pos));
with something like
row.setValue(c, c.readFromDB(rs,pos));
The Column.readFromDB(ResultSet,int) method would be type aware
i'll lookiing for more docs on data conversion..
we have the type of the db value, it could be useful the type of the
property
to choose the right rs.getxxxx method, but i think this is not a new
problem
there must be a lot of doc.. and i've some (j2sdk
docs/guide/jdbc/getstart/mapping.html for example)
3)can we verify the compliance to jdo instance lifecycle specs?
it could be useful to doc the xorm vision and present a property to
increase compliance (and usability) despite of efficiency.
It could be usefull in multiuser enviroment...
3.a add a property to enable the select... for update syntax for the same
reason
4) FIRST OF ALL Finish project for my last university examination..
where i'm still using XORM. I had to encapsulate XORM in a wrapper
and define interfaces from my behaveoural objects to XORM enhaced
instances..
and sometimes i'd to add abstract class for complex storage and type
conversion...
if i doc it in english,.. sobbb:() it can be usefull. But i could be uch
simply if XORM could work on behaveoural classes... if i've time i'll look
to aop..
the only reason for this posting is..
i could make use of some help
bye
sj777
|