MMBase

Should be possible to do a query in a transaction.

Details

  • Type: Sub-task Sub-task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.1
  • Fix Version/s: 1.9.2
  • Component/s: Mmci, Taglib, Transactions
  • Description:
    Hide
    E.g. the functionality i just added in

    Queries#getRelatedNodesInTransaction

    should actually be available more generally. E.g. methods like Node#getRelatedNodes and mm:relatednodes shoudl consider it.

    Even better would be that all queries executed inside a transactionw ould give results as if the the transaction were committed already.

    This will be quite tricky, but the most basic cases, like related nodes, should at least be easily available.
    Show
    E.g. the functionality i just added in Queries#getRelatedNodesInTransaction should actually be available more generally. E.g. methods like Node#getRelatedNodes and mm:relatednodes shoudl consider it. Even better would be that all queries executed inside a transactionw ould give results as if the the transaction were committed already. This will be quite tricky, but the most basic cases, like related nodes, should at least be easily available.

Activity

Hide
Michiel Meeuwissen added a comment - 2009-08-19 19:12
mm:relatednodes usetransaction="true" is working for now.
Show
Michiel Meeuwissen added a comment - 2009-08-19 19:12 mm:relatednodes usetransaction="true" is working for now.
Hide
Michiel Meeuwissen added a comment - 2009-11-11 19:26
It is probably not yet perfect, but it is working well enough for what I'm needing it now.

Other subtleties can be assiged in new issues...
Show
Michiel Meeuwissen added a comment - 2009-11-11 19:26 It is probably not yet perfect, but it is working well enough for what I'm needing it now. Other subtleties can be assiged in new issues...

People

Dates

  • Created:
    2009-08-19 18:40
    Updated:
    2009-11-11 19:26
    Resolved:
    2009-11-11 19:26