jsondb-core icon indicating copy to clipboard operation
jsondb-core copied to clipboard

JsonDB a pure java database that stores its data as Json Files

Results 33 jsondb-core issues
Sort by recently updated
recently updated
newest added

After executing all tests trough gradle, the test files (instance locks) are still in the test directory. Path: `src/test/resources/dbfiles/*Tests.lock/instances.json.lock` Suggestion: Temp dirs Suggested library/module: JUnit 5: https://www.baeldung.com/junit-5-temporary-directory Results in a...

In my needs, the POJO has some property which link directly to another POJO. From .net background, I believe it's called lazy-loading prop. My workaround is available so you can...

Feature Request: Create a setting for Table Generation Strategy. Usually databases have 3 options: 1. Create 2. Drop and Create 3. Update

enhancement

I had in my project `import javax.persistence.Id;` as annotation for the models, usually every database share the same annotation, so I got a nullpoint exception for this. So there 2...

enhancement

How hard would it be to disable the package scan feature? I would like to use the library in an OSGi environment where at best the scan finds nothing due...

enhancement

The following object always return false for the method `collectionExists`: ``` {"schemaVersion":"1.0"} {"id":"66159eb1-ccde-4e23-8870-d313cea4df62","username":"Phoeniiiix","token":"eyJraWQiOiJuek9QejMycnBGYUdrVDlBQ3VzTmc0cXNlYmhBN1NBSzNISmtYZzFNSzBjPSIsImFsZyI6IlJTMjU2In0.eyJjdXN0b206bmF0aW9uYWxpdHlJc28iOiJCUiIsInN1YiI6IjY2MTU5ZWIxLWNjZGUtNGUyMy04ODcwLWQzMTNjZWE0ZGY2MiIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtZWFzdC0yLmFtYXpvbmF3cy5jb21cL3VzLWVhc3QtMl83UU9ZOExMVVIiLCJjdXN0b206YXZhdGFyIjoiXC9pbWdcL2F2YXRhclwvYXZhdGFyMTMucG5nIiwiY29nbml0bzp1c2VybmFtZSI6IlBob2VuaWlpaXgiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJwaG9lbml4IiwiYXVkIjoiNmVrc3Fnb2RycWgyYWc4MWVjb3E0dTZ1aHAiLCJ1cGRhdGVkX2F0IjoxNTUzMzYxODE0LCJ0b2tlbl91c2UiOiJpZCIsImN1c3RvbTpuYXRpb25hbGl0eU5hbWUiOiJCcmFzaWwiLCJhdXRoX3RpbWUiOjE1NjkyNDU4MTcsImN1c3RvbTpkaXNwbGF5TmFtZSI6IlBob2VuaXgiLCJleHAiOjE1NjkyNDk0MTcsImlhdCI6MTU2OTI0NTgxNywiZW1haWwiOiJndWluaDk3QGdtYWlsLmNvbSJ9.OKs2-8LwtV_wDRQXqFEtFj-Uluh4GwRAoH5EjWtv-NxZA8HFKdUiOxxAynJLHztTFSI4JwhcUSUEiIWA4fLQcQ0yBPKuK2wIN6bYuKd3uPwAn29MSSiddnQatf76iaaYMhuy3BDnUax915_XdiQTVCL_1HP-jGIsVkt0mTknAvXdHIC7RgF2LVRsRNN5zUF37q-wqYGZQ4fo6IF-0vZ7gaBp3uDOp54XHnZ5KDzJi1aszb10xY7F_qPqBc58u8gBAy_xrbQMn_VzQ7n4eV91WJUWcNSaHSh2HZWqvcFbczMkdOWYngpZhc94jlfccP5reZO2JdngeoiUYYUBoEOZRg","email":"[email protected]","birthdate":null,"hmac":null,"displayName":"Phoenix","playerId":null,"avatar":"/img/avatar/avatar13.png","tokenExpiration":1569249417000,"nationalityIsoCode":"BR","nationalityIsoName":"Brasil","emailLogin":true,"tokenRefresh":"eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAifQ.NHyj1jh-lufEofDkQhNNKS-C3dRH457MPUiis8u9KwHjcM43txTeVR5gUzccFGAE9pbtObc30Y0DugIaGb-tvGwmtPPk5-cYZaVXAncFRmPtNxtxzg6vTkkaVUDpvlxIeRcxtIM336Ke77F5Dut4-yP_bQipXj22JCZmKtBSOt6Uame23LYvrptsqfr7pnNJbmyaAHeLUQBiIQR-WvjYjE2Z8PwYvDwwSjyjg74R6-XXrzNgFwFhzt-Y0q4_QMSXo5kzIoooMrOLRNLjyoFZCfGTJlXoXVx5QsIofTvtFp0S5BbrKowAgk2n2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hqhq67ujIsAXhxnk0pVaCYNXfMZoP57r7_NEWAkpOuvSI6nWhyJcDqg_0OX4QVuoibFp4Ajm8J-cpXCoEfz2AVydKec5voM_82398bpSSmu_VYykBnjnIkB_TPr4RTeO2k-qNRcceNntbkYRpBGOjwdr1MT-dBnoWb9OBZv73H1GPE9M4FfSkeGzxFBiqrR-yqUAW6fbcWD8eA_qxN0Je55dAEKXS8YbMTE41c85O_tPHaFfS_a-2I-jWZFbzwvb39wWGHKWpN4RP5DPtDmy7D-cDnYaP7Y._GzD-eeiYayIem2CXTXGHQ","cashier":{"id":"2a58e8c6-5e47-4875-a1df-1c6940ce95fe","realMoney":0.0,"bonusMoney":3000.0,"playMoney":0.0,"rakeBack":693,"vipStatus":0,"vipProgress":0.0,"inPlayMoney":1000.0,"inRealMoney":0.0,"userId":"66159eb1-ccde-4e23-8870-d313cea4df62"},"game":{"id":"9ce97aff-16d4-4c05-8e27-10c2efc06ea5","userId":"66159eb1-ccde-4e23-8870-d313cea4df62","lol":null,"dota2":null,"r6s":{"id":"49d2e47d-8b01-4c19-b313-d00aff92fb3c","region":"sbr","isVerified":true,"name":"eMastersR6bot44","iconUrl":"https://ubisoft-avatars.akamaized.net/49d2e47d-8b01-4c19-b313-d00aff92fb3c/default_146_146.png","rank":"unranked","tier":null,"profileId":"49d2e47d-8b01-4c19-b313-d00aff92fb3c","userId":"66159eb1-ccde-4e23-8870-d313cea4df62","winRate":0.0,"url":"https://game-rainbow6.ubi.com/en-us/uplay/player-statistics/49d2e47d-8b01-4c19-b313-d00aff92fb3c/multiplayer","lastTimeChecked":null,"messages":{"free_to_use":true}},"fifa":null,"tft":null,"underlords":null,"valid":true},"avatars":null} ```

This would allow for alternate Filesystem implementations to be used such as JimFS and such for unit tests.

enhancement

```java package io.swagger.jsondata; import io.jsondb.annotation.Document; import io.jsondb.annotation.Id; @Document(collection = "instances", schemaVersion= "1.0") public class Instance { @Id private String name; private String value; public String getName() { return name; }...

When there is a problem in JSON file, it gets JsonParseException and it deletes this entry. But it should leave the file untouched, it is much better, otherwise we lost...

bug

Hi Farooq, I really love jsondb.io !!! I did some experimentation: I commented out the deep copying code in the Util.java class: protected static Object deepCopy(Object fromBean) { // ByteArrayOutputStream...

wontfix