Re: iBatis within EAR files

2006-04-12 Thread Joe Wolf
regards to EAR scope and optional libraries via the Class-Path manifest entries (like I said, I filed a bug report on it since I really believe its not right.I'm assuming you haven't tried it without Spring?-aps On 4/11/06, Joe Wolf <[EMAIL PROTECTED]> wrote:

Re: iBatis within EAR files

2006-04-11 Thread Joe Wolf
I'm using iBATIS within a JBoss EAR.  I'm using Spring, though, which helps a lot.  Anyways, here's how everything's set up:   my.ear: * my-daos.jar - contains my DAOs, all of which extend org.springframework.orm.ibatis.SqlMapClientDaoSupport * my.war - contains Spring XML config * ibatis-co

Re: How to make dao's / vo's more polymorphic

2006-03-15 Thread Joe Wolf
(giant interface of string constants of keys) is my case. It takes the Collection (arraylist of hashmaps) and treats it like a "formbean". .V Joe Wolf wrote: Heh heh...not having to modify your "VO" doesn't buy you much when you have to change your giant interface/class of String constants holding the keys to your Map.

Re: How to make dao's / vo's more polymorphic

2006-03-14 Thread Joe Wolf
Heh heh...not having to modify your "VO" doesn't buy you much when you have to change your giant interface/class of String constants holding the keys to your Map. FWIW, I use Maps frequently to pass data values into my SQLMap statements (the database I use is significantly different than my

Re: ibatis and best practices

2006-03-03 Thread Joe Wolf
I use maps a lot for inserts and queries since I'm working with a database and data model that are pretty disparate; as a result, when I do inserts, I need to provide additional data that's not a part of my POJO. For example, my.pojo.Entity { Long entityId; Set addresses; } my.pojo.Address {

Flushing caches

2006-03-03 Thread Joe Wolf
Is there any way to programmatically flush a cache?  I'm getting ready to head down the road where I'll just call some bogus statement in my SQL map that's in my cache's flushOnExecute list.  I was wondering if there was a more straightforward way.  Thanks.   -Joe  CompSci Resources, LLC

Re: iBATIS objects getting into POJOs

2006-01-27 Thread Joe Wolf
you try it without and see > if it fixes the issue? > > Larry ____ Joe Wolf - Software Engineer CompSci Resources, LLC 703-750-3547

Re: iBATIS objects getting into POJOs

2006-01-27 Thread Joe Wolf
They're being serialized as true On January 27, 2006, Joe Wolf wrote: > > I have a fairly interesting problem involving iBATIS 2.1.5 and XStream 1.1.2. > I have some POJOs that get created by iBATIS when I run some queries. I > then serialize them

iBATIS objects getting into POJOs

2006-01-27 Thread Joe Wolf
aps whenever I'm retrieving a NUMERIC id? Any ideas? Joe Wolf ___ CompSci Resources, LLC www.compsciresources.com Joe Wolf - Software Engineer CompSci Resources, LLC 703-750-3547