"Bug"fix

14 views
Skip to first unread message

Werner Wertitsch

unread,
Dec 26, 2010, 7:44:11 PM12/26/10
to android-active-record
Hey guys, so far (prototype stage) android active record works really
fine for me!

I do have the sourcecode (via the public svn) and changed the
following line so it will work with my domain structure where objects
dont directly extend from ActiveRecordBase:

I changed the line:

Database.java, line 391

Original:
if(c.getSuperClass() == ActiveRecordBase.class) \n return "int"


Changed it to:
if (ActiveRecordBase.class.isAssignableFrom(c)) \n return "int"


so that indirect childs dont throw an IllegalArgumentException..

I hope that doesnt break any paradigms or so!

Cheers,
Werner
Reply all
Reply to author
Forward
0 new messages