Questions tagged [ibatis]

iBatis is an object-relational mapping framework for Java. It uses XML descriptors to bridge SQL queries and Java objects. An official port was created for the Microsoft .NET framework.

Apache retired iBatis in June 2010 and it is now developed under the 'MyBatis' name.

Useful links

1073 questions
0
votes
5 answers

iBatis - Why is sqlMapConfig.xml unable to find the sql maps defined in it?

I have a sqlMapConfig.xml that has three SQLMaps defined in it.
Savani Tatake
  • 21
  • 1
  • 4
0
votes
1 answer

Issue with "iBatis", error setting null parameter

I've got this: public interface PermessiMapper { final String SELECT_PERMESSI = "SELECT PR.CODICE as CODICE, PR.DESCRIZIONE as DESCRIZIONE FROM PERMISSION PR INNER JOIN USER_PERMISSION UP ON PR.CODICE=UP.PERMESSO INNER JOIN USERS US ON…
Daniele
  • 71
  • 1
  • 2
  • 5
-1
votes
1 answer

Mybatis property mapper error for List of objects in pojo class : spring Boot/mybatis

Please help : Issue description in below image URL, Issue description in below image URL, even setting property to cost/margin/retail or currentday also not working in mapper interface, Let me know, if i need to follow anything else? [1]:…
-1
votes
1 answer

How to connect iBatis(myBatis) framework to IBM AS/400 (iSeries)

Is it possible to use myBatis for query on as/400 database? if so, can you give me a step by step procedure to achieve that. Thank in advance for your help.
Laba Refo
  • 3
  • 1
-1
votes
1 answer

Write mysql queries with bit wise operators in mybatis mapper xml

How do we write sql queries which has bit wise operators in mybatis mapper xml. I have a query which has bitwise operator AND (&) in the where clause. WHERE id=1000 AND NOT status&4 AND NOT status&16 ; //This is the where clause of the query. id…
-1
votes
1 answer

Mapping a single row with a BLOB column using iBatis is very slow

Please help me crack this issue, basically a single row is being retrieved from a Oracle db that contains a BLOB column (size of the BLOB is about 350k) and map to a Java object using iBatis 2.5 but the mapping part (result is mapped to a resultmap)…
-1
votes
1 answer

How to return Two separate lists of different column from Resultset in MyBatis

Actually I am new in My batis and wanted to help me out in bellow scenario I wanted to return Object Which has two list as a member, from Result of select Query in Mybatis. for example my object Class public class ABC{ List Boys; List…
SandeepT
  • 81
  • 1
  • 4
-1
votes
1 answer

Caused by java.lang.NoSuchMethodError: org.postgresql.core.BaseConnection.getEncoding()Lorg/postgresql/core/Encoding;

I'm with a problem, my project uses postgreslq-jdbc jar and postgis-jdbc jar. I put it on my maven pom, and now I can't connect to database. I updated the postgreslq-jdbc.jar version to 9.4 the same as my Postgre. Any suggestion? Exception in thread…
-1
votes
1 answer

API Key with OAuth for REST API Security in JAVA

Requirement is to securing the REST APIs. How can I achieve API Key model with OAuth structure? Server is implemented on Java Spring and iBatis framework with MySQL database. I read many links that they provide their own OAuth. But I want to…
Rushabh Patel
  • 3,052
  • 4
  • 26
  • 58
-1
votes
1 answer

MyBatis to XML or CSV

Background We have a list of tables in a database, we want to read them through select statements, then turn the result into csv files Problem I could use mybatis to load data from tableA then map it to a resultMap A, then using openCSV to save it…
user5324782
  • 177
  • 1
  • 1
  • 14
-1
votes
1 answer

Extracting Oracle native connection (oracle.jdbc.OracleConnection) from java.sql.Connection in Ibatis 2.3 with JDK 5

I need to create a oracle.xdb.XMLType from org.w3c.dom.Document. To create XMLType a native JDBC connection is required. I'm able to get java.sql.Connection but not able to Extact native connection(oracle.jdbc.OracleConnection). Any help is…
Ravindra S
  • 49
  • 6
-1
votes
1 answer

ibatis sqlmapclient loading issue

i'm loading sqlmapclient in spring_config.xml like below
syril
  • 271
  • 1
  • 5
  • 17
-1
votes
1 answer

Usage of iBatis in the program

Hello folks, I want to learn iBatis.I tried running a sample code on internet.But I am getting many exceptions like ClassNOTFoundException,IOException.Please guide me about it.I want to know many things like where should I place my XML…
-1
votes
2 answers

Ibatis insert operation

Hi I am trying to insert a list of object through ibatis but i am getting an exception like org.apache.ibatis.mapping.SqlMapperException: The expression 'boxlist' evaluated to a null value.
Parekh Shah
  • 69
  • 2
  • 5
  • 9
-2
votes
1 answer

Oracle Stored function Vs Join in queries

I want to retrieve data from two tables. The two tables are related with a foreign key reference. I've the following two ways to do this. But don't know which one is the better way. A stored function call from the query Using a join clause Which…
ARK
  • 35
  • 8
1 2 3
71
72