ibatis
iBatis, spring, how to log the sql that is executed?
I am using iBatis with spring framework. I want to log the sql that iBatis executes when I say something like[详细]
2023-01-23 00:05 分类:问答Ibatis+Oracle: How to update a float value
I\'m trying to update a float value in oracle database, but the saved value is only the integer part of the 开发者_运维百科float value.[详细]
2023-01-21 06:28 分类:问答Help with SQL syntax
I am not very good with sqls and I am trying to understand an sql statement which I haven\'t seen before. We\'re using Oracle and the IBatis framework so this might be specific to one of those. I am n[详细]
2023-01-21 02:21 分类:问答ibatis: improve insert performance
I am using ibatis for my sql insert stmt. In my code I am parsing files line by line from a folder. Each line that matches criteria, need to be inserted into database.[详细]
2023-01-20 23:47 分类:问答Preventing SQL Injection In Ibatis
Is there anything built into Ibatis that helps prevent SQL Injection attacks? I\'m not looking for a list of ways outside of Ibatis to do this, and am just wondering 开发者_开发百科if Ibatis has anyth[详细]
2023-01-19 18:07 分类:问答Elegant way to implement a criteria-based search page in Hibernate
Using Hibernate how would you design and implement a search criteria page (which has multiple editable/selectable fields/drop-downs as search criteria) such that queries shouldn\'t clutter data access[详细]
2023-01-19 02:29 分类:问答How to add multiple named parameters to the SQL statement?
I would like to write something like this in myBatis (using anotations instead of XML): @Insert(\"INSERT INTO friendships (user_id, friend_id) VALUES (#{user.id}, {friend.id})\")[详细]
2023-01-17 13:15 分类:问答Truncating strings
I\'m working with third party user data that may or may not fit into our database. The data needs to be truncated if it is too long.[详细]
2023-01-14 23:38 分类:问答When does the cachemodel in ibatis re-query the database to get updated records?
I\'m using ibatis and its cache model开发者_StackOverflow中文版 for the first time and i cant seem to figure out at what time will the cache be filled with new results, meaning whne will the query tha[详细]
2023-01-14 18:50 分类:问答Iterate List<Map> in Ibatis
How to Iterate List in Ibatis. query is: delete from table where (column1=\'tes10\' and column2=\'NET1\' and column3=\'ENG1\')OR[详细]
2023-01-14 07:28 分类:问答