To start out, copy this code into a file named SetupDerbyDatabase.java. You can even create and setup the database completely in Java. This means you don’t have to install anything special. It is really easy to use and comes with JDK 8. Creating your initial databaseĪpache Derby is an open source database. The extracted installation contains several subdirectories: ls bin demo docs index.html javadoc KEYS lib LICENSE NOTICE RELEASE-NOTES. After that, we extract the file downloaded. This blog post assumes you are reading chapter 10 of our OCP 8 book and have gotten up to the part that references this blog post. First, we can download the latest version of Apache Derby from here. The actual book covers what you need to know for the exam. It also includes the database setup code so you can simply copy/paste it. This blog post is meant to help anyone who has purchased our book, OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide: Exam 1Z0-809, download and run through the examples in the text. While it is certainly possible to get all the JDBC questions on the exam without running any code or understanding any SQL, it is nice to be able to follow along.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |