Re: chooses not to generate code at all
- From: "frebe" <fredrik_bertilsson@xxxxxxxxxxx>
- Date: 25 Aug 2005 08:03:46 -0700
>> What do
>> you use instead of queries?
> If it is an OO application I would use direct relationship navigation to
> the object with the data from the method needing the data.
Lets say we have a planning application with a event class as follow:
class Event
property resourceid
property starttime
property endtime
Now I have a client that want to show all events in a graphical view
for one resource during one week. I would find the events using this
SQL query:
select * from event
where resourceid=? and ((starttime between ? and ?) or (endtime between
? and ?))
How would your solution look like?
> The point is that one does not need persistence to do <business>
> transaction processing.
That's why you would still need a DBMS event if you don't need
persistence.
> A transaction at the application level is
> nothing more that a message {message ID, address, data packet}
For me a transaction is a number of state changes. If one state change
failes, the rest of them has to be cancelled too.
> Nor does one need a DBMS to handle persistence in <business> transaction
> processing.
Other simpler tools can handle persistence in business transaction
processing. But a DBMS would be a better choice. What tool would you
use for persistence handling in business transactions?
Fredrik Bertilsson
http://butler.sourceforge.net
.
- Follow-Ups:
- Re: chooses not to generate code at all
- From: H. S. Lahman
- Re: chooses not to generate code at all
- References:
- Re: chooses not to generate code at all
- From: JXStern
- Re: chooses not to generate code at all
- From: H. S. Lahman
- Re: chooses not to generate code at all
- From: JXStern
- Re: chooses not to generate code at all
- From: H. S. Lahman
- Re: chooses not to generate code at all
- From: JXStern
- Re: chooses not to generate code at all
- From: H. S. Lahman
- Re: chooses not to generate code at all
- From: frebe
- Re: chooses not to generate code at all
- From: H. S. Lahman
- Re: chooses not to generate code at all
- From: frebe
- Re: chooses not to generate code at all
- From: H. S. Lahman
- Re: chooses not to generate code at all
- Prev by Date: Re: Survey Invitation (Please give urgent attention!!)
- Next by Date: Re: XP and Pair Programming
- Previous by thread: Re: chooses not to generate code at all
- Next by thread: Re: chooses not to generate code at all
- Index(es):
Relevant Pages
|