hi,
I'm writing a J2EE app and I want to interface with a database. I've been looking at Entity beans and all is well. However what I want to do is simply execute an SQL statement and get a vector of strings back.
Do I have to use Entity Beans to do this? I have tried writing a finder function but on deployment I am told that finder functions can only return primary keys or collections of primary keys. Is there another way.
Thanks
Steve
I'm writing a J2EE app and I want to interface with a database. I've been looking at Entity beans and all is well. However what I want to do is simply execute an SQL statement and get a vector of strings back.
Do I have to use Entity Beans to do this? I have tried writing a finder function but on deployment I am told that finder functions can only return primary keys or collections of primary keys. Is there another way.
Thanks
Steve