移动数据库引擎Realm Java v3.1.0 发布

jopen 4年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/0f3ae104c7167272412079964cb5969e.png" /></strong></p>    <p> </p>    <p>Realm 是一个跨平台的移动数据库引擎,可运行于手机、平板和可穿戴设备之上。于 2014 年 7 月发布,准确来说,它是专门为移动应用所设计的数据持久化解决方案之一。 Realm 可以轻松地移植到您的项目当中,并且绝大部分常用的功能(比如说插入、查询等等)都可以用一行简单的代码轻松完成! Realm 并不是对 Core Data 的简单封装,相反地, Realm 并不是基于 Core Data ,也不是基于 SQLite 所构建的。它拥有自己的数据库存储引擎,可以高效且快速地完成数据库的构建操作。</p>    <h2>更新日志</h2>    <ul>     <li>Updated file format of Realm files. Existing Realm files will automatically be migrated to the new format when they are opened, but older versions of Realm cannot open these files.</li>     <li>[ObjectServer] Due to file format changes, Realm Object Server 1.3.0 or later is required.</li>     <li>Added support for reverse relationships through the <code>@LinkingObjects</code> annotation. See<code>io.realm.annotations.LinkingObjects</code> for documentation.</li>     <li>This feature is in <code>@Beta</code>.</li>     <li>Queries on linking objects do not work. Queries like <code>where(...).equalTo("field.linkingObjects.id", 7).findAll()</code> are not yet supported.</li>     <li>Backlink verification is incomplete. Evil code can cause native crashes.</li>     <li>The listener on <code>RealmObject</code> will only be triggered if the object changes (#3894).</li>     <li>Added <code>RealmObjectChangeListener</code> interface that provide detailed information about <code>RealmObject</code> field changes.</li>     <li>Listeners on <code>RealmList</code> and <code>RealmResults</code> will be triggered immediately when the transaction is committed on the same thread (#4245).</li>     <li>The real <code>RealmMigrationNeededException</code> is now thrown instead of <code>IllegalArgumentException</code> if no migration is provided for a Realm that requires it.</li>     <li><code>RealmQuery.distinct()</code> can be performed on unindexed fields (#2285).</li>     <li><code>targetSdkVersion</code> is now 25.</li>     <li>[ObjectServer] In case of a Client Reset, information about the location of the backed up Realm file is now reported through the <code>ErrorHandler</code> interface (#4080).</li>     <li>[ObjectServer] Authentication URLs now automatically append <code>/auth</code> if no other path segment is set (#4370).</li>     <li>Crash with <code>LogicError</code> with <code>Bad version number</code> on notifier thread (#4369).</li>     <li><code>Realm.migrateRealm(RealmConfiguration)</code> now fails correctly with an <code>IllegalArgumentException</code> if a<code>SyncConfiguration</code> is provided (#4075).</li>     <li>Fixed a potential cause for Realm file corruptions (never reported).</li>     <li>Add <code>@Override</code> annotation to proxy class accessors and stop using raw type in proxy classes in order to remove warnings from javac (#4329).</li>     <li><code>findFirstAsync()</code> now returns an invalid object if there is no object matches the query condition instead of running the query repeatedly until it can find one (#4352).</li>     <li>[ObjectServer] Changing the log level after starting a session now works correctly (#4337).</li>     <li>Using the Object Store's Session and SyncManager.</li>     <li>Upgraded to Realm Sync 1.5.0.</li>     <li>Upgraded to Realm Core 2.5.1.</li>     <li>Upgraded Gradle to 3.4.1</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4959005094392960614" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4959005094528018035" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/360cd82b">http://www.open-open.com/news/view/360cd82b</a></p>