I have downloaded Geonetwork and opened it with NetBeans IDE 8.0.2. In that project, there exists some SQL files. How can i run them or create database based on these files?
Edit:
I have done some more research, and all i need is to connect to H2 driver, but somehow, i can't. It shows me this:
Cannot establish a connection to jdbc:h2: using org.h2.Driver (IO Exception: "java.io.FileNotFoundException: C:\Program Files\NetBeans 8.0.2\ .lock.db (The filename, directory name, or volume label syntax is incorrect)"; "C:\Program Files\NetBeans 8.0.2\ .lock.db" [90031-152]). So, how to fix this?
How to create database from existing SQL files in NetBeans?
2.3k Views Asked by Stefan Mihajlovic At
1
There are 1 best solutions below
Related Questions in SQL
- Can MVC.NET prevent SQL-injection at razor or controller level?
- SQL server not returning all rows
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- Creating a parametrized field name for a SELECT clause
- Combine two rows based on common ID
- Column displays each count
- Slick query for one to optional one (zero or one) relationship
- Aggregate and count in PostgreSQL
- MAX and GROUP BY - SQL
- SQL statement for a tricky 2 table query
- How to create nested selects with sql?
- Pull and push data from and into sql databases using Excel VBA without pasting the data in Excel sheets
- Best Practice for adding columns to a Table in Oracle database
- SQL FIFO STACK using two tables
- SQL Query - Order by String (which contains number and chars)
Related Questions in NETBEANS-8
- java awt color chooser does't show in proper way in JavaFx
- semi colon missing eror
- How to populate data in table view with user input on button click in javaFX
- db.lck appears while compiling a java program using a derby database
- How to drill down into shared_ptr [Netbeans, clang++, gdb]
- How do I hide resource folders for other Maven build profiles in Netbeans?
- jsHint for NetBeans 8.0
- Populate JList with unique elements
- How can I set 3 values in spinner
- Bangla font is not showing in netbeans
- Wildfly 9 address already in use
- Folder other than Source Packages missing on Netbeans?
- How can I change java version on local linux server
- Restful Web Services Issue
- Problems running JavaFX application on Java 1.7u80
Related Questions in GEONETWORK
- How to configure the logo in metadata contacts
- Error with schema on tomcat
- Trying to setup environment for GeoNetwork metadata editor
- Enable Opensearch in Geonetwork (version > 3.2)
- GeOrchestra impossible to access to geonetwork administration
- Changes in html template do not reflect
- How to create database from existing SQL files in NetBeans?
- CSW Request : Search for phrase
- issues making default collection for solr
- Select a cataloging / metadata system?
- Error EPSG:4326 on Geonetwork 2.1.3
- Build Failure GeoNetwork opensource
- XSLT: Remove nodes with empty specific grandchild
- Authentication of Geonetwork using API
- Xpath | Change @codeListValue
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Go thru this document and you will have your database, Derby will give you a quick setup for your need.
NetBeans - Working with the Java DB (Derby) Database
Just remember to open your geonetwork sql files, from the file browser navigate to the location of the saved sql file and click open...
If you have other database already installed, such as MySQL, Oracle etc. You can check the documentation here (see database section)