I've done some hacking on the LazyResultLoader class and came to a
working solution. I created an interface named "Deferrable" which is
basically just a marker interface. Properties which can be lazily loaded
on user defined types are typed as interfaces which extend Deferrable.
If a result loa
Yes I did tried and that's why I am sending an email. It throws an
invalid statement exception.
We have explicit instructions to avoid full regression testing by not
changing the Java code so I was hoping there was a way to working around
this issue with iBatis.
-Original Message-
From
i dont think so, never tried.but why would you do such thing?regardsOn 11/10/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Is it possible in iBatis to have something like this:
update>
So that the java code still executes the update but nothing actually ha
2 questions:
1) Did you try it?
2) Why would you want to do this?
Larry
On 11/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Is it possible in iBatis to have something like this:
So that the java code still executes the update but nothing actually
happens?
Title: NULL update
Is it possible in iBatis to have something like this:
update>
So that the java code still executes the update but nothing actually happens?
Thanks
Visit our website at http://www.ubs.com
This message contains confidential information and
Thanks Larry for your quick Response. Here is our SQLMAP-config file
details.
http://ibatis.apache.org/dtd/sql-map-config-2.dtd";>
The query in SqlMap.xml is as follows
SELECT JLAWPK as typeCode,SUM(JLAWPL) a
Rowhandler example is in the dev guide. But seems I've found a way to do without it. > at this point changing the db schema is not an optionThe idea is to mimick splitting users tableMake a view like this
select userID, customproperty1 from usersTable where customproperty1 is not nullUNION ALLsele
What class is returned from getter.getResultSet()?
If you have logging enabled, you might be getting iBATIS' result set proxy instead of the underlying result set.
Does it work differently if you enable or disable logging?
Jeff Butler
On 11/10/06, Timo Schnölzer <[EMAIL PROTECTED]> wrote:
Hi Folks,
I am using the Ibatis mapping tool for long and want to map XmlType from Oracle.
I registerd the XMLTypeHandlerCallbackand the system is running into the
getResult Method
returning the UnsupportedOperationException error:
if (getter.getResultSet() instanceof OracleResultSet) {
I am not sure what you are asking.
A bean like this would work fine:
Integer catid;
String catname;
List prodList;
Larry
On 11/10/06, soussou97 <[EMAIL PROTECTED]> wrote:
Hi Larry;
I would like to come back on this subject.
The solution that you propose need to change the javabean as in th
Hi Larry;
I would like to come back on this subject.
The solution that you propose need to change the javabean as in the link :
CategorisedProductList with properties
Category cat;
List prodList;
Category with properties
Integer catid;
String catname;
Product with properties
Integer prodid;
St
Hi;
I search a example to insert a object which contains a list of account
objets but with stored procedures (ps).
I have write 3 ps :
1- ps1 : create a ID1 in the customer table
2- pS2 : insert a customer object in using ID1 and return a ID2
3- ps3 : insert an account object in usign ID2
Regar
Thanks Koka - But unfortunately at this point changing the db schema is not an option, i know i can add all those getter\setters but i was hoping to find a easier way. Can you point me to an example of custom row handler?- Original Message From: Koka Kiknadze <[EMAIL PROTECTED]>To: user-ja
Seems the only way would be to write custom rowhanlder.However, I'd change design of database to match java object, i.e. would have separated CUSTOMPROPERTY-ies into a separate table. In that case you'd be able to populate the list along the lines described in dev guide.
On the other hand iIf you t
All - I have a POJO which has a collection property as, public class User { private List customProperties; public List getCustomProperties() {
return customProperties; } public void setCustomProperties( List customProperties) { customProperties = customProperties;
}
}
Hello,Im from belgiumI appreciate the philosophy of iBATIS, and I would like to include
"abator" like plugin has "netbeans5.5". Could you help me if it plait
you? thank you
16 matches
Mail list logo