LLBLGEnDataSource - LivePersistence

Posts   
 
    
Wally
User
Posts: 285
Joined: 29-Aug-2007
# Posted on: 23-Jun-2008 18:04:07   

Do we get a new behavior in 2.6 or my memory get me krazy ?

If I set LivePersistence to false I get no records. (I tought I would be to go both way (in and out). Previously I had to set that to false to use event PerformSelect. Is that still true ?

I f I set LivePersistence to true I get expected number of records.

What's going on ?

... ho ... using 2.6 !

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39872
Joined: 17-Aug-2003
# Posted on: 23-Jun-2008 18:11:34   

If you set it to false, then you have to have PerformSelect etc. handlers in place which are called to get the data. LivePersistence set to true means: it's been taken care of. Do you have the handlers in place? If so, are these called? (check with a breakpoint)

Frans Bouma | Lead developer LLBLGen Pro
Wally
User
Posts: 285
Joined: 29-Aug-2007
# Posted on: 23-Jun-2008 19:14:24   

No handlers... thanks a lot... (It's then a memory (mine) problem)

Just wonder... wouldn't be ok to use the handler as the element witch tell if we use livepersistence or not ? ... and have a fonction which tell if the handler is in place?

Thanks for your quick answer, I forgot that part !

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 24-Jun-2008 06:37:42   

Please take a look at the documentation exampleswink

David Elizondo | LLBLGen Support Team
Wally
User
Posts: 285
Joined: 29-Aug-2007
# Posted on: 25-Jun-2008 17:01:50   

Thanks Daelmo,

I re-print it and re-read it. It was a nice reminder. Thanks.