日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

【数据库--db4o 介绍】

發(fā)布時(shí)間:2023/12/14 数据库 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【数据库--db4o 介绍】 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

一、db4o?簡介

db4o (database for objects) was an embeddable open source object database for Java and .NET developers. It was developed, commercially licensed and supported by Actian. In October 2014, Actian declined to continue to actively pursue and promote the commercial db4o product offering for new customers



?

db4o 是一個(gè)開源的純面向?qū)ο髷?shù)據(jù)庫引擎,對(duì)于 Java 與 .NET 開發(fā)者來說都是一個(gè)簡單易用的對(duì)象持久化工具。db4o 的目標(biāo)是提供一個(gè)功能強(qiáng)大的,適合嵌入的數(shù)據(jù)庫引擎,可以工作在設(shè)備,移動(dòng)產(chǎn)品,桌面以及服務(wù)器等各種平臺(tái)。本系列文章將給我們帶來一場(chǎng)面向?qū)ο髷?shù)據(jù)庫的風(fēng)暴。



?

二、特性

db4o 的目標(biāo)是提供一個(gè)功能強(qiáng)大的,適合嵌入的數(shù)據(jù)庫引擎,可以工作在設(shè)備,移動(dòng)產(chǎn)品,桌面以及服務(wù)器等各種平臺(tái)。主要特性如下:

開源模式。與其他 ODBMS 不同,db4o 為開源軟件,通過開源社區(qū)的力量驅(qū)動(dòng)開發(fā) db4o 產(chǎn)品。

原生數(shù)據(jù)庫。db4o 是 100% 原生的面向?qū)ο髷?shù)據(jù)庫,直接使用編程語言來操作數(shù)據(jù)庫。程序員無需進(jìn)行 OR 映射來存儲(chǔ)對(duì)象,大大節(jié)省了程序員在存儲(chǔ)數(shù)據(jù)的開發(fā)時(shí)間。

高性能。 db4o 比采用 Hibernate/MySQL 方案在某些測(cè)試線路上速度高出 44 倍之多!并且安裝簡單,僅僅需要 400Kb 左右的 .jar 或 .dll 庫文件。

易嵌入。使用 db4o 僅需引入 400 多 k 的 jar 文件或是 dll 文件,內(nèi)存消耗極小。

零管理。使用 db4o 無需 DBA,實(shí)現(xiàn)零管理。

支持多種平臺(tái)。db4o 支持從 Java 1.1 到 Java 5.0,此外還支持 .NET 、 CompactFramework 、 Mono 等 .NET 平臺(tái),也可以運(yùn)行在 CDC 、 PersonalProfile 、 Symbian 、 Savaje 以及 Zaurus 這種支持反射的 J2ME 方言環(huán)境中,還可以運(yùn)行在 CLDC 、 MIDP 、 RIM/Blackberry 、 Palm OS 這種不支持反射的 J2ME 環(huán)境中。

Features

One-line-of-code database?

db4o contains a function to store any object:

?

objectContainer.store(new SomeClass());

SomeClass here does not require any interface implementations, annotations or attributes added. It can be any application class including third-party classes contained in referenced libraries.

?

All field objects (including collections) are saved automatically. Special cases can be handled through writing custom type handlers.[2]

?

Embeddable

db4o is designed to be embedded in clients or other software components invisible to the end user. Thus, db4o needs no separate installation mechanism, but comes as a single library file with a footprint of around 670kB in the .NET version and around 1MB in the Java version.

?

Client-server mode

Client/server version allows db4o to communicate between client and server-side applications. It uses TCP/IP for client-server communication and allows to configure port number. Communication is implemented through messaging.

?

Due to a feature referred to as "Generic Reflection", db4o can work without implementing persistent classes on the server. However, this mode has limitations.[3]

?

Dynamic schema evolution

db4o supports automatic object schema evolution for the basic class model changes (field name deletion/addition). More complex class model modifications, like field name change, field type change, hierarchy move are not automated out-of-the box, but can be automated by writing small utility update program (see documentation).

?

This feature can be viewed as an advantage over relational model, where any change in the schema results in mostly manual code review and upgrade to match the schema changes.

