-
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3554 from ebean-orm/feature/3536-kotlin-querybean…
…-generator #3536 kotlin-querybean-generator update for filterMany() changes
- Loading branch information
Showing
10 changed files
with
232 additions
and
247 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
ebean-querybean/src/test/java/org/example/domain/MyInnerEmb.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
package org.example.domain; | ||
|
||
import jakarta.persistence.Embeddable; | ||
import jakarta.persistence.Embedded; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.Id; | ||
|
||
@Entity | ||
public class MyInnerEmb { | ||
|
||
@Embeddable | ||
public static class EmbAddr { | ||
final long streetNum; | ||
final String line1; | ||
|
||
public EmbAddr(long streetNum, String line1) { | ||
this.streetNum = streetNum; | ||
this.line1 = line1; | ||
} | ||
} | ||
|
||
@Id | ||
long id; | ||
String one; | ||
|
||
@Embedded | ||
EmbAddr address; | ||
|
||
public long id() { | ||
return id; | ||
} | ||
|
||
public MyInnerEmb id(long id) { | ||
this.id = id; | ||
return this; | ||
} | ||
|
||
public String one() { | ||
return one; | ||
} | ||
|
||
public MyInnerEmb one(String beanOne) { | ||
this.one = beanOne; | ||
return this; | ||
} | ||
|
||
public EmbAddr address() { | ||
return address; | ||
} | ||
|
||
public MyInnerEmb setAddress(EmbAddr address) { | ||
this.address = address; | ||
return this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
kotlin-querybean-generator/src/main/java/io/ebean/querybean/generator/LangAdapter.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.