users@glassfish.java.net

RE: oracle jdbc schema name

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Sat, 1 Aug 2009 10:33:53 -0400

the $ORACLE_HOME/admin/listener.ora associates a sid with one global_database_name as seen here
        [ (CONNECT_DATA=
        (SID=<oracle_sid>)
        [ (GLOBAL_NAME=<global_database_name>) ]
          )
        ]

schema is collection of entities that are visible to the Oracle user ..
world reknown Master DBA Tom has an article here
note the username/password used in connecting to the instance is always same as schema
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:29426634229263

so hopping to another schema means more connecting to (another) oracle instance with username/password
Martin Gainty
______________________________________________
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut ętre privilégié. Si vous n'ętes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert ŕ l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement ętre sujets ŕ la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Sat, 1 Aug 2009 03:58:09 -0700
> From: glassfish_at_javadesktop.org
> To: users_at_glassfish.dev.java.net
> Subject: oracle jdbc schema name
>
> hi,
>
> are there any option for glassfish jdbc pool to specify user name, password and separate schema name ? if so what is a parameter name for schema. the problem is that if i connect to database with just username/password/sid - i can't see tables/procedures/functions assigned for that user but within different schema. in netbeans you login with username/password/sid, but specify that you are interested in specific schema name - it sees all procedures fine. would be nice to have same option for glassfish jdbc pool (which later is used by openesb databasebc component).
>
> thanks,
> /mareks
> [Message sent by forum member 'mareks' (mareks)]
>
> http://forums.java.net/jive/thread.jspa?messageID=358456
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1