?

Native queries

Rather than using string-based APIs (such as SQL, OQL, JDOQL, EJB QL, and SODA), Native Queries (NQ) allow developers to simply use the programming language itself (e.g., Java, C#, or VB.NET) to access the database and thus avoid a constant, productivity-reducing context switch between programming language and data access API. Native Queries also provide type safety, as well as remove the need to sanitize against code injection (see SQL Injection).

?

LINQ

LINQ support is fully integrated in db4o for .NET version 3.5. LINQ allows the creation of object-oriented queries of any complexity with the benefit of compile-time checking, IDE Intellisense integration and automated refactoring.

?

Due to integration with some open-source libraries db4o also allows optimized LINQ queries on Compact Framework.

?

LINQ can be used both against relational and object data storage, thus providing a bridge between them. It can also be used as an abstraction layer, allowing to easily switch the underlying database technology.

總結(jié)

以上是生活随笔為你收集整理的【数据库--db4o 介绍】的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 色综合久久88色综合天天 | 91av在线网站 | 国产三级在线观看 | 麻豆av影视 | 成人自拍视频网站 | 亚洲欧美一区二区三 | 热@国产| 国产调教| 天天综合网久久综合网 | 黄色一级片在线播放 | 日韩高清久久 | 日本一区二区三区在线看 | 中文字幕av高清 | 免费一级特黄特色大片 | 亚洲av第一成肉网 | 99久久精品一区二区 | 亚洲区 欧美区 | 热久久最新网址 | 亚洲乱码国产乱码精品精大量 | 五月色婷| 欧美亚洲综合在线 | 久久午夜鲁丝 | 成人毛片18女人毛片免费 | 在线视频 亚洲 | 椎名由奈在线观看 | 黄色网址视频在线观看 | 日韩三级a | www.黄在线观看| 超碰久草 | 国产欧美一区二区三区四区 | 操极品美女 | 日本天堂一区 | 在线观看欧美视频 | 日韩精品在线免费观看视频 | 亚洲av无码乱码国产麻豆 | 亚洲黄色免费电影 | 亚洲 欧美 中文字幕 | 三级a做爰全过程 | 久久亚洲国产 | 特及毛片 | 色九月婷婷 | 国产区免费观看 | 森泽佳奈中文字幕 | 国产第一网站 | 亚洲激情中文 | 青青草污| 久久91亚洲精品中文字幕奶水 | 黄色国产免费 | 国产精品一区二区亚洲 | av在线一| www日韩在线观看 | 久操视频网 | 自拍偷拍亚洲精品 | 污片免费在线观看 | 日韩不卡毛片 | 日韩色吧| 久久亚洲AV成人无码一二三 | 五月综合久久 | 女生脱裤子让男生捅 | 日韩精品无码一区二区三区 | 成人啪啪18免费游戏链接 | 伊人久久大香线蕉av色婷婷色 | 官场艳妇疯狂性关系 | 亚洲免费激情视频 | 一区二区伊人 | 国产特黄毛片 | 调教亲女小嫩苞h文小说 | eeuss日韩 | 日韩激情一区 | 欧美韩一区二区 | 人人妻人人澡人人爽欧美一区双 | 亚洲欧美第一页 | 影音先锋成人在线 | 青青伊人国产 | 果冻传媒18禁免费视频 | 女优视频在线观看 | 亚洲最大福利 | 波多野结衣在线观看视频 | 自拍日韩亚洲一区在线 | 色狠狠久久av大岛优香 | 国产欧美一区二区精品忘忧草 | 久久精品一区二区三区四区 | 久久久.com | 日本免费精品视频 | 在线永久看片免费的视频 | 亚欧洲精品视频在线观看 | 人人看人人爱 | 三点尽露的大尺度国产 | 国产精品suv一区二区69 | 亚洲资源站 | 精品国产99久久久久久宅男i | 婷婷视频网 | 国产综合在线视频 | 538国产视频 | 日韩欧美精品在线观看 | 88av在线视频 | 日本熟妇一区二区 | 国产视频在线观看网站 | 一本大道久久a久久精二百 琪琪色在线视频 |