AW: selectKey doesn't send the value to insert statement

2005-10-14 Thread Farsi, Reza
Hi Karthikeyan , select key should follow INSERT. Reza Von: Karthikeyan Pandurangan [mailto:[EMAIL PROTECTED] Gesendet: Fr 14.10.2005 08:30 An: user-java@ibatis.apache.org Betreff: selectKey doesn't send the value to insert statement Hi, I am stuck

Quetion about documents

2005-09-27 Thread Farsi, Reza
Hi all, I've been working with iBATIS and find it very good. The documentation has not the same high quality like the framework. I wonder if there is any document like e.g. iBATIS best practices. I'm reading the Developer Guide (DevGuide.pdf). I miss figure 1 on page three. Is it a converting

AW: Question on SQLMaps

2005-09-23 Thread Farsi, Reza
Hi Tajeev, Names in select, update, etc. have to be seen globaly. That means, if you have e.g. getAll for three objects, you have to either change the names (getAllBooks, getAllCds, getAllFilms), or you have to use namespace. You only need to activate using of namespaces in your configuration

Avoiding selects and other problems with complex objects / Hibernate

2005-09-20 Thread Farsi, Reza
Hi, I don't know, if I can describe my queotion clealy, but I try it. Following scenario: There are two objects Fund and Instrument. Instrument hat one composite object called Interest. Fund does not reference any other obejct. Instrument reference only Interest. There is also an obejct called

Mapping of java char?

2005-09-13 Thread Farsi, Reza
Hi all, I have an object with an attribute of type char. On the database side, the corresponding table is defindes also as char. How can I map this attribute? I mapped it as follows: result property=positionType column=position_type/ What am I doing wrong? Do I need java.lang.Charachter? If

AW: Getting of composed objects

2005-09-07 Thread Farsi, Reza
Betreff: Re: Getting of composed objects I believe that you are doing everything correct. Are things not working or are you trying to find a better solution? Nathan On Sep 6, 2005, at 3:35 AM, Farsi, Reza wrote: Hi all, I'm testing iBATIS by the means of one simple scenario using object

multiple insert within a select tag

2005-08-29 Thread Farsi, Reza
Title: multiple insert within a select tag Hi all, following scenario: I'va an object Instrument. It references an another object option. create table instrument ( id int not null auto_increment primary key, internalNumber varchar(12) not null unique ); create table option (