Hibernate就像C ++的图层一样 [英] Hibernate like layer for C++

查看:117
本文介绍了Hibernate就像C ++的图层一样的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C ++中使用DB是一个真正的混乱,当我转移到Java以便能够使用一个统一的系统将整个层抽象出来(又名Hibernate)时,它是令人耳目一新的。



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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