Create your own short and simple jdbc java code

Assignment Help JAVA Programming
Reference no: EM131405255

Using the Schema you developed in Homework 1 for your e-Commerce project, design and implement a Virtual Private Database that limits database access. Your design should be based on two of your columns and two of your tables. (Hint: where col1 = value1 AND col2 = value2). Which columns and tables you choose is up to you and will be based on your initial design. You may alter your tables if it makes sense to do so.

In most cases you will need to create a separate policy and function for each of the two tables you select. Use the tutorial as a reference and follow the steps for creating the policy function, creating the virtual private database policy and testing the policy.
Deliverables:

1. Create a word or PDF document that describes your process, steps and results. Be sure to describe your schema and why you selected the tables and columns you did for your Private database. Provide screen shots showing the successful running of all of your SQL statements and testing your implementation. Be sure your testing is comprehensive and clearly demonstrates how the virtual private database restricts access to specific records. The document should be neat, well-organized, well-written and contain minimal grammar and spelling errors.

2. A .sql script file containing all SQL statements you used for this effort. All SQL statements should be in one file with appropriate connect statements to differentiate users who run the script. The script file should contain comments describe each major set of SQL statements.

The script should run perfectly without error when executed from the Oracle SQL*PLUS environment.

3. Create your own short and simple JDBC Java code example that inserts 2 records into an Oracle table of your creation.

From a design perspective, the Java functionality should be separated into methods and use prepared Statements for your SQL statements.

Post your fully functional code along with screen shots demonstrating the successful running of it.

Note this code should compile and run from the command prompt.

Reference no: EM131405255

Questions Cloud

Allocation of work assignments and resources : 1) The following table shows the allocation of work assignments and resources needed for an investment firm to make a decision on investing in company XYZ. a) Create Responsibility Matrix
What is the difference between data and information : What is the difference between data and information?What is granularity? What are the advantages of coarse-grain architecture and fine-grain architecture?
How large a simple random sample will be necessary : If a larger study is to be undertaken, how large a simple random sample will be necessary to have 99% con- fidence that the sample mean will not differ from the actual population mean by more than 1.0 points?
Financial variables that affect the price-earnings ratio : 1. Discuss some financial variables that affect the price-earnings ratio. 2. Explain how the Du Pont system of analysis breaks down return on assets. Also explain how it breaks down return on stockholders' equity.
Create your own short and simple jdbc java code : Using the Schema you developed in Homework 1 for your e-Commerce project, design and implement a Virtual Private Database that limits database access. Your design should be based on two of your columns and two of your tables. (Hint: where col1 = v..
Perception on the company performance : Managers continually use innovative ways to reach their objectives. The main issue is whether managers can influence earning reporting to achieve investors' perception on the company's performance.
Explain what is meant by the stocks expected return : FIN 3331- Explain what is meant by the stock's "Expected Return". Calculate each stock's coefficient of variation. Under what situation is the coefficient of variation useful? Briefly explain.
Major concerns regarding us energy policy : (1) Identify at least three major concerns regarding US energy policy. What are our vulnerabilities and challenges?
Source of competitive advantage : Do ethical practices affect a firm's ability to develop a brand name as a source of competitive advantage? If so, how does this happen? Identify two (2) brands that are a source of competitive advantage in part because of the firm's ethical practic..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd