Skip to content

wisdom-framework/wisdom-ebean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wisdom-ebean

Plugin Uses

Add dependency to wisdom-ebean-maven-plugin in your Entities bundle container like :

<plugin>
    <groupId>org.wisdom-framework</groupId>
    <artifactId>wisdom-ebean-maven-plugin</artifactId>
    <version>0.6-SNAPSHOT</version>
    <executions>
        <execution>
            <goals>
                <goal>ebean-enhance</goal>
            </goals>
            <configuration>
                <packages>your.models.packages</packages>
            </configuration>
        </execution>
    </executions>
</plugin>
  • packages : is the package containing your entities/models

Then you have just to add annotations to your entities classes :

  • @Entity
  • @Table(name="table_name") and it will be recognized by plugin.

Don't forget that classes will implements java.io.Serializable

Runtime Uses

Add dependency to wisdom-ebean in your CRUD bundle container like :

<dependency>
    <groupId>org.wisdom-framework</groupId>
    <artifactId>wisdom-ebean-runtime</artifactId>
    <version>0.6-SNAPSHOT</version>
</dependency>

and you can use CRUD to retrieve Entities

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages