Re: Business objects, subset of collection



If you are building a single-user application, it is easier to live
without a database.

The app is not single user, but the function of scheduling payments
is.  But even so, without a DB where do you store the data the
application is working with?

In a file. As I said, it is "easier" to live without a database when
developing single-user applications. I would use a SQL anyway, since
it provides a lot of useful features.

When you say "persistance", are you talking about writing to disk?
Calling
insert into payment (invoiceid, date, amount) values ...

has very little to do with persistence. If, when or how the database
writes something to disk, is controlled by the database.

With persistence I mean the writing of the data from the business
objects or dataset to the DB (regardless of caching mechanisms in the
DB, OS, raid controller or HDDs that might delay the data actually
hitting the platters).

Communicating with the DB has very little to do with persistence. I
just wanted to check your definition, since it is difficult when one
is using ambiguous words.

What about metrics for your SQL queries?

//frebe
.



Relevant Pages

  • Re: Business objects, subset of collection
    ... The app is not single user, but the function of scheduling payments ... when or how the database ... With persistence I mean the writing of the data from the business ... DB, OS, raid controller or HDDs that might delay the data actually ...
    (comp.object)
  • Re: If you were developing a database in Forth...
    ... but apparently there is a lack of imagination. ... He specifically asked about persistence, ... "reflexively" reaches for a database engine ... him to "imagine" iterating over the dictionary, outputting Forth ...
    (comp.lang.forth)
  • Re: Searching OO Associations with RDBMS Persistence Models
    ... The problem is that not all OO purists agree to this. ... come from a world where the database is a prominant feature. ... of services and Mixins (rows and ... transience and persistence in whether it is refering to the location ...
    (comp.object)
  • Re: SQL
    ... the features of a relational database are primarily that it allows ... >> or less) to the relational model, and and it does so in a persistent ... >> manner (what you put into the database isn't going to disappear unless you ... >> If we ignore the persistence aspect, what remains is the organization of ...
    (comp.object)
  • Re: OOP - a question about database access
    ... What I've decided to do is try to take a little database ... In a properly partitioned application the persistence access ... > if data is stored in an RDB, an OODB, flat files, or clay tablets. ... As a result one can abstract persistence mechanisms in terms ...
    (comp.object)