ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jared Blitzstein <mailing-l...@blitzstein.net>
Subject Re: 2 list entries to one row
Date Wed, 12 Mar 2008 14:11:43 GMT
 From how I'm seeing it, that's two rows, not one. Before it gets to  
iBATIS, create an object representation of what you want to store and  
send a collection of those to your service. Then from there you can do  
a batch insert over an iteration of them. That's the simplest solution  
I can think of off the top of my head.

On Mar 12, 2008, at 10:01 AM, Wolf-Dieter Mische wrote:

> Hello,
> I have following problem. I habe a object holding a list  
> A,B,C,D,E,... now I want to spore this list in a database. But I  
> have to store them pairwise. For example:
> Col1|Col2
> A   |B
> B   |C
> ....
> Is there any possibility to solve this problem?
> greetz
> wolle
> -- 
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

View raw message