The build is using Maven.
git clone https://github.com/arnaudroger/SimpleFlatMapper.git
cd SimpleFlatMapper
mvn install
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
Home Page: http://simpleflatmapper.org
License: MIT License
The build is using Maven.
git clone https://github.com/arnaudroger/SimpleFlatMapper.git
cd SimpleFlatMapper
mvn install
I want to be able to specify some mapping for columns that will take precedence if column is in the query. That should also allow to be non mapped specific to manage constants.
MyObject {
private int id;
private MySubObject object;
}
MySubject {
String value;
}
table { id, object_value }
if MyObject contains a objectValue field that should take precedence.
need to have a smarter property name handling to handle prefix, suffix and have better information.
I want to be able to specify the row range in the file.
also need to be able to specify which column on which index.
look at adding https://cayenne.apache.org/ to benchmark
The jOOQ benchmarks show that plain SQL is being used:
DSLContext dsl = DSL
.using(new DefaultConfiguration()
.set(dataSource)
.set(new SfmRecordMapperProvider()));
...
List<DbObject> list = dsl.select()
.from("TEST_DB_OBJECT").fetchInto(DbObject.class);
// "plain SQL" here ^^^^^^^^^^^^^^^^
There is actually a known issue (jOOQ/jOOQ#3225) that appears only when the projected columns are unknown, as in your example.
Most jOOQ users, however, use the jOOQ code generator, in case of which the benchmark would probably run much faster:
import static com.example.jooq.generated.Tables.TEST_DB_OBJECT;
List<TestDbObjectRecord> list = dsl.select()
.from(TEST_DB_OBJECT);
Would be interesting to see a comparison. Nonetheless, we should fix the mentioned issue, of course.
Tuple2, 3, 4, 5.
support array style definition
need to support index discovery
MyObject
SubObject prop
SubObject(String value);
select "value" prop
should match against SubObject constructor with no need for column matching
missing automapping from header
MyObject {
List values;
}
table ( VALUE_1, VALUE_2, VALUE_3)
The builder would need a bit clean to use the same logic between csv and result set.
When throwing a number of threads it is possible to get the asm to try to define a setter multiple times
I should be able to deploy the jar as a bundle and use it from another bundle with mapped class in another bundle.
Batoo uses a version of cglib that
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.