how to setup orcale wallet in flyway.conf - oracle

can someone help to setup correct jdbc connection string using oracle wallet in flyway conf?
If I tried sqlplus /#WALLET_NAME it works perfect, but by flyway it always wants credentials (no error).
I have flyway.url=jdbc:oracle:thin:/#WALLET_NAME also tried flyway.url=jdbc:oracle:thin:#WALLET_NAME
Thanks for any tips.

Maybe you are using the free flyway version. And it seems that's a paid feature.
See here and check the flyway teams label:
https://flywaydb.org/documentation/configuration/parameters/oracleWalletLocation
I tried to use Flyway. But, the free version doesn't support Oracle Wallet. And this is mandatory to use Oracle Autonomous Database on Oracle Cloud.
And the paid version is too expensive for me.
So, I decided to go back to Liquibase.

Related

Not able to create connection on oracle sql developer tool

I'm trying to create a new connection on the Oracle SQL Developer tool but I'm not able to. I just simply download the latest version of oracle SQL developer tool from the oracle site and unzip the folder and run. I haven't set any password or anything because there is nothing to do so.
Please guide how I can make a local connection on oracle Sql developer tool.
Well based on what you have described, you only installed SQL Developer, without having the Oracle Client installed on your device.
To be able to connec to to something in SQL Developer, you need to have a database to which you would like to connect. That basically means that either you need to install one, or you have one available in your System. But I will assume that you are new to this and have no database to connect to.
First things first, you will need to install the Oracle Client. A pretty good example can be found on here. You have a video tutorial which contains a step by step guide.
Once you finished installing the Oracle Client, you can proceed with unlocking the basic HR Schema, or create your own DB Schema. Again, a tutorial on how to achieve this step can be found here.
There are a few steps to follow, but in the end, if you follow them accordingly, you will be able to make a local connection on oracle using SQL Developer. Besides that, both the links will provide you with some explanation as well for each particular task.

OBIEE RPD reusability in OAS and OAC

May I know if RPD developed for OBIEE is reusable in OAC (Oracle Analytics Cloud) and OAS (Oracle Analytics Server) without any glitch or change? I was told by some experts that it is reusable , however wanted to cross validate if there is some required change or condition to be able to reuse.
Thanks
"Yee-ish". Depends on which version you're coming from and how badly things were done in the legacy version. I just gave a webinar on the subject:
Edit: Oracle doesn't allow direct linking, sorry.
First, go to the hub: https://go.oracle.com/analyticscommunity
From there search for "OAS Upgrade" or use the direct link. It will work whne you have a valid cookie.
https://gateway.on24.com/wcc/eh/2258334/lp/2587842/upgrading-from-obiee-to-oas-the-benefits-the-path-to-modernising-your-analytics-gianni-ceresa-datalysis-christian-berg-dimensionality
Adding to above, we recently migrated from OBIEE12214 to OAS and there were only a few issues in Migration. About RPD there was no issue we were able to use it just like that. Notice Repository Versions between the OAS and OBIEE12214 They are the same 356!
A tip when you do the BAR file migration from 12214 in the RPD the username and password for the connection pools are lost. Best advise is open the 12C rpd and save it using OAS Admintool and then upload it to OAS.

Unable to connect to Oracle using SSMA for Oracle

I'm trying use Microsoft SSMA for Oracle to migrate a database onto Azure SQL, but I can't get it going. I've double checked the server name, server port, Oracle SID, password... everything. No matter the type of entry screen I use, I can't get it to connect to the on-premise Oracle instance.
I'm pretty sure the login information is all correct, and I should have a working connector to Oracle since I connect to it from TOAD on a daily basis. I tried installing Oracle libraries per previous posts but not sure if I did it successfully because the issues still remains.
What are the troubleshooting steps I should take in order to make this work?
Log in screen:
      
