Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I've installed Oracle 12c, SQL Developer, and have created several tables...but in my schema.
I want to create a Oracle DB backend to a JAVA front end application.
Once created, are all schemas available to any user with the appropriate permissions or are they local to the user who created them?
That's more than one question. But, you create an account (or multiple accounts) to own the tables and stored procedures and functions. And yes, once created anyone can access it (as long as they have the required permissions). And yes, they can run the stored procedures and functions you create (again, if they have the required permissions).
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Storing MySQL database usernames and passwords in the source code would make it vulnerable to decompilers. Is it possibly to securely store these without the need of a RESTAPI? (This is on a android application)
Database usernames and passwords and more generally credentials should be stored indeed in a safe place.
Besides, they may differ according to the runtime environment where the application is deployed on.
Coupling this information to the build is both not safe and not flexible.
A good practice is storing them as properties on the running environment where only authorized users (system admin) may read it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to port my database from MySQL to Oracle 12c. What is the best way to do that?
My project is written in Java.
The Best way to start with is Oracle's utility which you can found Here.
But then you also need to verify data types of your fields because it creates problem with some complex data types like BLOB etc
Oracle has provide the documentation for migration.
http://www.oracle.com/technetwork/database/migration/mysql-093223.html
For migrating application, If you are using any ORM then you have start working on the configurations first.
If your application has a lot of SQLs/procedures then you need help from your DBA team. They can migrate data as well as procedures etc.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am creating a program that searches a folder and catalogs all the files it finds in a database. I know how to create a localhost database (or one hosted on a web) and connect to that. But that would require anyone who I give this app to, to have set up their own database.
I would like to be able to have a specific database created for only this application, that lives in the same root folder with the application and can be moved from computer to computer (preferably MySQL). Is this possible?
Turns out what I need is an Embedded database (Apache Derby, SQLite). Thanks guys in the comments!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am building a small java application that shall run locally on a system. The data I intend to input is little stuff like my daily expenses, a couple of contacts I have, and a couple of notes of things I want to remember.
To save the data for this matter I think installing a database like MySQL or Oracle would be an overkill. In my past projects I always used those databases.
How would I have to manage the data of a small program? Are there any ready to use solutions in the java world? Maybe with the possibility to use it together with JPA?
You should look into Apache Derby:
http://db.apache.org/derby/
or HyperSQL:
http://hsqldb.org/
They're both lightweight database engines that you can fire up on application start-up, ideal for smaller projects. They also both have Hibernate dialects for JPA.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I'm getting data as an Access file.
My application uses PostgreSQL/Java. I'd like to convert the Access database to PostgreSQL.
can any one help me to code this
I doubt there is any simple automatic method. You will have to create ddl statements to make the tables in postgresql (not sure if you can export ddl from access), export the data from access to a csv, and then use postgresql copy from command to populate the tables.
Or you could consider trying this tool:
http://docman.sourceforge.net/home_html/projects/sql/exportSQL3.txt
but it looks like a dev version, it may not be mature.