File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
src/main/kotlin/com/baeldung/jeekotlin Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 44
44
<scope >test</scope >
45
45
</dependency >
46
46
<dependency >
47
- <groupId >javax </groupId >
48
- <artifactId >javaee -api</artifactId >
49
- <version >${javaee-api .version} </version >
47
+ <groupId >jakarta.platform </groupId >
48
+ <artifactId >jakarta.jakartaee -api</artifactId >
49
+ <version >${jakarta.platform .version} </version >
50
50
<type >jar</type >
51
51
<scope >provided</scope >
52
52
</dependency >
265
265
<wildfly .arquillian.version>2.2.0.Final</wildfly .arquillian.version>
266
266
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
267
267
<failOnMissingWebXml >false</failOnMissingWebXml >
268
- <javaee-api . version>8.0</ javaee-api .version>
268
+ <jakarta .platform. version>11.0.0-M1</ jakarta .platform .version>
269
269
270
270
<kotlin .code.style>official</kotlin .code.style>
271
271
<kotlin .compiler.incremental>true</kotlin .compiler.incremental>
Original file line number Diff line number Diff line change 1
1
package com.baeldung.jeekotlin.entity
2
2
3
- import com.fasterxml.jackson.annotation.JsonProperty
4
- import javax.persistence.*
3
+ import jakarta.persistence.*
5
4
6
5
@Entity
7
6
data class Student constructor (
Original file line number Diff line number Diff line change 1
1
package com.baeldung.jeekotlin.service
2
2
3
3
import com.baeldung.jeekotlin.entity.Student
4
- import javax .ejb.Stateless
5
- import javax .persistence.EntityManager
6
- import javax .persistence.PersistenceContext
4
+ import jakarta .ejb.Stateless
5
+ import jakarta .persistence.EntityManager
6
+ import jakarta .persistence.PersistenceContext
7
7
8
8
@Stateless
9
9
open class StudentService {
You can’t perform that action at this time.
0 commit comments