mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Bump to 13.0.0 and Java 11
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
|
||||
<parent>
|
||||
<groupId>org.avaje</groupId>
|
||||
<artifactId>java8-oss</artifactId>
|
||||
<version>3.2</version>
|
||||
<artifactId>java11-oss</artifactId>
|
||||
<version>3.6</version>
|
||||
</parent>
|
||||
|
||||
<groupId>io.ebean</groupId>
|
||||
<artifactId>ebean-spring-txn</artifactId>
|
||||
<version>12.12.0</version>
|
||||
<version>13.0.0</version>
|
||||
|
||||
<name>ebean-spring-txn</name>
|
||||
<packaging>jar</packaging>
|
||||
@@ -19,6 +19,7 @@
|
||||
<properties>
|
||||
<spring.framework.version>4.3.4.RELEASE</spring.framework.version>
|
||||
<spring.boot.version>1.4.2.RELEASE</spring.boot.version>
|
||||
<surefire.useModulePath>false</surefire.useModulePath>
|
||||
</properties>
|
||||
|
||||
<url>http://ebean-orm.github.io/</url>
|
||||
@@ -39,14 +40,14 @@
|
||||
<dependency>
|
||||
<groupId>io.ebean</groupId>
|
||||
<artifactId>ebean</artifactId>
|
||||
<version>12.12.0</version>
|
||||
<version>13.0.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.ebean</groupId>
|
||||
<artifactId>ebean-ddl-generator</artifactId>
|
||||
<version>12.12.0</version>
|
||||
<version>13.0.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
@@ -109,14 +110,14 @@
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<version>1.4.199</version>
|
||||
<version>2.1.210</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>1.2.3</version>
|
||||
<version>1.2.11</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
@@ -138,7 +139,7 @@
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<tiles>
|
||||
<tile>io.ebean.tile:enhancement:12.12.0</tile>
|
||||
<tile>io.ebean.tile:enhancement:13.0.0</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
module io.ebean.spring.txn {
|
||||
|
||||
exports io.ebean.spring.txn;
|
||||
|
||||
requires io.ebean.api;
|
||||
requires io.ebean.core;
|
||||
requires spring.jdbc;
|
||||
requires spring.tx;
|
||||
}
|
||||
@@ -3,7 +3,9 @@ package org.example;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Table(name="o_account")
|
||||
@Entity
|
||||
public class Account {
|
||||
|
||||
|
||||
@@ -4,7 +4,9 @@ import java.util.Set;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.ManyToMany;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Table(name="o_role")
|
||||
@Entity
|
||||
public class Role {
|
||||
|
||||
|
||||
@@ -2,12 +2,10 @@ package org.example;
|
||||
|
||||
import io.ebean.Model;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.ManyToMany;
|
||||
import javax.persistence.OneToOne;
|
||||
import javax.persistence.*;
|
||||
import java.util.Set;
|
||||
|
||||
@Table(name="o_user")
|
||||
@Entity
|
||||
public class User extends Model {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user