Skip to content

lorislab/lorislab-sql-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lorislab-sql-data

License Maven Central GitHub Releases

A small set of annotations and utilities for mapping Java types to SQL structures and generating mapping/metamodel code.

Modules

  • data - runtime annotations and small utilities (contains annotation classes such as @Entity, @Table, @Column, @Mapper, etc.).
  • codegen - annotation processor / code generator that creates metamodels and mapper classes at compile time.

Quickstart

Add the dependency to your pom.xml (replace the version with a released version when available):

<dependency>
  <groupId>org.lorislab.lib</groupId>
  <artifactId>lorislab-sql-data</artifactId>
  <version>{VERSION}</version>
</dependency>

If you use the codegen processor, make sure annotation processing is enabled; in Maven it is automatic for maven-compiler-plugin.

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <configuration>
        <annotationProcessorPaths>
            <path>
                <groupId>org.lorislab.quarkus</groupId>
                <artifactId>quarkus-data-codegen</artifactId>
                <version>{VERSION}</version>
            </path>
        </annotationProcessorPaths>
    </configuration>
</plugin>

License

This project is licensed under the Apache License, Version 2.0. See the LICENSE for details.

Contributing

Contributions are welcome. See the repository on GitHub: https://github.com/lorislab/lorislab-sql-data

About

Lightweight SQL data utility

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages