Questions tagged [ibator]
8 questions
4
votes
2 answers
Why am I receiving a SqlMapException when inserting data?
I'm trying to use iBatis to insert some data that get sent by a user in a contact us form.
I'm using a Liferay/Spring MVC/iBatis/MySQL setup but I think the problem is caused by the iBatis configuration. Whenever I try to insert data I see an…

James Goodwin
- 7,360
- 5
- 29
- 41
2
votes
1 answer
Read-only column mapped using MyBatis Generator
Firebird database supports read-only columns. Columns that have their values computed, not updated. If I map some table with read-only columns using MyBatis Generator I receive the following error while inserting into or updating the table:…

Italo Borssatto
- 15,044
- 7
- 62
- 88
0
votes
5 answers
Ibatis / Ibator - How to properly write a "complex" WHERE clause using Example classes and Criteria?
I want to perform a SELECT with several conditions, using Ibator's generated Example classes.
As described here in the usage notes, it's fairly easy to use criteria.andFieldIsSomething() and example.or(example) to compose a WHERE clause with…

Silver Quettier
- 2,045
- 2
- 26
- 53
0
votes
1 answer
javax.xml.bind.UnmarshalException ibator
I have no Idea what i am doing wrong
@Path("/orderService")
public class PlaceOrder {
@POST
@Path("/placeOrder")
@Consumes({ MediaType.APPLICATION_JSON })
public void placeOrder(PlaceOrderRequest placeOrderRequest,@Context…

Abhijeet
- 87
- 9
0
votes
1 answer
SqlMapClient operation; bad SQL grammar : Table not found
I am using Ibator to generate Ibatis stuffs so all the artifacts are auto generated. I am trying to do a simple insert which is giving exception "table not found" though table is existing" and I can query it from console.
Here is the error…

Rahul Kulshreshtha
- 1
- 1
- 4
0
votes
1 answer
iBatis insert statement throwing NPE
I am new to iBatis. In my project we are using iBatis to persist the java objects in Oracle DB. I have a class, ClassA, which is having 3 columns : id, name and description. The data is going to be persisted in TableA. There is a sequence in DB to…

user184794
- 1,036
- 9
- 15
0
votes
1 answer
how can we pass more than parameter with IN clause in iBatis
I know that we can pass list/string array in clause statement, like the below code
from here
Please advise me how can we pass more than parameter with IN clause in iBatis.

unknown
- 643
- 4
- 15
- 38
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