mybatis / ibatis-2 Goto Github PK
View Code? Open in Web Editor NEWiBATIS 2.x
License: Apache License 2.0
iBATIS 2.x
License: Apache License 2.0
The class in question uses toUpperCase()
instead of toUpperCase(Locale.ROOT)
So the code fails given following setup:
The static map gets initialized using a english locale.
The user switches to the turkish locale and starts to resolve his documents.
I looked at the code and it seems like this is already fixed in mybatis 3.
I would suggest to simply migrate this class to use toUpperCase(Locale.ROOT)
, thats easy, should fix this and i cannot see it breaking anything.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/ci.yaml
actions/checkout v4
actions/setup-java v4
.github/workflows/codeql.yml
actions/checkout v4
github/codeql-action v3
github/codeql-action v3
github/codeql-action v3
.github/workflows/coveralls.yaml
actions/checkout v4
actions/setup-java v4
.github/workflows/site.yaml
actions/checkout v4
actions/setup-java v4
JamesIves/github-pages-deploy-action v4.6.1
.github/workflows/sonar.yaml
actions/checkout v4
actions/setup-java v4
.github/workflows/sonatype.yaml
actions/checkout v4
actions/setup-java v4
pom.xml
org.mybatis:mybatis-parent 43
org.slf4j:slf4j-api 2.0.13
org.slf4j:slf4j-simple 2.0.13
org.slf4j:jcl-over-slf4j 2.0.13
ch.qos.reload4j:reload4j 1.2.25
cglib:cglib 3.3.0
org.apache.commons:commons-dbcp2 2.12.0
jakarta.transaction:jakarta.transaction-api 1.3.3
org.junit.jupiter:junit-jupiter-engine 5.10.2
org.hsqldb:hsqldb 2.7.2
org.apache.derby:derby 10.17.1.0
org.apache.derby:derbyshared 10.17.1.0
org.apache.derby:derbyoptionaltools 10.17.1.0
.mvn/wrapper/maven-wrapper.properties
maven 3.9.6
maven-wrapper 3.3.1
In The getPropertyTypeForGetter Method , as follow code
type = ClassInfo.getInstance(type).getSetterType(name);
not Get actual type of Generic ,but direct return Object Type.
lead to a exception " com.ibatis.common.beans.ProbeException: There is no READABLE property named 'xxx' in class 'java.lang.Object' "
Java 11 using --illegal-access=debug
VM parameter
WARNING: Illegal reflective access by com.ibatis.common.beans.ClassInfo to method java.lang.Object.finalize()
at com.ibatis.common.beans.ClassInfo.addUniqueMethods(ClassInfo.java:288)
at com.ibatis.common.beans.ClassInfo.getClassMethods(ClassInfo.java:261)
at com.ibatis.common.beans.ClassInfo.addGetMethods(ClassInfo.java:124)
at com.ibatis.common.beans.ClassInfo.(ClassInfo.java:97)
at com.ibatis.common.beans.ClassInfo.getInstance(ClassInfo.java:532)
at com.ibatis.common.resources.Resources.instantiate(Resources.java:340)
at com.ibatis.common.resources.Resources.instantiate(Resources.java:324)
at com.ibatis.common.jdbc.SimpleDataSource.initialize(SimpleDataSource.java:177)
at com.ibatis.common.jdbc.SimpleDataSource.(SimpleDataSource.java:107)
...
Warnings can be suppressed, and illegal reflective access can be permitted with command line parameters, but the warnings indicate this type of reflective access will eventually be completely eliminated.
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @5fa07e12
jdbcDriverName doesn't start with Microsoft SQL Server. https://github.com/microsoft/mssql-jdbc/blob/master/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerDriver.java#L445
Created a PR to address this issue -> #65
For some reasons, I need to do some job for a old project.
I want to look dynamic sql documents from the website, but I failed.
where is it
I'm looking for the ibatis-common-2 jar version from 2005/02/20 but it is not available in any maven repository. Can you provide it to me directly?
I am trying to use cache model to cache the results returned from a procedure. But every time I hit the DB, It stores 'SERIALIZABLE NULL OBJECT' and the second time I hit the DB, it says cache miss and stores 'SERIALIZABLE NULL OBJECT'. I am using iBatis 2 and calling a procedure.
it seems that spring 4.x doesn't support ibatis anymore
In BasicResultMap, the ResultMapping will be set to a ThreadLocal variable named remappableResultMappings when allowRemapping is true, but the DataExchange not. There is an ArrayIndexOutOfBoundsException when multi-thread call the statement with dynamic select part.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.