Questions tagged [simpleflatmapper]

SimpleFlatMapper provides a very fast and easy to use mapper for JDBC, CSV Mapper with its own CSV Parser, Excel spreadsheet, Cassandra Datastax.

7 questions
1
vote
1 answer

Jooq - converting nested objects

the problem which I have is how to convert jooq select query to some object. If I use default jooq mapper, it works but all fields must be mentioned, and in exact order. If I use simple flat mapper, I have problems with multiset. The problem with…
krky
  • 11
  • 2
1
vote
1 answer

jooq, simpleflatmapper, kotlin mapping

I’m converting a java project to kotlin but getting an error constructing a data object with the query results. The query is a join with a one to many relationship between Docs and Questions. This works in java but I can’t get it to work with…
user10993231
  • 111
  • 1
  • 1
  • 6
1
vote
1 answer

Easier mapping with SimpleFlatMapper

Can jOOQ automatically add an alias prefix for all columns of a table in the select clause? Can jOOQ also help with the 128 byte/character name length limitation of databases? The reason for the questions are that SimpleFlatMapper is used for the…
db2222
  • 59
  • 4
1
vote
1 answer

How to alias prefixed CSV columns to a Map with SimpleFlatMapper?

Background Using SimpleFlatMapper sfm-csv 6.0.3 Example CSV: |------|-------------|----------------|----------------|------------------| | name | reference # | pf.first thing | pf.secondThing | pf.another.thing…
Kenny Linsky
  • 1,726
  • 3
  • 17
  • 41
1
vote
2 answers

How to write a List in a csv file with simpleflatmapper?

I must use the library simpleflatmapper and I can't find a way to simply write in a csv file a List with this library. I can parse (without blankline) and stock in a List : FileReader file = new…
YannickN.fr
  • 328
  • 2
  • 6
  • 18
0
votes
1 answer

How to convert from Integer column to a custom type with Kotlin JOOQ and SimpleFlatMapper?

I have a Kotlin Project using JOOQ to connect with a MySQL database. I have a my_table table with an int int_column and I want to convert it to a MyCustomType class declared on MyTableJooqEntityfile. The configuration is done by using JOOQ…
rafalimaz
  • 70
  • 10
0
votes
1 answer

Allow Simpleflatmapper to ignore constructor and use only setters

The following mapper configuration works fine (MyPojo has no other constructor) class MyPojo { private Long id; private String name; // No constructor } DynamicJdbcMapper mapper =…
Keerthi
  • 466
  • 6
  • 12