robotoworks / mechanoid

Eclipse plugin providing a set of DSL's for the rapid development of Android apps
58 stars 26 forks source link

mixed case tablenames #196

Closed hannesa2 closed 10 years ago

hannesa2 commented 11 years ago

Using uppercase letters in tablename causes an error. for example 'Table4OtherIssue'. There is an easy workaround, using lowercase letters, but maybe you want improve your already perfect plugin

fluxtah commented 11 years ago

I tried this and do not see an error, can you provide the error details and an example mechdb file that fails?

Thanks! :)

hannesa2 commented 11 years ago
    create table sHop (
        _id integer primary key autoincrement, ...

with this java code

    SQuery.newQuery().count(SHop.CONTENT_URI);

causes

java.lang.UnsupportedOperationException: Unknown uri: content://abc.defg.i.sqlite.myappdb/shop?mechdb_notify=false
fluxtah commented 11 years ago

thanks looks like case is not respected in the generated uri's