SimpleFlatMapper
SimpleFlatMapper copied to clipboard
Fast and Easy mapping from database and csv to POJO. A java micro ORM, lightweight alternative to iBatis and Hibernate. Fast Csv Parser and Csv Mapper
I'm a fair bit puzzled as to how I can map this class correctly. I have the following class structure (using Immutables): ```java @Immutable public interface Aaa { @Immutable public...
simpleflatmapper.version:8.2.3 ```java import lombok.Data; import org.simpleflatmapper.map.annotation.Column; @Data public class GenGrid { @Column("gird_x") private int gridX; @Column("gird_y") private int gridY; } ``` ```java CsvWriter writer = CsvWriter.from(GenGrid.class) .to(appendable); GenGrid value =...
Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project. #### Changes included in this PR - Changes to the following...
I have a Postgres column with a UUID array, in the class ``` ResultSetGetterFactory { factoryRegistry.put(UUID.class, new GetterFactory() { ... } } ``` the column type is mapped to **JdbcColumnKey.UNDEFINED_TYPE**,...
sfm version 8.2.2 i have a simple pojo with two timestamp fields public class Pojo { private LocalDateTime firstTimestamp; private LocalDateTime secondTimestamp; i want to read two timestamps from my...
Hi, many thanks for this library that I'm now using successfully on multiple projects :) As far as I understand batching queries really helps with performance. We can already do...
I have a list `public List specializationsList` The column in the file maps to `specializations_list` which in the next row has a value of `[Alergology, Immunology]` When trying to read...
Hi, I'd like to confirm whether [SelectQueryMapper](https://github.com/arnaudroger/SimpleFlatMapper/blob/master/sfm-jooq/src/main/java/org/simpleflatmapper/jooq/SelectQueryMapper.java) is thread safe. Looking over the code it seems like it, or if I missed anything. Reason of the ask is that [SelectQueryMapperFactory](https://github.com/arnaudroger/SimpleFlatMapper/blob/master/sfm-jooq/src/main/java/org/simpleflatmapper/jooq/SelectQueryMapperFactory.java)...
I'm using the Spring JDBC version of SFM 8.2.3 and I'm having the following issues with inserting rows containing UUIDs that need to be converted to binary(16). I figured out...
Hello, Again, thanks for this great library ! I'm getting troubles using a mapper with joins (`addKeys()`), `discriminator()` and `ignorePropertyNotFound()`. Here is a test to reproduce the issue. ``` public...