FYI Enerjy Plugin for Eclipse

2008-05-28 Thread Gary Purnomosidi
Hi, I heard that this plugin will improve our coding http://www.enerjy.com/. It's an eclipse plugin and There's a section mentioning about ibatis coding http://www.enerjy.com/explorer/projects/ibatis.html I wonder if this will help developing ibatis framework? Regards, Gary P

Re: iBatis configuration problem

2008-05-28 Thread cuong PN
Hi Jeff Thanks a lot! It works perfectly now. I think I tried that before but previously somehow it didn't work either. I might've messed up something else while I did sqlMapConfig -> sqlMap. Just another question, because the developer guide coming along with iBatis package said in we can put

Re: iBatis configuration problem

2008-05-28 Thread Jeff Butler
You have sqlMapConfig->sqlMapConfig->sqlMap. This is not correct. Delete sqlMapCollection.xml. Reference tts_user.xml directly in sqlMapConfig.xml. Jeff Butler On Wed, May 28, 2008 at 10:57 AM, cuong PN <[EMAIL PROTECTED]> wrote: > > Hi guys > > I've been looking at this, searching the Intern

iBatis configuration problem

2008-05-28 Thread cuong PN
Hi guys I've been looking at this, searching the Internet, trying this and that but nothing works yet. I'd greatly appreciate any help to resolve this. Thanks so so much! When I run, I got this error: com.ibatis.sqlmap.client.SqlMapException: There is no statement named TTS_USER.countUsers in t

Can queryForMap(...) behaviour be mimicked in the SQL Map XML files?

2008-05-28 Thread Derek Alexander
Hi, Let's say I have a class Department with a property that is of type Map that has keys of Long and values of Employee. The key is the id of the Employee. Sure, I can set this property in a DAO using: department.setEmployeeMap(sqlMap.queryForMap("getEmployees", department.getDepartmentId(), "

Re: using a parameterClass and also passing some additional params..

2008-05-28 Thread Jiming Liu
I vote for this feature for version 3! On Wed, May 28, 2008 at 10:43 PM, apinke <[EMAIL PROTECTED]> wrote: > > Hi , > > I am using a abator generated Insert statement whose parameterClass is a > JavaBean class. > > (psuedo syntax) > > >insert into MYTABLE.. ..values > (#appName:VARCHAR#,...

using a parameterClass and also passing some additional params..

2008-05-28 Thread apinke
Hi , I am using a abator generated Insert statement whose parameterClass is a JavaBean class. (psuedo syntax) insert into MYTABLE.. ..values (#appName:VARCHAR#,...#callTime:TIMESTAMP#) In addition to the above , I would also like to pass a schema name that can be appended to the table

Re: echo dynamic sql

2008-05-28 Thread Andrey Rogov
usually all use log4j. you can see and prepare Statement and executing statement and . It is described in a documentation. Does it dislike you ? 2008/5/28 Prateek Asthana <[EMAIL PROTECTED]>: > Hi, > When using dynamic sql generation using the various tags, is it > possible to echo the final SQ

Re: flushOnExecute values

2008-05-28 Thread Andrey Rogov
In a documentation it is written that statement works for crud + all query . May be add stored procedures yet ? 2008/5/28 Larry Meadors <[EMAIL PROTECTED]>: > Yes - you are specifying a mapped statement name, so anything that is > a mapped statement can go there. > > Larry > > > On Tue, May 27

user-java@ibatis.apache.org

2008-05-28 Thread Tom Schindl
Because the XML use & as the start for Entities you'll need to write & instead of &. Tom Jonathan Alvarsson schrieb: I am trying to perform bitwise AND in a select statement. I think the syntax would be something like: SELECT , FROM S

user-java@ibatis.apache.org

2008-05-28 Thread Jonathan Alvarsson
I am trying to perform bitwise AND in a select statement. I think the syntax would be something like: SELECT , FROM Structure s INNER JOIN BaseObject b ON s.baseObject = b.id WHERE s.persistedFingerprint & #p