Unit Testing DatabaseOpenHelper class in Android
I’ve written several unit tests for an already existing DatabaseOpenHelper
class. I covered the creation scenario and migration from old schema to new one. Unfortunately, I don’t feel that my tests are good. For example, for DB creation I check that SQLiteDatabase. execSQL()
was called three times (we have three tables so far) and check that query string is in set of specified SQL strings.
typical way to share database connection for open-source project, without revealing too much
I have an open source project for mydomain.com
which requires connections to a database (…as is tradition). What is the standard practice for allowing others to work on the site, without giving them full access to the database’s credentials?
DB schema for packaging products/services together under a single price/offer
I’m trying to “conceive” the business logic of this website that has many activities, that the users can build their “combo” and get discounts depending on their choices and how long they are willing to pay for their plan (1, 3, 6 and 12 month plans).
Reporting and handling asynchronous process errors to a client
I have a product with two separate applications. The core of the product lives in the database (oracle) and runs according to a schedule. The other is a client application (currently ASP.NET MVC3) used to manage the database application. There are three levels of validation going on; client, server-side, and database before the client data is saved to the database.
What are the differences between algorithms using data structures and algorithms using databases?
The General Question What are the differences between algorithms using data structures and algorithms using databases? Some Context This is a question that has been bugging me for some time, and I have not been able to come up with a convincing answer for it. Currently, I am working on strengthening my understanding of algorithms […]
Should a database table(s) structure match its intended data structure(s) in the logic?
This question branches out of this question, What are the differences between algorithms using data structures and algorithms using databases?.
Are these SQL concepts for beginners, intermediate, or advanced developers? [closed]
Closed 9 years ago.
Do You Still Need Indexing After Database Normalization
After you have done a good normalization, do you still need to index the table? How is this going to affect the performance? Will it even affect the performance in some way after a good normalization?
Data representation with C# and WPF
I’m developing an application handling DB parts. I retrieve the data from the DB with stored procedures and prepared statements. Now I want to display the data in the GUI.
Establishing an API to provide end-user apps/scripts access to multiple types of databases
Question and Context I am currently working on a project where the main question is, how do we insert an API between the database and end-users who may develop applications/scripts of their own that will work with or on top of the database? The database type I am working with is Postgresql, and this project […]