Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は OpenJPA を初めて使用します。ネイティブ クエリを呼び出すと、最初のレベルのキャッシュがバイパスされ、データベースに直接アクセスされるかどうか疑問に思っています。
ネイティブ クエリは、エンティティ ベースであるかどうかにかかわらず、データストア内の任意のテーブルに対して行うことができます。一般に、L1 キャッシュは、クエリの結果クラスがエンティティである場合を除き、このプロセスとは関係ありません。