Saving Multiple Entities, proper way to use transaction.

I have been looking around and most likely have overlooked this, so I wanted to ask for clarity. Say I have 2 different entities that are going to be saved (A & B), but I need to ensure both A & B are saved and if B fails A is rolled back.

I saw in another post that I could do A.save(transactional=false) and B.save(transactional=false). In that case, would I just wrap in the standard CF transaction tags or does CB have something built in to wrap both of those saves?

Hope that makes sense and thanks in advance.

You can do that or add them to an array in the order of saving and then send that to a saveAll( array ) and that will wrap them for you

awesome thanks!