Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can I remotely access a table in Appcation Express

650204Aug 29 2010 — edited Aug 29 2010
Hi All,

I have created a Table in my workspace. I need to remotely access this table, is it possible? I tried by have access problem.

Database Name:???
how to set Workspace parameter?????
Port:1521?? is it the same

java code:
////////////////////////

Instances data = new Instances(new BufferedReader(new FileReader("test.arff")));
data.setClassIndex(data.numAttributes() - 1);
DatabaseSaver save = new DatabaseSaver();
save.setUrl("jdbc:oracle:thin:@apex.oracle.com:1521:XE");
save.setUser("test");
save.setPassword("test");
save.setInstances(data);
save.setRelationForTableName(false);
save.setTableName("test");
save.connectToDatabase();
save.writeBatch();
//////////////////////

/////////////////////////////

Edited by: Shashi_sr on Aug 29, 2010 5:34 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2010
Added on Aug 29 2010
1 comment
431 views