Hi Jishnu,
I cannot understand anything by given exception but yes suggested
implementation by Ingmar is rite approach and moreover which version of
Postgres you are using as in 7.3.1 it is nlot possible to store the array data
so better way of doing it is to convert the data in String and push
Hi Sowmya,
As far as my understanding goes
You may need to use CustomtypeHandler in order to insert a value (which
corresponds to NULL) which in your program will tell you what stands for NULL
so that whenever you receive that value back from DB you can assign that
variable as NUL by yoursel
Thanks Kevin,
Appreciate your help and effort in making me understand this.
Will go through the tutorial from the next time before posting anything on the
forum ,though I usually do as I have been reading " Ibatis in action" before
posting in here.
Regards
Rahul
__
rom a sequence before inserting.
Jeff Butler
On Thu, Feb 12, 2009 at 11:56 AM, Rahul Saluja wrote:
> Hey Bruke,
>
>
>
> Well I do have sequences defined for my each table which acts as a primary
> key for my table now I want to use this generatedkey as a foreign key in
> anothe
('MSCPerfCntrTrunk_seq')
Regards
Rahul Saluja
From: Burke.Kevin [mailto:kevin.bu...@cic.gc.ca]
Sent: Thursday, February 12, 2009 11:42 PM
To: user-java@ibatis.apache.org
Subject: RE: What does Insert method return
It does not return an object, rather
PerfCntrTrunkTblImpl)
Above statement will return an Object but an object of what type??.
Looking forward to your response.
Regards
Rahul Saluja
From: Burke.Kevin [mailto:kevin.bu...@cic.gc.ca]
Sent: Thursday, February 12, 2009 11:25 PM
To: user-java@ibatis.ap
PerfCntrTrunkTblImpl)
Above statement will return an Object but an object of what type??.
Looking forward to your response.
Regards
Rahul Saluja
From: Burke.Kevin [mailto:kevin.bu...@cic.gc.ca]
Sent: Thursday, February 12, 2009 11:17 PM
To: user-java@ibatis.ap
Hello Everybody,
My apologise if I have hurted anyone in any manner.
Regards
Rahul Saluja
From: Sundar Sankar [mailto:fatboys...@gmail.com]
Sent: Thursday, February 12, 2009 10:38 PM
To: user-java@ibatis.apache.org
Subject: Re: KeyProperty attribute in Selectkey
Does anybody care to reply.
Please.
From: Rahul Saluja [mailto:rahul.sal...@vnl.in]
Sent: Thursday, February 12, 2009 10:22 PM
To: user-java@ibatis.apache.org
Subject: RE: KeyProperty attribute in Selectkey Tag
Hey Burke,
So does this mean if I simply say
mand to specify
the primary key.
-Kevin
-Original Message-
From: Rahul Saluja [mailto:rahul.sal...@vnl.in]
Sent: February 12, 2009 11:43 AM
To: user-java@ibatis.apache.org
Subject: KeyProperty attribute in Selectkey Tag
Importance: High
Hello everybody,
Can anyone tell me in simple words
And one more thing is this is a optional attribute.
Regards
Rahul Saluja
From: Rahul Saluja [mailto:rahul.sal...@vnl.in]
Sent: Thursday, February 12, 2009 10:13 PM
To: user-java@ibatis.apache.org
Subject: KeyProperty attribute in Selectkey Tag
Importance: High
Hello everybody,
Can anyone tell me in simple words what is the purpose of Keyproperty attribute
in selectkey tag.
Looking forward to your response.
Regards
Rahul Saluja
The information contained in this e-mail is private & confidential and may also
be legally privileged. If you are not
oking forward to response.
Regards
Rahul Saluja
From: Sundar Sankar [mailto:fatboys...@gmail.com]
Sent: Thursday, February 12, 2009 9:42 PM
To: user-java@ibatis.apache.org
Subject: Re: What does Insert method return
Hi Rahul
check this website out
Please help me
-Original Message-
From: Rahul Saluja [mailto:rahul.sal...@vnl.in]
Sent: Thursday, February 12, 2009 9:17 PM
To: user-java@ibatis.apache.org; larry.mead...@gmail.com
Subject: RE: What does Insert method return
Hi Larry,
No I haven't run it
I would be glad if you can clear my confusion.
Regards
Rahul Saluja
-Original Message-
From: Larry Meadors [mailto:larry.mead...@gmail.com]
Sent: Thursday, February 12, 2009 9:16 PM
To: user-java@ibatis.apache.org
Subject: Re: What does Insert method return
Did you run it to see?
Larry
taining an sequence value generated by my
insert statement
or
does it return the actual Object which was just inserted with the
generatedSequenceId_0 field assigned the generated sequence number.
Eagerly Looking forward to your response.
Regards
Rahul Saluja
The information contained in this
re
are no dependencies to the child table"
Looking forward to your response.
Regards
Rahul Saluja
-Original Message-
From: Ingmar Lötzsch [mailto:iloetz...@asci-systemhaus.de]
Sent: Monday, February 09, 2009 4:30 PM
To: user-java@ibatis.apache.org
Subject: Re: Need help on Inserting
Hello Ingmar,
I have gone through the link you gave me here is what is been given there
SELECT cast(last_value as int) AS value
FROM organizations_org_id_seq
INSERT INTO Organizations
(Org_Code, Org_Name)
VALUES
Looking forward to your response.
Regards
Rahul Saluja
-Original Message-
From: Ingmar Lötzsch [mailto:iloetz...@asci-systemhaus.de]
Sent: Monday, February 09, 2009 4:09 AM
To: user-java@ibatis.apache.org
Subject: Re: Need help on Inserting child Object .
Hello, Rahul
Hello Everybody,
I need help to understand how can I insert an object into my Db using which is
having an child object.
Say I have a class named Order which have an Child Object (an array of type
OrderItem ) so how I would write my code in java to associate these two tables
Namely Order
Class
And one more thing which I forgot to mention don't forget to declare your
typehandler with alias in you sqlmapconfig file in following manner
Regards
Rahul Saluja
-Original Message-
From: Rob Sonke [mailto:r...@tigrou.nl]
Sent: Sunday, February 08, 2009 2:53 PM
To: user
CCSALGOHOPM_SEQ'),
#wrongBsic0,handler=ArraysToStringTypeHandler#
#noTargetCellUlLevel.value#)
Hope it helps.
Regards
Rahul Saluja
-Original Message-
From: Rob Sonke [mailto:r...@tigrou.nl]
Sent: Sunday, February
Hello Ingmar,
Thanks for your timely help, finally it worked.
Regards
Rahul Saluja
-Original Message-
From: Ingmar Lötzsch [mailto:iloetz...@asci-systemhaus.de]
Sent: Wednesday, February 04, 2009 3:05 PM
To: user-java@ibatis.apache.org
Subject: Re: Insert help
Hello Rahul,
> Rea
Hello Ingmar,
Really appreciate your response, Well I do need to bother you for one more
thing if you could tell me where exactly do I need to insert the following
statement (In my sqlmap-config.xml file or under my resource file).
Once again appreciate your help.
Regards
Rahul Saluja
spent lot of time in
searching through developers guide .
Looking forward to your response.
Regards
Rahul Saluja
The information contained in this e-mail is private & confidential and may also
be legally privileged. If you are not the intended recipient, please notify us,
preferably by e-mail,
All I wish to do is "register it for a single result or parameter mapping"
please I need help on this urgently as I have already spent lot of time in
searching through developers guide .
Looking forward to your response.
Regards
Rahul Saluja
The information contained in this e-mail
26 matches
Mail list logo