Questions tagged [microstream]

MicroStream Java serialization. Use together with language tag [java].

MicroStream claims to be the very first bulletproof serialization for Java which fixes the biggest security issue of Java existing for 25 years.

32 questions
11
votes
1 answer

How does MicroStream (de)serialization work?

I was wondering how the serialization of MicroStream works in detail. Since it is described as "Super-Fast" it has to rely on code-generation, right? Or is it based on reflections? How would it perform in comparison to the Protobuf-Serialization,…
Leo Hilbert
  • 395
  • 2
  • 12
2
votes
1 answer

How to use BinaryHandler correctly in Microstream to store volatile array of longs?

I tried to store Eclipse Collection's LongArrayList (https://www.eclipse.org/collections/) with Microstream, but due to it's "items" field being transient this didn't work out of the box. So what I did was to create a new class…
Thomas
  • 56
  • 5
2
votes
1 answer

microstream EmbeddedStorageManager in a spring bean configuration

I wanted to configure microstream's EmbeddedStorageManager as a bean in a spring boot application (2.5.0). @Configuration public class MicrostreamConfig { @Value("${microstream.store.location}") String location; @Bean DataRoot…
Rene
  • 67
  • 1
  • 8
2
votes
2 answers

Quarkus with Microstream - Classloader problems

I'm trying to get Microstream running with Quarkus but Microstream is not able to find my DataRoot class. Missing runtime type for required type handler for type: org.acme.getting.started.DataRoot The problem only appears when using…
Fleigm
  • 53
  • 1
  • 4
1
vote
1 answer

Why microstream (spring boot) always loads the 1th version of data?

I'm trying to use microstream (spring boot). I wrote a test class as demo. If I start the demo first time, it creates the session object and stores it in embedded storage. The second time session object is loaded again and "numValue" attribute is…
bit wheeze
  • 41
  • 3
1
vote
1 answer

is it possible to use the same Microstream database by multiple users at the same time?

I would like to know if an application server is needed to give multiple users access to the same Microstream database at the same time ?
Hans Roose
  • 11
  • 1
1
vote
1 answer

Microstream - unable to update store on subsequent runs

I've taken the example from https://github.com/microstream-one/examples/blob/master/loading/src/main/java/one/microstream/sampler/loading/Main.java I've modified it to add new objects on each run but it only stores the results of the first run.…
1
vote
1 answer

Issue in creating a sample app for microstream in Android

I am trying to build a sample android app for microstream but getting the error. Gradle Dependencies dependencies { implementation 'one.microstream:microstream-storage-embedded:05.00.02-MS-GA' ... } Error Process:…
Vivek
  • 4,170
  • 6
  • 36
  • 50
1
vote
2 answers

Does microstream already support JDK 15 - Problem with record

I am using JDK 15.0.1 and try to save a record. I got an error in the microstream code. The exception in the statement if (declaringClass.isRecord()) is thrown with text can't get field offset on a record (preview):. In the documentation, it is…
Marcel Baumann
  • 181
  • 1
  • 6
1
vote
1 answer

Java microstream List Object not stored correctly

I have the below object structure which extends ArrayList. When it is retrieved the List is null and so none of the values are stored within the microstream object graph. Not sure if this is either a bug unsupported feature A CustomHandler must…
Orlok
  • 107
  • 6
1
vote
3 answers

RapidClipseX, MicroStreamDB: How to assign MicroStream Table to RapidClipseX Grid?

I try to work with RapidClipseX and MicroStreamDB. I generated a storage, imported different data in different table Objects. Now I would like to read the data and visualize it in a RapidClipseX Grid component. By using MicroStreamDB I do not have a…
Schwabenheinz
  • 133
  • 1
  • 11
1
vote
1 answer

Microstream lazyloading/relationship

following this code https://github.com/microstream-one/demo-readmecorp/tree/master/core/src/main/java/com/jetstreamdb/demo/readmecorp I can see that one book has only one Author, means one author can have many book = one to many relationship trying…
ace
  • 451
  • 3
  • 9
  • 12
1
vote
1 answer

Missing PersistenceTypeDictionary.ptd in backup directory

When using a Microstream database with a backup directory, all files but "PersistenceTypeDictionary.ptd" are cloned within backup directory. When trying to use backup directory as origin database, Microstream tries to reproduce this missing file but…
Christian
  • 576
  • 1
  • 4
  • 16
1
vote
1 answer

Wondering about Microstream class StorageConfiguration

there are two questions with microstream database and its class StorageConfiguration: 1) What ist the difference of the methods New() and Builder() and the DEFAULT construct? 2) Why the methods are writting uppercased? That does not seem to be Java…
Christian
  • 576
  • 1
  • 4
  • 16
0
votes
1 answer

Use Microstream with Channel and specified directory

I want create a storage manager with many channels and in a specific directory, unfortunately is not very easy to implement this requirement. The example of the homepage microstream doesn't work, but one solution I could create one instance, but…
Qeychon
  • 477
  • 1
  • 5
  • 15
1
2 3