How can I connect to existing databases from odoo application? - odoo-10

I am using Odoo 10 version. I lost database connectivity from my application. While trying to select database using database selector (ipaddress:portno/web/database/selector) no databases are displaying.
Then I tried to create a new database.Then, only newly created database is showing. Then I entered directly to the backend and checked whether the databases are there or not. In backend(postgresql) databases are there. How can I connect to existing databases from odoo application?

Odoo shows the list database that belong to the user that you are using to connect to postgresql. So just change the owner of the database to be your user.

Related

Is that possible to create APEX application which access two databases simultaneously?

I'm trying to extend an existing Apex app: connection to another database is required. Would it be possible?
Or at least start Apex on one database and connect to another.
This is for Oracle 12c and Apex 5.2
Database link is the best option if you want to access directly to the other database using queries, but if you want to get the information in JSON from one or two tables you can use ORDS to public a web service.

ORACLE Application Express - how to connect to your tables in production

I've been trying for days but cannot find the answer to this. I am using Oracle Application Express (APEX), someone else setup the initial connection to a "Apex" database in oracle, but I am trying to connect to our production database in oracle. I am making web forms and the web forms are connected to the "Apex" database that was setup already, but I need to connect to our production database so we can create reports from the data entered through the web forms. I need the tables to show up in the create page option from the production database, currently its coming from the apex database, please help.
Create Page View with Tables (from apex)
Thank You so much in Advance!
What is the "production database"? Is it really a different database (than the one you're currently connected to), or is it a user in the same database?
if former:
you could create a database link between those two databases and create synonyms for production users' tables in one of schemas your workspace is assigned to.
another option is to install Apex onto the production database, so that you could use current installation as "development" and then deploy the application into the "production-based" Apex
if latter, you might do the same (i.e. create synonyms, just without the database link), or simply assign the production schema to your workspace
You may be interested to read Mike's response to a question with a similar misunderstanding regarding architecture.
https://community.oracle.com/thread/4135843
Once you have your head wrapped around this, you can consider the parsing schema to your application. This schema defines the table access your application has, in the normal way Oracle handles table privileges.
Then it's up to you to define who has access to what pages, using APEX Authorisation Schemes.

Fail to delete imported users from Oracle configured with Liferay

I have imported users in liferay(configured with oracle database) using OpenDJ, there are users in oracle database and also displayed on Liferay but when I tried to delete the users from liferay its not deleting it from oracle database.I don't understand the problem. Any Help will be appreciated.

How do I connect to oracle apex database through JDBC?

I have got a workspace in apex.oracle.com , Now , I want to connect to that database through JDBC from ubuntu-14.04 machine. please explain the steps , From where should I download the drivers and what should be the arguments in
DriverManager.getConnection();
step by step please. Thank you
You will not be able to connect to the database that's supporting the APEX instance on apex.oracle.com. If you are hosting your own instance, it's no different than connecting to any other Oracle database.A quick code snippet can be found here: http://www.java2s.com/Code/Java/Database-SQL-JDBC/TestOracleJDBCDriverInstallation.htm. You will need a password for the user/schema that you wish to connect to. If you don't have one, then talk to your DBA.
BTW, please remember that no production-type application and data should be used on the public APEX instance.
Maybe your problem is (or was) that you cannot connect via JDBC using the users you administered in your APEX workspace.
It seems to me that APEX users are not regular users for DB connections via JDBC. If my assumption is right, then you need to create database user with sufficient privileges to access the workspace tables.

how to create a clean oracle database without excess tables in oracle 11g

why am i seeing these , ready made tables inside my newly created connection in my oracle 11g express, via oracle sql developer?,
what i did was, I just created a new connection, with username as system, and password as sasori....then when i clicked the "tables",
i saw alot of tables in it which i didn't created my self
AQ$_DEF$_AQERROR_F
AQ$_INTERNET_AGENTS
AQ$_INTERNET_AGENT_PRIVS
AQ$_QUEUE_TABLES
DEF$_DESTINATION
DEF$_PROPAGATOR
DEF$_PUSHED_TRANSACTIONS
LOGMNRC_DBNAME_UID_MAP
LOGMNRC_GSBA
and etc.etc...etc....
how can i create a new connection w/o those tables automatically created
A new database comes with a couple of standard users. This allows you to manage the database. One of the tasks is to create your own users.
First you create a connection as user system.
When you are connected as system, you can now create a new user.
Make a new connection using this new users credentials.

Resources