Comments (7)
@362228416 I think you need to add
<quarkus.native.additional-build-args>--report-unsupported-elements-at-runtime</quarkus.native.additional-build-args>
in the native profile right now.
and yeah, I hope to remove this option in the future release.
from quarkus-mybatis.
thanks,
mybatis mapUnderscoreToCamelCase how to set ?
from quarkus-mybatis.
sorry, I'm not similar with the mybatis. Can you provide more detail about this problem ? Anyway, it should be better to create a new issue for mapUnderscoreToCamelCase.
from quarkus-mybatis.
我现在打包native成功了,但是在jvm下运行没有问题的代码,native会有问题,出现找不到构造器的问题
Caused by: org.apache.ibatis.executor.ExecutorException: No constructor found in com.xx.model.User matching [java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer, java.sql.Timestamp, java.sql.Timestamp, java.sql.Timestamp]
at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.createByConstructorSignature(DefaultResultSetHandler.java:701)
at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.createResultObject(DefaultResultSetHandler.java:657)
我的model里面添加了默认构造器,已经全部参数的构造器,也还是不行,参数类型配置都是跟异常打印出来的匹配得上,不知道什么原因
public User() {
}
public User(Integer id, String username, String nickname, String password, String mobile, Integer status, Timestamp createTime, Timestamp updateTime, Timestamp lastLoginTime) {
this.id = id;
this.username = username;
this.nickname = nickname;
this.password = password;
this.mobile = mobile;
this.status = status;
this.createTime = createTime;
this.updateTime = updateTime;
this.lastLoginTime = lastLoginTime;
}
最后,这个库是在只能运行jvm上面用的吗,还是可以打成native,native的话需要什么配置吗?
from quarkus-mybatis.
from quarkus-mybatis.
@362228416 please create a new issue and provide these information and simple reproducer would be very helpful !
from quarkus-mybatis.
Although I can read chinese, it could be better to describe it with English which could help more people with the same issue.
from quarkus-mybatis.
Related Issues (20)
- Prepare for Quarkus 3.x HOT 3
- 使用quarkus-mybatisplus多数据源找不到自定义方法 HOT 1
- Multitenancy support HOT 11
- 使用mybatis-plus meta-object-handler 问题 HOT 10
- mapper-locations logic is broken in container deployments if locations match existing package path
- MyBatis throws exceptions in native build HOT 9
- new ReflectiveClassBuildItem is deprecated
- Getting exception with xml mapper HOT 4
- Support for custom SqlInjector HOT 11
- native build application do not work. HOT 6
- Configuration [quarkus.mybatis.mapper-locations ] has not taken effect
- please support org.mybatis.dynamic-sql:mybatis-dynamic-sql:1.5.0 HOT 2
- Support multiple files in quarkus.mybatis.initial-sql HOT 2
- 请问如何动态切换数据源 HOT 1
- add configuration of the maximum sql execution time HOT 1
- using @ Transaction in @ Observes print warning log: WARN [io.agr.pool] (trans-consumer-4) Datasource '<default>': Closing open connection prior to commit HOT 1
- MEMBER OF 语法分页时报错
- mapping with xml files??
- quarkus-mybatis-plus异常
- Tests with Quarkus SNAPSHOT is failing with creating synthetic bean
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarkus-mybatis.