NativeQueryに関する議論 in TheServerSide.COM

ネイティブクエリに関する議論が、TheServerSide.COMで白熱しています!とにかく盛り上がるということはそれだけインパクトのある内容の証明なので、大変うれしく思います。全般的には、エンタープライズ系の人が多いのでRDBMS支持が多いのですが、それは当然なことです。ただdb4oという枠を超えて、Versantの人のコメントもあり、たとえばVersantがネイティブクエリを実装したら、こうしたエンタープライズ系の議論もさらに面白くなると思います。コンセプト自体は、昨日のブログで説明したように、非常に深い部分から出ているので、5年や10年で変わるものではないでしょう。

次のようなうれしい支持もあったのでご紹介します。


You still need some standard, you are just moving the problem from requiring a standard language (SQL) to a standard API (the OODB API in Java).


Thats true. But by moving the problem closer to my object model, I am able to eliminate one whole layer of standardization (the SQL layer). Without the NQ approach, I have two standards to play by... the SQL standard and the JDBC standard (read ADO.NET for .NET and similar modules/APIs for other languages).

The NQ approach does need a new standard API (just like JDBC, as pointed out by Christof) but it works straight off of your object model, whatever that may be. No string based SQL queries...

Believe it or not, its a great relief for object purists out there... and works very well, as demonstrated by a growing community out there. I am very willing to believe that these guys will improve upon (performance and ease of use) this stuff over a period of time and gain industry wide acceptance.


db4o Japanese Community
http://www.db4o.com/japan/
japan@db4o.com