This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I want to connect to my Android Database using ORMLite. Basically, I have created a DAO and trying to Insert user object in RegisterActivity.java class.
But, I receive the below exception, I am quite new to DAO, Kindly suggest If the below approach is right.
FATAL EXCEPTION: main
at com.divi.apps.activities.RegisterActivity.insertUser(RegisterActivity.java 55)
In my RegisterActivity.java, I call the create method of the DAO