JPAstreamer-logo

Quick Start Installation

Maven


pom.xml

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

<dependencies>

    <dependency>
        <groupId>com.speedment.jpastreamer</groupId>
        <artifactId>jpastreamer-core</artifactId>

        <version>0.1.8</version>
    </dependency>

</dependencies>

<plugins>
    <plugin> 
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>3.2.0</version>
        <executions>
            <execution>   
                <phase>generate-sources</phase>
                <goals>
                    <goal>add-source</goal>
                </goals>
                <configuration>
                    <sources>
                        <source>target/generated-sources/annotations</source>
                    </sources>
                </configuration>
            </execution>
        </executions>
    </plugin>
</plugins>

Gradle


build.gradle

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

repositories {

    mavenCentral()

}


dependencies {

    compile 'com.speedment.jpastreamer:jpastreamer-core:0.1.8'

    annotationProcessor 'com.speedment.jpastreamer:fieldgenerator-standard:0.1.8'

}


sourceSets { 
    main {
        java {
            srcDir 'src/main/java'
            srcDir 'target/generated-sources/annotations'
        }
    }
}

Continue with the Getting Started with JPA Streamer guide for further instructions. 

Requirements

  • Java 8 or later
  • Project must conform to standard JPA (representing tables as Entities etc.) 

JPAstreamer is an open source Java library powered by Speedment technologies. Speedment is based in Palo Alto and is specialized on Java Streams and low-latency data processing. 

JPAstreamer Announcements

Copyright © 2020 Speedment, Inc. All rights reserved.