{"repo":"jerolba/jfleet","free":true,"listed":false,"github":"https://github.com/jerolba/jfleet","clone":"git clone https://github.com/jerolba/jfleet.git","description":"JFleet persist to database large collections of Java POJOs using alternate persistence methods from JDBC","language":"Java","stars":50,"topics":["mysql","postgresql","load-data","batching","performance"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"JFleet JFleet is a Java library which persist in database large collections of Java POJOs as fast as possible, using the best available technique in each database provider, achieving it with alternate persistence methods from each JDBC driver implementation. Its goal is to store a large amount of information in a single table using available batch persistence techniques. despite being able to use JPA annotations to map Java objects to tables and columns, JFleet is not an ORM . Table of Contents - Supported databases - Benchmark - Usage - Dependency - Supported database versions - Running the tests - Contribute - License Supported databases Each database provides some technique to insert a bulk of information bypassing standard JDBC commands, but accessible from Java: - MySQL : Using the LOAD DATA statement. - PostgreSQL : Using the COPY command. In both cases, and in unsupported databases, you can use the default implementation based on the standard JDBC executeBatch statement. Benchmark JFleet performance is comparable to using the native database import tool, and is between 2.1X and 3.8X faster than using the JDBC driver directly. You can find all the benchmarks numbers and results here Usage JFleet needs to know how to map your Java objects or entities to a table. JFleet provides two mechanisms to map your objects to a table: - Using standard JPA annotations like @Entity, @Column or @ManyToOne. - Mapping manually each column to one object field or with a Function Using sta","default_branch":null,"files":null,"tree":[],"storefront":"/r/jerolba","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jerolba/jfleet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}