Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue "Id has not been provided" is not available in maven repository #765

Open
pauls-baby opened this issue Jul 29, 2024 · 0 comments

Comments

@pauls-baby
Copy link

pauls-baby commented Jul 29, 2024

I could find that an issue

Error 26: Id has not been provided

appears to be fixed in the PR #752.

I am already passing "#p0" for key in @Cacheable annotation like:

@Cacheable(value = "test", key = "#p0")
Optional<MerchantsEntity> findByMercId(String mercId);

I have also set the @Id annotation on my entity class MerchantsEntity.

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

However, I am still getting an exception when trying to integrate it with my spring boot application and running a test method which calls the repository method.

The exception is:

com.aerospike.client.AerospikeException: Error 26: Id has not been provided

Furthermore, when I checked the maven repository for latest version(4.8.0) of spring-data-aerospike at

https://mvnrepository.com/artifact/com.aerospike/spring-data-aerospike/

does not appear to have the jar files updated since May 29, 2024. When will be the release with this change happening? Or did I go wrong somewhere?

image

@pauls-baby pauls-baby changed the title Fixed issue not available in maven repository Fixed issue "Id has not been provided" is not available in maven repository Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant