How to tell if Oracle Streams is installed? - java

I am just setting up a test project using Oracle Streams.
My first problem is, is there something I need to install first? How can I tell if Oracle Streams is installed ?

Streams is automatically included in Oracle 9.2 Enterprise Edition and up. You may need to take additional steps to configure your instance to use Streams, however. This presentation covers a lot of the steps of configuration: http://www.scribd.com/doc/123217/Oracle-Streams-Step-by-Step-PPT

What version of oracle? It comes installed by default from at least 10g.

Related

Using Apache Cassandra with a java application build over Java 11?

Newbie to Cassandra. I understand current versions of Cassandra do not support Java 11.
Can you run Cassandra using Java 8 and access the instance with a Java application built over and running on Java 11?
If so, how can it be done? Can you show a simple example?
I'm looking to build a POC on my laptop for an L&L.
Thanks in advance for any and all assistance.
Cassandra and the application connecting to it run on different JVMs, so their versions are independent. Since the app will use a driver, you need to find one that works on Java 11. Either just try it out or search the projects' documentation for supported Java versions.
Looks like DataStax' driver is build on 9 to 14, so I would give that one a try.

Is Java 1.6 compatible with Neo4j?

I am using JDK 6, and my present database is MySQL 5.5.27.
As my data is in a tree structure I want to go for a graph database. I have a need for both in-memory and file system based datastore.
Is Neo4j compatible with Java 1.6? On their website and tutorial links, they have stated Java 7 as the requirement.
In the neo4j document it is written that:
Neo4j likes Java 1.6 JVMs and running in server mode so consider upgrading to that if you haven’t yet (or at least give the -server flag).
Details can be found here in neo4j docs.
So, this seems that it is compatible with jdk1.6.
According to the neo4j website as of now, the oldest downloadable version of the community edition is 1.9.9, and the documentation for 1.9.9 says that Oracle Java 7 is a prerequisite.
It may be possible to get older versions (e.g. a 2013 version) but you would be advised to contact Neo4j (the company) to find out a reliable place to get them.

Mysql to Postgresql conversion tool in Java

Is there a Java tool that can convert mysql dump into postgresql dump available.
Googling got me this, https://github.com/maxlapshin/mysql2postgres. Which is a ruby gem.
In my current development environment installing Ruby is not allowed.
The versions used
Mysql 5.1
Postgres 8.2
Note: mysqldump --compatible=postgresql didnt work!
Thanks.
First, PostgreSQL 8.2 is ancient and unsupported. Upgrade urgently. Read the release notes for each .0 version to find out about any compatibility issues you may face.
As for the conversion, you should generally do it in two phases. Convert and load the schema, then convert and load the data.
Generally automated tools won't do a good job converting database schemas. You should do a schema-only dump, run a conversion tool over it then hand-edit and hand-check it before loading it into PostgreSQL.
Once you have a schema that looks sane, do a data-only dump from MySQL and try loading that into a PostgreSQL instance with your converted schema loaded in it. mysqldump --compatible=postgresql may do a better job, though you'll probably need additional flags too.
If you try it and still don't have any luck, consider following up with more detail. Report exact error messages not just "doesn't work" if you follow up.
Consider downloading the advanced server and use the built-in migration toolkit.
However, you should as Craig said - upgrade to a supported version of postgresql.

MySQL installation help

I do Java EE 6 programming since not long ago. For my application server i use glassfishV3.0.
I decided not to use the derby/JavaDB that it came with the glassfish download,so i am moving to MySql database.
I am a bit confused, i think i should install MySql 5+, but which one?
5.1
...
or 5.5(This one seem to be the latest one).
Could you recommend me which one i should choose.
And also it would be very handy a podcast, video or similar.. tutorial for the installation.
Just one more doubt:
I do my programming in a winXP work station, is there any compatibility problem?
You want the Community Edition, 5.5 is the latest so go with that.
Download here.
Installation instructions.
Using mysql with Java.

What is a good alternative to text files as Database for java 1.3?

I know... you must be calling me nuts by now, for using text files as databases.
If thats ok to you, certainly using java 1.3 will be enough to call me insane.
Let me explain (yes there's an excuse for that):
I work for a company that for a thousand reasons can't (or won't) upgrade to java 5 or 6 and so on...
It doesn't allow us to create/modify databases on it's DB2 systems as well.
I know... It looks like they don't wanna let us do our jobs...
Well, enough said. The point is that we are using text files to feed our 300 reports.
300 and growing... And our servers are on the verge of breaking down...
I tried using SQLite, but could not find any connector/wrapper that would work with java 1.3...
And now I'm out of ideas...
If anyone has been through that road (and survived to tell), and could give me any piece of advise...actually, any idea, from anyone....
Edit: I forgot to mention that I can't install any database server. That's why I considered SQLite, 'cos it is a "serveless" database.
Java 1.3, ye gods, do you use punch cards as well? :)
On a serious note, HSQLDB claims to support every JDK, even the prehistoric 1.1 one. Maybe that will be of use to you.
There are a number of open-source embedded databases for Java that may fit your requirements:
http://java-source.net/open-source/database-engines
The big question is which (if any) of them still support Java 1.3. I suggest having a rummage around in their docs to see what you can find.
Versions of Apache Derby prior to 10.3.1.4 support JDK 1.3, see the release notes for 10.2.2.0.
It's worth noting that Derby uses the same SQL dialect as DB2 with a few differences over supported data types and functions, you can see more details at developerworks

Categories