commit
e92e75f371
3
pom.xml
3
pom.xml
@ -169,6 +169,9 @@
|
||||
<properties>
|
||||
<skipITs>false</skipITs>
|
||||
<quarkus.package.type>native</quarkus.package.type>
|
||||
<quarkus.native.additional-build-args>
|
||||
-H:+UnlockExperimentalVMOptions
|
||||
</quarkus.native.additional-build-args>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
@ -34,7 +34,8 @@ public class MembreService {
|
||||
|
||||
public SimpleCombModel find(int licence, String np) throws Throwable {
|
||||
return VertxContextSupport.subscribeAndAwait(() -> Panache.withTransaction(() ->
|
||||
repository.find("licence = ?1 AND (lname = ?2 OR fname = ?2)", licence, np).firstResult().map(SimpleCombModel::fromModel)));
|
||||
repository.find("licence = ?1 AND (lname collate UTF8_GENERAL_CI LIKE ?2 OR fname collate UTF8_GENERAL_CI LIKE ?2)",
|
||||
licence, np).firstResult().map(SimpleCombModel::fromModel)));
|
||||
}
|
||||
|
||||
public SimpleCombModel findByIdOptionalComb(long id) throws Throwable {
|
||||
|
||||
@ -1,5 +1,8 @@
|
||||
package fr.titionfire.ffsaf.net2;
|
||||
|
||||
import io.quarkus.runtime.annotations.RegisterForReflection;
|
||||
|
||||
@RegisterForReflection
|
||||
public enum MessageType {
|
||||
REQUEST, REPLY, ERROR, NOTIFY
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user