02 2022 档案
摘要:15.1 Transaction Callbacks 事务回调 The ODB transaction class (odb::transaction) allows an application to register a callback that will be called after th
阅读全文
摘要:When we add new persistent classes or change the existing ones, for example, by adding or deleting data members, the database schema necessary to stor
阅读全文
摘要:The previous chapters gave us a high-level overview of ODB and showed how to use it to store C++ objects in a database. In this chapter we will examin
阅读全文
摘要:As we have already seen in previous chapters, ODB uses a pragma-based language to capture database-specific information about C++ types. This chapter
阅读全文
摘要:The ODB transaction model (Section 3.5, "Transactions") guarantees consistency as long as we perform all the database operations corresponding to a sp
阅读全文