apache / apache/teaclave-java-tee-sdk

Can teaclave support the persistence operation, such as h2database

Open
#33 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
67
Forks
21
PR merge metrics
No merged PRs in 30d

Description

基于samples/springboot项目,在common和enclave模块增加h2db的crud操作,目前程序能正常运行,save操作没有报错。
但涉及到读数据的接口,返回内容就是null,即使不是返回数据库中的内容。

**service**:
![image](https://github.com/apache/incubator-teaclave-java-tee-sdk/assets/31698930/b589a013-ea05-4d8f-b9aa-fa828963e20a)

**controller**:(返回null)
![image](https://github.com/apache/incubator-teaclave-java-tee-sdk/assets/31698930/fb3c0621-615c-4d9e-acbe-3bf4a39b9183)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the samples/springboot project and inspect the CRUD paths in the common and enclave modules, comparing the working save operation with the read interfaces shown in the issue. Reproduce the read requests and trace their returned values; done means the read endpoints return the expected persisted data rather than null.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.