dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: JDBC Selecting a Database from Oracle 11g(offline)

  1. #1
    Join Date
    Dec 2018
    Posts
    1

    JDBC Selecting a Database from Oracle 11g(offline)

    I'm having a bit of trouble as I haven't worked before with Oracle ( let alone 11g Express Offline version ).

    The problem is, I have to create two databases in Oracle 11g, then create a button in Java that would allow me to select which DB do I want to connect to.

    How do I do that? ( Didn't find anything about schema owner, or what's it called )

  2. #2
    Arjay's Avatar
    Arjay is online now Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    12,989

    Re: JDBC Selecting a Database from Oracle 11g(offline)

    Sounds like homework. No matter. Do a google search for how to connect to an oracle db in java. Typically, you'll open the db using a connection string that tells which db to open.

    Once you get that figured out, then it's simple to change to a different database by using a different connection string.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)