File tree Expand file tree Collapse file tree
main/java/io/ebeaninternal/server/autotune/service
test/java/org/tests/model/basic
src/test/java/org/example
ebean-externalmapping-api
ebean-externalmapping-xml
src/test/java/org/tests/model/basic Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <parent >
55 <artifactId >ebean-components-parent</artifactId >
66 <groupId >io.ebean</groupId >
7- <version >13.25 .0</version >
7+ <version >14.0 .0</version >
88 </parent >
99
10-
1110 <name >ebean autotune</name >
1211 <description >ebean automatic query tuning module</description >
1312 <artifactId >ebean-autotune</artifactId >
1716 <dependency >
1817 <groupId >io.ebean</groupId >
1918 <artifactId >ebean-core</artifactId >
20- <version >13.25 .0</version >
19+ <version >14.0 .0</version >
2120 <scope >provided</scope >
2221 </dependency >
2322
5352 <dependency >
5453 <groupId >io.ebean</groupId >
5554 <artifactId >ebean-ddl-generator</artifactId >
56- <version >13.25 .0</version >
55+ <version >14.0 .0</version >
5756 <scope >test</scope >
5857 </dependency >
5958
6059 <dependency >
6160 <groupId >io.avaje</groupId >
6261 <artifactId >junit</artifactId >
63- <version >1.1 </version >
62+ <version >1.4 </version >
6463 <scope >test</scope >
6564 </dependency >
6665
6766 <dependency >
6867 <groupId >io.ebean</groupId >
6968 <artifactId >ebean-platform-h2</artifactId >
70- <version >13.25 .0</version >
69+ <version >14.0 .0</version >
7170 <scope >test</scope >
7271 </dependency >
7372
8281 <extensions >true</extensions >
8382 <configuration >
8483 <tiles >
85- <tile >io.ebean.tile:enhancement:13.25 .0</tile >
84+ <tile >io.ebean.tile:enhancement:14.0 .0</tile >
8685 </tiles >
8786 </configuration >
8887 </plugin >
Original file line number Diff line number Diff line change 1010import io .ebeaninternal .server .autotune .model .Origin ;
1111import io .ebeaninternal .server .querydefn .OrmQueryDetail ;
1212
13- import javax .persistence .PersistenceException ;
1413import java .util .Collection ;
1514import java .util .Map ;
1615import java .util .Set ;
@@ -190,7 +189,7 @@ private boolean useTuning(SpiQuery<?> query) {
190189 return query .isDetailEmpty ();
191190
192191 default :
193- throw new PersistenceException ("Invalid AutoTuneMode " + mode );
192+ throw new IllegalArgumentException ("Invalid AutoTuneMode " + mode );
194193 }
195194 }
196195 }
Original file line number Diff line number Diff line change 11package org .tests .model .basic ;
22
3- import javax .persistence .Entity ;
4- import javax .persistence .Table ;
3+ import jakarta .persistence .Entity ;
4+ import jakarta .persistence .Table ;
55
66@ Entity
77@ Table (name = "o_address" )
Original file line number Diff line number Diff line change 44import io .ebean .annotation .WhenCreated ;
55import io .ebean .annotation .WhenModified ;
66
7- import javax .persistence .Id ;
8- import javax .persistence .MappedSuperclass ;
9- import javax .persistence .Version ;
7+ import jakarta .persistence .Id ;
8+ import jakarta .persistence .MappedSuperclass ;
9+ import jakarta .persistence .Version ;
1010import java .time .Instant ;
1111
1212@ MappedSuperclass
Original file line number Diff line number Diff line change 22
33import io .ebean .annotation .NotNull ;
44
5- import javax .persistence .CascadeType ;
6- import javax .persistence .Entity ;
7- import javax .persistence .ManyToOne ;
8- import javax .persistence .Table ;
5+ import jakarta .persistence .CascadeType ;
6+ import jakarta .persistence .Entity ;
7+ import jakarta .persistence .ManyToOne ;
8+ import jakarta .persistence .Table ;
99
1010@ Entity
1111@ Table (name = "o_customer" )
Original file line number Diff line number Diff line change 11package org .tests .model .basic ;
22
3- import javax .persistence .*;
3+ import jakarta .persistence .*;
44import java .time .LocalDate ;
55
66@ Entity
Original file line number Diff line number Diff line change 44 <parent >
55 <artifactId >ebean-components-parent</artifactId >
66 <groupId >io.ebean</groupId >
7- <version >13.25 .0</version >
7+ <version >14.0 .0</version >
88 </parent >
99
1010 <artifactId >ebean-csv-reader</artifactId >
1414 <dependency >
1515 <groupId >io.ebean</groupId >
1616 <artifactId >ebean-api</artifactId >
17- <version >13.25 .0</version >
17+ <version >14.0 .0</version >
1818 <scope >provided</scope >
1919 </dependency >
2020
2121 <dependency >
2222 <groupId >io.ebean</groupId >
2323 <artifactId >ebean-core</artifactId >
24- <version >13.25 .0</version >
24+ <version >14.0 .0</version >
2525 <scope >provided</scope >
2626 </dependency >
2727
2828 <dependency >
2929 <groupId >io.ebean</groupId >
3030 <artifactId >ebean-test</artifactId >
31- <version >13.25 .0</version >
31+ <version >14.0 .0</version >
3232 <scope >test</scope >
3333 </dependency >
3434
3535 <dependency >
3636 <groupId >io.avaje</groupId >
3737 <artifactId >junit</artifactId >
38- <version >1.1 </version >
38+ <version >1.4 </version >
3939 <scope >test</scope >
4040 </dependency >
4141
5252 <extensions >true</extensions >
5353 <configuration >
5454 <tiles >
55- <tile >io.ebean.tile:enhancement:13.17.1 </tile >
55+ <tile >io.ebean.tile:enhancement:14.0.0 </tile >
5656 </tiles >
5757 </configuration >
5858 </plugin >
Original file line number Diff line number Diff line change 22
33import io .ebean .annotation .WhenCreated ;
44
5- import javax .persistence .Id ;
6- import javax .persistence .MappedSuperclass ;
7- import javax .persistence .Version ;
5+ import jakarta .persistence .Id ;
6+ import jakarta .persistence .MappedSuperclass ;
7+ import jakarta .persistence .Version ;
88import java .time .Instant ;
99
1010@ MappedSuperclass
Original file line number Diff line number Diff line change 11package org .example ;
22
3- import javax .persistence .Entity ;
4- import javax .persistence .Id ;
3+ import jakarta .persistence .Entity ;
4+ import jakarta .persistence .Id ;
55
66@ Entity
77public class Country {
Original file line number Diff line number Diff line change 11package org .example ;
22
3- import javax .persistence .*;
3+ import jakarta .persistence .*;
44import java .time .LocalDate ;
55
6- import static javax .persistence .CascadeType .PERSIST ;
6+ import static jakarta .persistence .CascadeType .PERSIST ;
77
88@ Entity
99public class Customer extends BaseEntity {
You can’t perform that action at this time.
0 commit comments