Once
again.
How
does I have to use TypeHandlerCallbacks inside the #myProperty#? I DON'T
want to use a separate parameter maps only because I'm needing a type
handler for one column!
Thanks
for your help in advance!
Cheers,
Martin
-Original Message-From:
Clinton Begin [mai
True Daniel,
It's possible. But I do sympathize with Marting, as it currently is a pain in the butt.
The biggest issue is that you have to ensure that the parameters line
up exactly. That is, you need to ensure that all paths of the
conditional results result in the exact same number and type
System.out.println(Introspector.decapitalize("P813NAME"));
Gives us --> p813NAME
Mr. Begin wins the gold star. :-)
Here is a nice utility to save you some time next time:
public static void main(String arg[]) throws Exception {
BeanInfo bi = Introspector.getBeanInfo(Account.class);
Pr
On 7/3/05, netsql <[EMAIL PROTECTED]> wrote:
>
>
> 2nd one:
> 2)You don't have to change or maintain it.
> As project evolves and front end and back end evolve... there is no
> maitanance or CRUFT or duplication.
CRUFT - (n) The results of shoddy construction.
Hmm, every application I have eve
Yes, there are many examples using Maps. You have convinced me to try
not to do another one with a Map; Beans are truly the better way to
go.
Larry
On 7/3/05, Folashade Adeyosoye <[EMAIL PROTECTED]> wrote:
>
>
>
> Thanks the reason I asked was because all the examples I have seen online
> se
Not the source of the issue, but it looks like you have an extra
"where" in that statement, too.
On 7/3/05, Folashade Adeyosoye <[EMAIL PROTECTED]> wrote:
>
>
>
> I have quick question please… I am trying to run a select count(*) and seem
> to be getting a ClassCast Exception… here is the cod
Hi Martin,
Why can't you use a parameter map in a dynamic statement? That _is_
possible in iBATIS. Just check the documentation.
Cheers,
Daniel Silva.
On 7/4/05, Zeltner Martin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How does I have to declare type handler callbacks inside #myData#?
> I can not us
Hi,
How does I have to declare type handler callbacks inside #myData#?
I can not use a parameter maps, because my statement contains dynamic parts.
Thanks,
Martin
public class DaoConfig {
private static final DaoManager
daoManager;
static {
try {
String resource =
"net/naijatek/fgconline/persistence/dao.xml";
Reader reader =
Resources.getResourceAsReader(resource);
daoManager = DaoManagerBuilder.buildDaoManage