Issues with Ibatis Configuration File

2009-12-09 Thread Soks86
Hi, I have created the following configuration file for my Ibatis SqlSessionFactoryBuilder. http://ibatis.apache.org/dtd/ibatis-3-config.dtd";>

Re: Issues with Ibatis Configuration File

2009-12-10 Thread Soks86
anks again, Michael Guy Rouillier-2 wrote: > > Soks86 wrote: >> Hi, >> >> I have created the following configuration file for my Ibatis >> SqlSessionFactoryBuilder. >> >> >> > PUBLIC "-//ibatis.apache.org//DTD Conf

How to create tables for unit tests

2009-12-10 Thread Soks86
Hi, I'm switching my project over from Hibernate to iBATIS and have run into an issue with writing my unit tests. Although it is possible for me to create my DB/Tables and then keep it in my test/resources for all my unit tests I was wondering if there is any support in iBATIS to help users cr

Issue with Interface Mapper that Extends an Interface itself

2009-12-10 Thread Soks86
Hi, I've been switching my project over to iBATIS from a pretty complete Hibernate project. I've run into an issue with how the iBATIS configuration seems to look up mapped methods. I have an interface dao as such: public interface Dao { void delete(T arg); void save(T arg); void u

Re: Issue with Interface Mapper that Extends an Interface itself

2009-12-10 Thread Soks86
. Clinton Begin wrote: > > Interface inheritance is not yet supported. There's a Jira ticket with a > patch submitted, here: > > http://issues.apache.org/jira/browse/IBATIS-655 > > Clinton > > On Thu, Dec 10, 2009 at 11:23 AM, Soks86 > wrote: > >> >>

Re: Issue with Interface Mapper that Extends an Interface itself

2009-12-11 Thread Soks86
ch and let us know if it works for you, that gives me a lot more > confidence. > > Cheers, > Clinton > > On Thu, Dec 10, 2009 at 1:50 PM, Soks86 > wrote: > >> >> Is there anything I could do to help the patch along? Would trying the >> patch >>

Re: Issue with Interface Mapper that Extends an Interface itself

2009-12-11 Thread Soks86
type1.save() instead of type2.save(). Is this expected behavior? Thanks. Soks86 wrote: > > I was going over the patch and it looks like it's out of date already, > that is it's not compatible with Beta-6. Also, I'm not sure the > implementation is as clean as it could

Null Pointer Exception on Malformed

2009-12-14 Thread Soks86
Hi, I was using in an (within a ) statement and I got the following NPE: Caused by: java.lang.NullPointerException at java.util.regex.Pattern.(Pattern.java:1132) at java.util.regex.Pattern.compile(Pattern.java:823) at java.lang.String.replaceFirst(String.java:2146)

Re: Issue with Interface Mapper that Extends an Interface itself

2009-12-30 Thread Soks86
ively, aside from writing a bit more code. Hope that helps, Simone Tripodi wrote: > > Hy guys, > any news about this issue? I just met the case when a mapper needs to > extend an existing one, but mapper methods are not found :( > Thanks in advance!!! > Simone Tripodi &g