Here's an example from JPetStore 5:
http://svn.apache.org/repos/asf/ibatis/trunk/java/jpetstore/jpetstore5/src/com/ibatis/jpetstore/persistence/sqlmapdao/OrderSqlMapDao.java
Look at the insertOrder method.
That example application shows several good design patterns.
Jeff Butler
On 10/17/0
Hi;
I try to understand with the example :
CategorisedProductList with properties
Category cat;
List prodList;
Category with properties
Integer catid;
String catname;
Product with properties
Integer prodid;
String prodname;
The insertProductDAO and insertCategoryDAO must be implemented with
C
The most important impact of blindly following a Sun Standard was my choice to support JavaBeans exclusively, similar to other frameworks of the time like Struts, tools like Swing editors and dependent specs like JSP.
In general JavaBeans require: * A parameterless constructor * Get/Set methods t
I think the inheritance introspector fix does come into play here. Please verify that you have this fix in your source:
http://fisheye3.cenqua.com/changelog/ibatis/?cs=453298
I have a test working that, I think, is set up similarly to your situation. If you want, I'll send yo the source offli
On Oct 17, 2006, at 11:25 AM, Tom Duffey wrote:On Oct 17, 2006, at 11:22 AM, Jeff Butler wrote:Never mind - the change was made prior to that. BTW - the fisheye link on the iBATIS homepage is VERY usefull when trying to see what shanges have been committed to SVN. I'll take a look in my own envi
On Oct 17, 2006, at 11:22 AM, Jeff Butler wrote:Never mind - the change was made prior to that. BTW - the fisheye link on the iBATIS homepage is VERY usefull when trying to see what shanges have been committed to SVN. I'll take a look in my own environment. Actually I just realized that I only d
Never mind - the change was made prior to that. BTW - the fisheye link on the iBATIS homepage is VERY usefull when trying to see what shanges have been committed to SVN.
I'll take a look in my own environment.
Jeff
On 10/17/06, Tom Duffey <[EMAIL PROTECTED]> wrote:
On Oct 17, 2006, at 11:0
On Oct 17, 2006, at 11:05 AM, Jeff Butler wrote:That's a good clue. There was a problem with the iBATIS introspector related to interface hierarchies. This is now fixed in SVN, but not released yet. If you're up for it, would you try an iBATIS build from source and see if the problem persists?I'
That's a good clue. There was a problem with the iBATIS introspector related to interface hierarchies. This is now fixed in SVN, but not released yet. If you're up for it, would you try an iBATIS build from source and see if the problem persists?
Jeff Butler
On 10/17/06, Tom Duffey <[EMAIL
On Oct 17, 2006, at 10:53 AM, Jeff Butler wrote:There haven't been many changes since the 2.2.0 release - and none in this area of the code. Probably not the issue. My question is this - why is UnknownTypeHandler being called at all? iBATIS only calls this when it does not find a registered typ
On Oct 17, 2006, at 10:53 AM, Jeff Butler wrote:There haven't been many changes since the 2.2.0 release - and none in this area of the code. Probably not the issue. My question is this - why is UnknownTypeHandler being called at all? iBATIS only calls this when it does not find a registered typ
There haven't been many changes since the 2.2.0 release - and none in this area of the code. Probably not the issue.
My question is this - why is UnknownTypeHandler being called at all? iBATIS only calls this when it does not find a registered type handler. My guess is that you're not declarin
I'm using 2.2.0 that I built from source on 9/22/06. (I guess that's old
by now)
From: Tom Duffey <[EMAIL PROTECTED]>
[mailto:Tom Duffey <[EMAIL PROTECTED]>] Sent: Tuesday,
October 17, 2006 8:40 AMTo:
user-java@ibatis.apache.orgSubject: Re: Problem w/enum and
TypeHandlerCallback
On Oct
On Oct 17, 2006, at 10:34 AM, [EMAIL PROTECTED] wrote: My enums are enclosed within another class, not external. As an example:Are you using iBATIS 2.2 or below? As far as I can tell the problem was introduced in 2.2.Tom public class DocumentStore extends DomainObject { public static enum Ms
My enums are enclosed within another class, not external. As an
example:
public class DocumentStore extends DomainObject {
public static enum MsgType { REQUEST, CONFIRM }
The TypeHandler declaration looks like the
following:
Re: Composite objects
Hi Larry;
For insert DAO : if I realize firstly the parent (Person) DAO, my list of
Account will be empty (next I must fill it) ?
regards;
Larry Meadors-2 wrote:
>
> For fetching from the database:
>
> http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+get+around+the+N+Pl
Thank's Larry;
"For writing, you just have to do the parent, then the children in order" =>
have you please an example ?
Larry Meadors-2 wrote:
>
> For fetching from the database:
>
> http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+get+around+the+N+Plus+1+selects+probl
For fetching from the database:
http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+get+around+the+N+Plus+1+selects+problem
For writing, you just have to do the parent, then the children in order.
Larry
On 10/17/06, soussou97 <[EMAIL PROTECTED]> wrote:
Hi;
I have a two j
Hi;
I have a two java Beans as follows :
public class Person implements serializable {
private Name name;
private String key;
private List account = new ArrayList();
public String getKey() {
return key;
}
private void setKey(String key) {
this.key=key;
On Oct 17, 2006, at 1:46 AM, [EMAIL PROTECTED] wrote: I'm using Enums without difficulty. I've implemented a TypeHandlerCallback to accommodate the set and get in the following manner:Are your enums enclosed within another class or external? My enums are enclosed within classes and iBATIS is look
Hi !
>Don't fall for
"Sun Standards". I did, and iBATIS is worse for it.
Interesting, can you tell us a little more about that ? what’s
“worse” ? J
Thanks,
Erlend
21 matches
Mail list logo