DBFlow icon indicating copy to clipboard operation
DBFlow copied to clipboard

table() method in JSONModel still not reached.

Open arturonaredo opened this issue 11 years ago • 2 comments

Sorry, I cannot reopen or change the state of the previous issue.

I still cannot reach the table method TransactionManager.getInstance().addTransaction(new ProcessModelTransaction<>(ProcessModelInfo.withModels(admissionEntitlementJSONModel).table(AdmissionEntitlement.class)));

And if I remove it, ProcessModelTransaction is abstract and wants to implement the process model methods. Could you please provide an example? Maybe adding it to the example app...

arturonaredo avatar Feb 28 '15 19:02 arturonaredo

there's logic inside of ProcessModelTransaction to handle it. Currently there's an issue where if the list is empty it will crash #106

agrosner avatar Feb 28 '15 21:02 agrosner

you don't need the method anymore. as of 1.6.2, you can simply call the method as normal and it should work. Reopen if this is still an issue.

agrosner avatar Mar 04 '15 14:03 agrosner