Re: Problem in resultMap:Cause: java.sql.SQLException: Invalid state, the ResultSet object is closed

2008-04-14 Thread nepalon
I am sure my DB is configured to allow more than one ResultSet open.As you see in the above code, the code CategoryModel model = categoryDao.getCategoryById(273) I code can work well.The code will load the category object the id is 273 and its parent category object whick the id is 270.In this cod

Re: Can I set cache refresh interval to minutes?

2008-04-14 Thread liny
Larry Meadors wrote: > > > > Larry > > > On Mon, Apr 14, 2008 at 10:06 PM, liny <[EMAIL PROTECTED]> wrote: >> >> Hi~ >> >> I want to set cache refresh interval in minutes. >> Default is hour. >> How can I do? >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/C

Re: Can I set cache refresh interval to minutes?

2008-04-14 Thread Larry Meadors
Larry On Mon, Apr 14, 2008 at 10:06 PM, liny <[EMAIL PROTECTED]> wrote: > > Hi~ > > I want to set cache refresh interval in minutes. > Default is hour. > How can I do? > Thanks > -- > View this message in context: > http://www.nabble.com/Can-I-set-cache-refresh-interval-to-minutes--tp16

Can I set cache refresh interval to minutes?

2008-04-14 Thread liny
Hi~ I want to set cache refresh interval in minutes. Default is hour. How can I do? Thanks -- View this message in context: http://www.nabble.com/Can-I-set-cache-refresh-interval-to-minutes--tp16694655p16694655.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

[ANNOUNCE] Abator renamed to iBATOR

2008-04-14 Thread Jeff Butler
Due to a trade registration dispute, we are renaming Apache iBATIS Abator to Apache iBATIS iBATOR. The new version is still under development - although the core work is almost complete. I have committed an initial version to SVN so you can take a look at what's going on. There will be no furthe

Re: Reading xml file

2008-04-14 Thread Brandon Goodin
Based on what you are asking I'm assuming you are quite new to programming. What database are you using? Have you researched if it has any facilities for handling XML? (i.e. Oracle) iBATIS works with objects. So, it may be wise to parse the XML into Java POJOs and then save those object into the

Re: [ABATOR]: Question and feedback

2008-04-14 Thread Jeff Butler
1. Abator can be extended in a number of ways. The basic idea is to provide your own implementation of one of the key interfaces (JavaModelGenerator, SqlMapGenerator, etc.). You can either subclass one of the existing implementations, or write your own. There is a page in the documentation that

Reading xml file

2008-04-14 Thread kiran vuppla
I have an xml file and want to store in to an IBatis object. Please let me know if any one has any solution to write the SQL. XML FILE: /images/test1.gif testImageAltText /urls/link1.html link1 /urls/link2.html link2 /images/test2.gif

Re: IBatis+teradata

2008-04-14 Thread Brandon Goodin
iBATIS uses straight jdbc underneath. If the field in your database is a varchar and the bean property is a Date object it will be up to the jdbc driver to perform the conversion. You can make sure that iBATIS is using the proper PreparedStatement calls if you explicitly specify the type of the be

IBatis+teradata

2008-04-14 Thread Radoslaw Zmuda
Hi All, The scenario of my problem is as follows: - I've tried to prevent my app against SQL injection, so I changed a '$' signs into '#' signs in xml files where value of parameters are added - the problem was solved but there appears another one: problem with Date object insertion. Previously

Re: Sybase OEM

2008-04-14 Thread Alex Perez
Thanks Jeff, I've extended from JDBCTransaction and JDBCTransactionConfig and it worked perfectly! 2008/4/12, Jeff Butler <[EMAIL PROTECTED]>: > > I have that *not quite* right - you need to also override the > TransactionConfig and specify *that* class in the SqlMapConfig.xml file. > > Jeff But