Re: How to configure SwarmCache for IBATIS

2005-01-10 Thread Clinton Begin
Since iBATIS doesn't directly support SwarmCache, I'm assuming this is more of a Spring question (assuming of course, that Spring supports SwarmCache). Cheers, Clinton On Mon, 10 Jan 2005 11:20:58 -0500, Stevenson, Thomas G. <[EMAIL PROTECTED]> wrote: > Hello, > I am running the Jpetstore refere

Re: 2.0.9 CLOB

2005-01-10 Thread Richard Yee
The 4k limit is a problem with Oracle 9i JDBC drivers. The 10g JDBC drivers don't have this problem. -Richard At 02:09 PM 1/10/2005, you wrote: Can the new Default CLOB/BLOB Handlers in 2.0.9 be used with Oracle 9i? I looked in http://issues.apache.org/jira/browse/IBATIS-4 for iBATISClob.zip, b

Re: JIRA Load missing attachments

2005-01-10 Thread Clinton Begin
Hi Steve, I removed the attachment for two reasons: 1) It contained a restrictive license and 2) iBATIS 2.0.9 includes default BLOB/CLOB typehandlers. Cheers, Clinton On Mon, 10 Jan 2005 16:13:48 -0600, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Clinton, > > Can you please attach iBAT

2.0.9 CLOB

2005-01-10 Thread Mitchell, Steve
Can the new Default CLOB/BLOB Handlers in 2.0.9 be used with Oracle 9i? I looked in http://issues.apache.org/jira/browse/IBATIS-4 for iBATISClob.zip, but I didn't find the ZIP file there. I tried using the 2.0.9 default CLOB Handler with Oracle, but it only works with data less than 4 KB. If I

How to configure SwarmCache for IBATIS

2005-01-10 Thread Stevenson, Thomas G.
Hello, I am running the Jpetstore reference application for Spring using IBATIS as the persistence engine under JBOSS. How do you configure IBATIS to use SwarmCache as its caching engine? Is there a configuration file entry, or, is it programmatic? Thanks Tom Stevenson

Re: Default CLOB/BLOB Handlers in 2.0.9

2005-01-10 Thread Nathan Maves
Steve, I use the 2.0.9 version with Oracle9i Enterprise Edition Release 9.2.0.2.0. I have never tried CLOB's but I use BLOB's all the time and they are all larger then 4k. I would suggest not specifying the type and let iBatis figure it out for you. I assume that the description field is a ja

Default CLOB/BLOB Handlers in 2.0.9

2005-01-10 Thread stevem
Can the new Default CLOB/BLOB Handlers in 2.0.9 be used with Oracle 9i? I looked in http://issues.apache.org/jira/browse/IBATIS-4 for iBATISClob.zip, but I didn't find the ZIP file there.  I tried using the 2.0.9 default CLOB Handler with Oracle, but it only works with data less than 4 KB.  If I ha

Re: Javadoc for common

2005-01-10 Thread Brice Ruth
FYI - in the javadocs produced for 2.0.9, I found that there isn't a "package-list" file generated, which prevents Eclipse from associating the Javadoc directory with that JAR for inline help. Just a heads up. The Javadoc tool *should* create this file, so the build script may need to be tweaked.

Re: Unit tests

2005-01-10 Thread Clinton Begin
If I understand your question, you're asking how to unit test DAOs. Typically, to test the DAOs themselves, I'll use an in memory database like HSQLDB. This allows you to test your DAO completely, including the SQL. To test everything that uses the DAO (like the service or client layer), you can

Re: raltation and inserts

2005-01-10 Thread Clinton Begin
Yes, both the Developer Guide and the Tutorial show how to update. Clinton On Mon, 10 Jan 2005 08:34:14 -0700, Brandon Goodin <[EMAIL PROTECTED]> wrote: > You would perform an insert like any other. The guide does describe > how to insert. > > Brandon > > > On Mon, 10 Jan 2005 13:22:02 +0100,

Re: Class has be changed in 2.0.9?

2005-01-10 Thread Clinton Begin
Yes, that class changed. But it shouldn't impact you, as you should not be accessing it directly anyway. You should use SqlMapClientBuilder in the com.ibatis.sqlmap.client package. Cheers, Clinton On Sun, 09 Jan 2005 03:55:16 +, rosen jiang <[EMAIL PROTECTED]> wrote: > In 2.0.9,Is com.ibati

Re: raltation and inserts

2005-01-10 Thread Brandon Goodin
You would perform an insert like any other. The guide does describe how to insert. Brandon On Mon, 10 Jan 2005 13:22:02 +0100, David Nielsen <[EMAIL PROTECTED]> wrote: > Hi, > > I have 2 classes: > > Account > private int id; > private String username; > private String password; >

Re: Unit tests

2005-01-10 Thread Brandon Goodin
PLEASE DO NOT DOUBLE POST. Pick ibatis-dev or ibatis-user-java. Also, I have not idea what you are asking for. I think there is something lost in the translation. Brandon On Sun, 9 Jan 2005 18:13:40 +, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi; > > how realized of the unit tests

raltation and inserts

2005-01-10 Thread David Nielsen
Hi, I have 2 classes: Account private int id; private String username; private String password; private Collection groups; Group private int id; private String name; the db has 3 tables; ACCOUNT GROUP ACCOUNT_GROUP_REF where ACCOUNT_GROUP_REF is a join table for my relations, with

Unit tests

2005-01-10 Thread dbousseb
Hi; how realized of the unit tests for DAO objets implemented with Ibatis ? which tool I must to use for that ? Regards; - NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T

Class has be changed in 2.0.9?

2005-01-10 Thread rosen jiang
In 2.0.9,Is com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser instead of com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder? If is not that,where could i find XmlSqlMapClientBuilder. rosen jiang _ 免费下载 MSN Explorer:

Re: BLOB/LONGBLOB w/ MySQL & Connector/J

2005-01-10 Thread Brice Ruth
I got it all working. Ya know, the crazy thing is - I ended up googling and writing a TypeHandlerCallback and kept getting frustrated that wasNull kept returning false and getBlob() kept returning null. Until I started checking my SQL statement against the database ... and found that the record it

RE: GUI map/value object/DAO builder

2005-01-10 Thread Engel, Gregory A
Thanks. I'll give it a try. Cheers GE -Original Message- From: Vamsee Kanakala [mailto:[EMAIL PROTECTED] Sent: Monday, January 10, 2005 9:27 AM To: ibatis-user-java@incubator.apache.org Subject: Re: GUI map/value object/DAO builder Engel, Gregory A wrote: >I haven't tried MS SQL server

Re: GUI map/value object/DAO builder

2005-01-10 Thread Vamsee Kanakala
Engel, Gregory A wrote: I haven't tried MS SQL server. I know that people here had problems finding a driver that worked for MS SQL server. I can whole-heartedly recommend jTDS (jtds.sourceforge.net). It came as a God-send when I was totally disgusted with the crap that is Microsoft JDBC drive

RE: GUI map/value object/DAO builder

2005-01-10 Thread Engel, Gregory A
It wouldn't be too hard. I does depend on the database tool that is built into Jasmine. I can make it a stand alone tool without too much problem. It really wasn't all that much work. I grew it like a lava flow. That is, not much prior planning. I haven't tried MS SQL server. I know that people