Raiden JPA

A really fast JPA subset implementation to be use in development enviroments

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

org.raidenjpa
ArtifactId

ArtifactId

raidenjpa
Last Version

Last Version

0.0.4
Release Date

Release Date

Type

Type

pom
Description

Description

Raiden JPA
A really fast JPA subset implementation to be use in development enviroments
Project URL

Project URL

http://github.com/andreitognolo/raidenjpa
Source Code Management

Source Code Management

https://github.com/andreitognolo/raidenjpa

Download raidenjpa

Filename Size
raidenjpa-0.0.4.pom 3 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/org.raidenjpa/raidenjpa/ -->
<dependency>
    <groupId>org.raidenjpa</groupId>
    <artifactId>raidenjpa</artifactId>
    <version>0.0.4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.raidenjpa/raidenjpa/
implementation 'org.raidenjpa:raidenjpa:0.0.4'
// https://jarcasting.com/artifacts/org.raidenjpa/raidenjpa/
implementation ("org.raidenjpa:raidenjpa:0.0.4")
'org.raidenjpa:raidenjpa:pom:0.0.4'
<dependency org="org.raidenjpa" name="raidenjpa" rev="0.0.4">
  <artifact name="raidenjpa" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.raidenjpa', module='raidenjpa', version='0.0.4')
)
libraryDependencies += "org.raidenjpa" % "raidenjpa" % "0.0.4"
[org.raidenjpa/raidenjpa "0.0.4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • raidenjpa-core

Continuous Integration status

Build Status

Raiden JPA

A really fast JPA subset implementation to be use in development environments.

STOP using mocks to improve your tests velocity, START using RaidenJPA.

"if it (test) takes ten seconds just to start testing, toss it!" by Uncle Bob - bit.ly/WbZTTU

Hibernate vs Raiden JPA

(55 sec) https://www.youtube.com/watch?v=BPrVga6dRRA

Is it ready to use?

Currently, there are already two (private) projects using it. Although it is not complete, you can try it in your project without fear, because its intention is not go to production, just help you in development environment. You can see issues in GitHub.

Do you want help to put it on your project? Send me an email: [email protected]

Getting Started

Dependency:

<dependency>
    <groupId>org.raidenjpa</groupId>
    <artifactId>raidenjpa-core</artifactId>
    <version>0.0.4</version>
</dependency>

In your code:

// As soon as possible, it will be able to use <provider> in persistence.xml
EntityManagerFactory emf = new RaidenEntityManagerFactory();

Development

@Before

You need Java 7+ and maven 3+

Compile, run tests and eclipse

$ # Compile 
$ mvn clean install

$ # Run tests
$ mvn test (run tests using Raiden)
$ mvn test -Dhibernate (run the same tests, but using Hibernate)

$ # Configure eclipse files
$ mvn eclipse:clean eclipse:eclipse

Versions

Version
0.0.4