Martin,

On Mon, May 3, 2010 at 7:36 AM, martin t. <mrt...@googlemail.com> wrote:

> Hi, i just wanted to ask if Transfer can handle records which are
> accessed not only by itself but also by other systems of which
> transfer is unaware.
>

Transfer has no idea what other systems are up to - so it is up to you to
manage its cache.


>
> A simple example would be one Database which is accessed (CRUD) by a
> legacy app and by an app that uses Transfer. Transfer reads records,
> that are changed after the read by the other app. The Transfer Cache
> and the Database are now out of sync. Does Transfer have some kind of
> behavior that checks if a record has changed its state since the read
> by Transfer?
>

No, it doesn't. You would need to clear the cache for that row manually, or
have a shorter cache with Transfer.


>
> Antoher question:
> How does Transfer handle changes by different Clients to the same
> record?
>
E.g. two uses read a record from the DB.
> The first one updates the record.
> The second one updates the record that does not contain the same data
> anymore which the second user originally read.
> Does Transfer has any locking mechanism for records, e.g.
> can't read while in use or
> can't update because has changed since last read
>

It's a case of last one wins (pretty much like anything else). There is no
concurrency checking as you would find a'la Hibernate.

Mark


>
> --
> Before posting questions to the group please read:
>
> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
>
> Try out the new Transfer ORM Custom Google Search:
> http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
>
> You received this message because you are subscribed to the Google Groups
> "transfer-dev" group.
> To post to this group, send email to transfer-dev@googlegroups.com
> To unsubscribe from this group, send email to
> transfer-dev+unsubscr...@googlegroups.com<transfer-dev%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/transfer-dev?hl=en
>



-- 
E: mark.man...@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

Hands-on ColdFusion ORM Training
www.ColdFusionOrmTraining.com

-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en

Reply via email to