|
dexik
Starting Member
1 Posts |
Posted - 12/01/2012 : 18:47:01
|
I am writing a Java assignment where a database is simulated by a hashtable. It says that the database should be made available at the beginning of a run and made unavailing at the end of a run.
The input and return data is like this: Input: enter sql(prompt) user enters: insert 1234,'toronto', 45, 'main' database class returns: inserted 1 item for 1234
[next request] Input: enter sql(prompt) select 4321 Return: id:4321, city: calgary, address: 34 haha street
So my question is how do you understand a run in this context? Is it every sql request or anything between Connect [to database] and Disconnect? |
|