查看博客:https://openliberty.io/blog/2022/05/03/microstream-cdi-ext.html
这个例子提到了注解类型@Store。
我正在使用带有 JarkartaEE 10 和 microprofile 6 的版本 8,因此我使用 cdi 集成:microstream-integrations-cdi3
@Store 类型发生了什么?它是否已过时或只是没有进入 V8?
谢谢
我尝试使用:microstream-integrations-cdi3
以下依赖项具有 Storage 注释。
<dependency>
<groupId>one.microstream</groupId>
<artifactId>microstream-integrations-cdi</artifactId>
<version>08.01.01-MS-GA</version>
</dependency>
如果您也使用以下 Maven 依赖项,它也存在。
https://repo.maven.apache.org/maven2/one/microstream/microstream-integrations-cdi3/08.01.01-MS-GA/
Storage 注解存在于该路径下:
包 one.microstream.integrations.cdi.types;
示例:
https://github.com/microstream-one/microstream/tree/master/examples