No, you still need to write the setter, but make it private. Like this:public class Foo {
private String
foo;
public String getFoo()
{
return
foo;
}
private void setFoo(String foo)
{
this.foo = foo;
}
}On 9/20/06, MCCORMICK, Paul
[EMAIL PROTECTED] wrote:
How do
You now have more values specified than
you have columns in your insert list, this could be a typo, but otherwise I
guess null gets inserted for the description column.
From: Okan Çetin
[mailto:[EMAIL PROTECTED]
Sent: donderdag 21 september 2006
2:29
To:
Concerning the jvm question: if you have a
security manager in place, you would need to have the AccessibleObject.ACCESS_PERMISSION
(suppressAccessChecks) permission.
Niels
From: MCCORMICK, Paul
[mailto:[EMAIL PROTECTED]
Sent: donderdag 21 september 2006
5:00
To:
On Wed, Sep 20, 2006 at 09:59:12AM -0600, [EMAIL PROTECTED] wrote:
This sounds like it could be solved by a connection lifecycle event handler
that Clinton mentioned on Sept. 16th:
http://www.mail-archive.com/user-java@ibatis.apache.org/msg06174.html
Strangely, I've actually needed this
Isn't it possible to use multiple result set support (resultMap=resultMap1,
resultMap2 or resultClass=resultClass1, resultClass2) to map ootput
parameter (Ref Cursors) the same way I have done with the first procedure
that return only one output parameter?
Or is there a chance to extend the
Ah that explains what I was doing
wrong.
From: Clinton Begin
[mailto:[EMAIL PROTECTED] Sent: Thursday, 21 September 2006
2:29 PMTo: user-java@ibatis.apache.orgSubject: Re:
Parameterised constructors
No, you still need to write the setter, but make it private.
Like this:
public class Foo
Hi again,The CDATA tags are not useful here, it's true. But it's a habit I took after spending some time debugging a query containing a "" (less than). I did try without CDATA and the effects are the same in my problem.I use other stored procedures also, and they work. The problem arise just for
hey
can anyone let me know how to work on joins in
iBATIS.
this is the query i am goin to use.
select a.versionnumber, a.releasedate,
a.releasenotes, b.releasetype
from versioninfo as a,
releaseinfo as b
where a.productid = 1 and a.releaseid =
b.releaseid;
C ya
P R A D H E
The ibatis framework has no clue about how you write your sql. it only maps the results of your query.NathanOn 9/21/06, Pradheep
[EMAIL PROTECTED] wrote:
hey
can anyone let me know how to work on joins in
iBATIS.
this is the query i am goin to use.
select a.versionnumber, a.releasedate,
select id=blah resultClass=hashmapselect a.versionnumber, a.releasedate,
a.releasenotes, b.releasetype
from versioninfo as a,
releaseinfo as b
where a.productid = #value# and a.releaseid =
b.releaseid;/selectMap m = (Map)queryForObject(blah, 1);LarryOn 9/21/06, Pradheep
[EMAIL PROTECTED]
Nope, it just works. Note the security post by Niels earlier.-- Remember, we understand this isn't ideal. But it's better than public setters!Cheers,ClintonOn 9/19/06,
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
It'll raise a few eyebrows but I'll see what the chaps say.Is there any documentation
I'm not using dbcp. I need to investigate this further. Thanks again
for your help.
-Original Message-
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 9:32 PM
To: user-java@ibatis.apache.org
Subject: Re: oracle and dbcp
ibatis only asks the datasource
You're only going to want to create temporary tables when the connection is
created, not at the beginning of every transaction.
Depending on what kind of connection pool you're using, you may be able to use
their connection lifecycle event handler to do this rather than rely on iBATIS
to
We ran into a similar problem (same
situation)
Although, we happened to have an RMI connection between
the tool and front-end, so we used that to send "flush"
commands.
I wouldn't recommend that though, trying to keep the
two synchronized was a pain.
Actually, I don't know much about
Hi,
I have a situation where is the column has a special
character, PVPO#
Im getting an exception when Spring loads my Ibatis
files, is there any workaround for this issue
Error Incorrect inline parameter
map format
sqlMap namespace=APIYLIBR_APIPPVRS
resultMap
Double it up to escape it. PVPO##Cheers,ClintonOn 9/21/06,
Hariharan, Vadivelu (IE10) [EMAIL PROTECTED] wrote:
Hi,
I have a situation where is the column has a special
character, "PVPO#"
I'm getting an exception when Spring loads my Ibatis
files, is there any workaround for
Wow that really helped, thanks a ton Clinton, appreciate your
help
I was cursing ibatis for this J
Here is the correct SqlMap for other
folks, notice that I have changed PVPO# to PVPO##
?xml version=1.0
encoding=UTF-8 ?
!DOCTYPE sqlMap PUBLIC
-//ibatis.apache.org//DTD SQL
I guess Abator generated classes should
take note of special chars in columns and should not generate the Java source
with the special character
For instance for the given situation abator
generate AS400InvoiceTriggerResult class with the field named PVPO#
This is a compilation error
This enhancement can be tracked from JIRA
Key: IBATIS-348
URL: http://issues.apache.org/jira/browse/IBATIS-348
Thx
-Hari
From: Hariharan,
Vadivelu (IE10) [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006
10:07 AM
To: user-java@ibatis.apache.org
Subject: RE:
19 matches
Mail list logo