Error 1:
Unable to find specified provider.
Compatible Oracle Data Access Connectivity libraries were not found on the machine. You can install them from Oracle product media or download it from Oracle web site.
Error 2:
Connection to Oracle failed.
ORA-01017: invalid username/password; logon denied
Error 3:
Connection to Oracle failed.
Network Naming: No LDAP server detected or configured
After a few more days of debugging, I was finally able to get SSMA to work. This answer helps to document my solution for personal use, as well as hopefully answer anyone else's question in the future.
After looking at the list of prerequisites to have SSMA running, I saw that I needed to have a correct Oracle client running. After some internal discussion, it was likely that the Oracle client SSMA needed was different than the one my computer already had for TOAD. The .Net provider for the TOAD connectors was probably not useful for SSMA.
We run Oracle 11g but I had to install Oracle 12c because 11g did not support Windows 10 apparently. Not too much of a roadblock here.
I found this guide to install Oracle client 12c pretty helpful. Shoutout to my alma mater.
Unfortunately the installer kept freezer, but using this former post, I was able to bypass it with the windows command:
setup.exe -ignoreprereq -J"-Doracle.install.client.validate.clientSupportedOSCheck=false"
After that, I saw different error messages when trying to connect SSMA. I kept trying different options with my logins until it worked. Provider: OLEDB Provider, Mode: Standard.
After being granted the appropriate permissions, I was finally able to access our internal tables and objects.
It was a pretty annoying question with a lot of rabbit holes along the way, but it was definitely worth it, being able to translate all our Oracle schemas to Azure SQL with a few clicks. Hope this helps!
Make sure to validate all steps mentioned below before going to install Microsoft SQL Server Migration Assistant for Oracle.
Make sure you have already installed SQL Server instance that will host the migrated database. Also keep in mind that you are not installing SQL Server Express edition to host the migrated database.
You must have sysadmin account to install SQL Server Migration Assistant for Oracle.
Make sure to install SSMA for Oracle on the server that will host newly migrated database on SQL Server.
It is recommended to install Oracle client software on your target system where SQL Server Instance is running.
Make sure your windows server has Microsoft Windows Installer 3.1 or a later version. Port 1434 should be open.
For more details, You can reference: How to Install SSMA for Oracle to Migrate Oracle Database to SQL Server.
Here's the Azure Database Migration Guide: Migrate Oracle to Azure SQL Database. As you prepare for migrating to the cloud, verify that your source environment is supported and that you have addressed any prerequisites. This will help to ensure an efficient and successful migration.
Connect to Oracle with Oracle Client Provider.
Azure also has other way can help you migrate Oracle database to Azure SQL database, such as with Azure Data Factory. If you still has the connect error. I think you can try to use it. Please reference this tutorial: Copy data from and to Oracle by using Azure Data Factory.
Hope this helps.

Is it possible to create Postgresql data source in Oracle Visual Analyzer?

I'm using OBIEE 12.2.1.2.0 and I want to create a connection to Postgresql there's no database type for Postgresql in 'Add a New Connection' form.
I would appreciate if any body help me to know whether VA supports Postgresql connections.
Since it's 12.2.1.2 all there's to be said is: The version doesn't have it yet. DV has it already though so the upcoming 12.2.1.4 on-premises should be up-to-date again as well.

Can Hibernate 2.1.7 work with Oracle Database 11gR2?

A quick and simple question: has anybody used the combination of Hibernate 2.1.7 and Oracle 11gR2 database? We have a legacy app that is using Hibernate 2.1.7 (which we are not planning to update at this point in time) and our database back-end is being upgraded to Oracle 11gR2. Is there any issues we need to be aware of?
Thanks!
With jdbc driver 11.1.0.6.0 you can connect to Oracle 11gR2. No problem.
A simple issue that you might run into is the case of username and passwords. In 11g this is case sensitive, before that version it was not case sensitive.
An other nice one is that accounts now default expire. Check that with your local dba.
You should test the app during the upgrade tests. Database features change, optimizer features change, so the app behaviour could change. Technically I see no reasons why it would not work but knowing some software projects .... Test it. In many cases it does not give any problems at all. A lot depends on the quality of the code. If your app's code is working because it is based on a bug in Oracle that is now solved, you will run into an issue.

Resources