JDBC in WO
JDBC in WO
- Subject: JDBC in WO
- From: 時期 精霊 <email@hidden>
- Date: Sat, 2 Jul 2005 12:01:45 +0200
Hello,
I have a wofileupload,
I want to upload large file (100mb), the file will be uploaded
directly to the database.
I wondered if there where anyway to implement it in EO, for example,
I got a DatabaseFile object with a key called content for example. I
bound the content key to the inputstream of the WOFileupload.
This is the ideal scenario, but I don't know how to do it.
What I know, is to directly use JDBC, (if it is the way, I also need
to know how to get the Connection from EO, because I currently need
my database url, user/pass in the code, and it is not good), using
JDBC allow me to use the setBinaryStream() (I use postgresql) method
of JDBC.
Any idea, pointers?
Regards
Kuon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden