Radovan Radic

Results 67 comments of Radovan Radic

I looked at this issue and it appears this issue is reproducible in Hibernate with similar use case. Here is [small project](https://github.com/radovanradic/hibernate-example-one2one-bug) reproducing the error in Hibernate. This might be...

Maybe there was different Hibernate version and the issue is introduced in 5.6.xm of Hibernate, but that is unlikely. Change to Hibernate 6 would assume quite a lot of refactoring...

I don't think this is an actual issue. If you add this to the test ``` TimeZone.setDefault(TimeZone.getTimeZone("Australia/Sydney")); Animal loadedAnimal = animalRepository.findById(1).get(); Assertions.assertEquals(loadedAnimal.createdAt, Instant.EPOCH); TimeZone.setDefault(TimeZone.getTimeZone("UTC")); loadedAnimal = animalRepository.findById(1).get(); Assertions.assertEquals(loadedAnimal.createdAt, Instant.EPOCH); ```...

I have put up small [example in Hibernate](https://github.com/radovanradic/hibernate-example-timestamp) to test this behavior. It turned out it works the same way as micronaut data and it appears the issue is in...

I checked this in micronaut-data 4.1.4 where it worked without errors (the error begins with 4.2.0). However, even then the query that was being executed was not correct. This is...

> @radovanradic Can you please investigate the problem? I will

Will be updated to 1.0.0.RELEASE in https://github.com/micronaut-projects/micronaut-data/pull/1841 This PR is no longer needed.

This should be fixed in Micronaut 4 which supports Hibernate6. Attached zipped diff/patch file that can be applied to the reproduced app and verify reported issue is fixed [issue-1674-fix.diff.zip](https://github.com/micronaut-projects/micronaut-data/files/11719902/issue-1674-fix.diff.zip)