Hibernate就像C ++的图层一样 [英] Hibernate like layer for C++
问题描述
DB中有几个C ++抽象层,但它们通常是供应商特定的,而且只是包装真实C API的薄层。有没有人碰到类似于Hibernate for C ++的东西,或者知道正在查看这个问题域的组或开源项目。 解决方案
我不知道任何像Hibernate这样的C ++库,但肯定有非供应商特定的库: SOCI 和 DTL
Using a DB with C++ is a real mess and it was refreshing when I moved to Java to be able to use a unified system to abstract the whole layer away (aka Hibernate).
There are a couple of C++ abstract layers for DB's out there but they are usually vendor specific and only a thin layer that wraps the real C API. Has anybody come across something more like hibernate for C++ or know of a group or open source project that is looking at this problem domain.
I don't know of any C++ library like Hibernate, but certainly there are non-vendor specific libs: SOCI and DTL
这篇关于Hibernate就像C ++的图层一样的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!