Git Product home page Git Product logo

ibatis-2's People

Contributors

cbegin avatar dependabot[bot] avatar emacarron avatar harawata avatar hazendaz avatar hboutemy avatar jhart98169 avatar kazuki43zoo avatar nmaves avatar pioto avatar renovate[bot] avatar simonetripodi avatar yusiwen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ibatis-2's Issues

SqlMapClasspathEntityResolver uses Locale dependent Operations

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.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.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
maven
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
maven-wrapper
.mvn/wrapper/maven-wrapper.properties
  • maven 3.9.6
  • maven-wrapper 3.3.1

  • Check this box to trigger a request for Renovate to run again on this repository

ComplexBeanProbe Bug

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' "

Illegal reflective access by com.ibatis.common.beans.ClassInfo

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.

Due to jacoco changes, add opens to java.lang for java 17+

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

Where is ibatis-2 documents?

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

Lost version (ibatis-common-2 2.0.9B)

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?

iBatis Cachemodel for custom type handler

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.

XML file looks like this:
image

BasicResultMap Bug

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.