Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2003
    Posts
    15

    Unanswered: Java FTP to Oracle

    So I'm have some sqlPlus processes that are being called through a java app, but I need to push up the original files prior to processing. Is there an easy method to ftp'ing up files to oracle through java or should I just write a bat file process and call that instead?

  2. #2
    Join Date
    Jan 2005
    Posts
    362
    Give us more informations do you mean triggers - procedures or what?
    You may write code as stored procedures or triggers in the oracle db and call them from java or use jdbc
    triggers
    tutorial.

  3. #3
    Join Date
    Apr 2003
    Posts
    15
    In oracle I have stored procedures that take a file and load it into a table and then compares the new table vs a production table. The differences between the tables get pushed into the prod table. My java front-end app is currently calling the oracle stored procedures, but I need a quick and easy method to take the original files off a client machine and ftp them up to the oracle database.

    What is the easiest method of ftp'ing up the content files to oracle? Is there an easy java or oracle method of ftp'ing?

  4. #4
    Join Date
    Jan 2005
    Posts
    362
    It seems to me that you want a java method that
    1. load each "row" from file
    2.Call a stored procedure that return true (for example) if elements exist at db or false if do not and
    3.If false load to prod. table the elements.
    Maybe there are other ideas too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •