Can Hibernate 2.1.7 work with Oracle Database 11gR2? - oracle

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.

Related

how to setup orcale wallet in flyway.conf

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.

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.

Replication advice Oracle 11g

We have a requirement to implement replication (of transactions) from a production database to a test database (across a db link). We're using 11g enterprise edition.
This is because it's not just the production data that's needed, the intention is that code releases in the test database would be tested against real-world transactions from the prod system, without the need for those transactions to be done manually. If a transaction fails then in the test system that worked in the prod system, something is wrong with the release.
It doesn't necessarily have to be in real-time however, a delay is acceptable.
There must be zero risk though on the production transactions failing, due an issue with the replication.
What are the options here? I believe Streams is deprecated in 12c, should that be of concern? GoldenGate is additional ££, which I'm afraid rules it out in this case. Some kind of custom trigger-based solution... too much risk on the prod system as far as I can see.
Any advice greatly appreciated!
As of Oracle release 12c (12.1.x), Oracle Advanced Replication and Oracle Streams are being discontinued. Oracle Golden Gate is going to replace all features of Oracle Advanced Replication and Oracle Streams.
Please review this list of possible alternatives (to name a few):
SharePlex
DBVisit
DBConvert

Oracle database - use external Java

I'm looking to find a way how to use higher versions of Java (1.6,1.7,...) instead of Java 1.4 which is available for Java stored procedures in a Oracle 10g.
I'm thinking about deploying a GlassFish server on the database server, and deploy web applications which functionalities would I use by calling them from PL/SQL.
Reasons for using Java instead of PL/SQL would be communications with various devices, calling and deploying web services, text processing...
Does anybody have a better, simpler idea on how to use higher version Java from PL/SQL in Oracle 10g database?
Forget about that. There used to be something called Jserver several years ago, but it was abandoned by Oracle. Theoretically you could use Oracle ver 12c which uses JVM ver 1.6. But even this JVM is slightly different. For example it's GC can kill threads when they are not bound to a "live" DB connection. So you may encounter various interesting problems.
There is no way how to "upgrade" JVM inside current Oracle DB installation.

HSQLDB Manager?

I have tried SQLite in Java, but the speed is slow due to the JDBC driver. Then I tried HSQLDB and thought the speed is good, but I cannot find a good management tool for HSQLDB such as phpMyAdmin for MySQL or SQLite Manager for SQLite.
I'd like to use the manager tool to prepare the test data for unit tests, or use the manager tool to navigate the data after doing some small experiments.
Is there any good tool?
Here are a couple other suggestions you might checkout:
Squirrel SQL http://squirrel-sql.sourceforge.net/
Execute Query http://executequery.org/
Razor SQL (paid) http://www.razorsql.com/
Razor has the best feature set, but is paid. The others are good at different things and worth checking into.
This would only have meaning if you are running in HSQLDB server mode. If you are running in memory or file mode, then you either can't access the DB from another process or doing so would lock it.
In Server mode you could use any universal client. JDBC driver is the hsqldb.jar itself.
Actually HSQL brings its own management tool (which is not super). See http://hsqldb.org/doc/guide/apf.html
I've used Squirrel SQL. It's a universal client for any JDBC database.
See: http://squirrel-sql.sourceforge.net/

Resources