CHAPTER 44. Java Stored Procedures

Size: px
Start display at page:

Download "CHAPTER 44. Java Stored Procedures"

Transcription

1 CHAPTER 44 Java Stored Procedures

2 752 Oracle Database 12c: The Complete Reference You can write stored procedures, triggers, object type methods, and functions that call Java classes. In this chapter, you learn about a sample set of Java procedures, along with the commands required to execute a procedure. To get the most from this chapter, you should already be familiar with Java structures (refer to Chapter 42) and Java classes and JDBC (Chapter 43). You should also be familiar with the basic syntax and usage of stored procedures (refer to Chapter 35). To focus on the database access operations of the Java classes, the example in this chapter is brief. The following class, called BookshelfDML, contains methods to insert and delete records from the BOOKSHELF table. In this example, the calculation of the area is not performed; rather, all required values are supplied during the INSERT. The following listing shows the BookshelfDML.java class file: import java.sql.*; import java.io.*; import oracle.jdbc.*; public class BookshelfDML { public static void insertbookshelf (String title, String publisher, String categoryname, String rating) throws SQLException { String sql = "INSERT INTO BOOKSHELF VALUES (?,?,?,?)"; try { Connection conn = DriverManager.getConnection("jdbc:default:connection:"); PreparedStatement pstmt = conn.preparestatement(sql); pstmt.setstring(1, title); pstmt.setstring(2, publisher); pstmt.setstring(3, categoryname); pstmt.setstring(4, rating); pstmt.executeupdate(); pstmt.close(); } catch (SQLException e) {System.err.println(e.getMessage());} } public static void updatebookshelf (String rating, String title) throws SQLException { String sql = "UPDATE BOOKSHELF SET Rating =? " + "WHERE Title =? "; try { Connection conn = DriverManager.getConnection("jdbc:default:connection:"); PreparedStatement pstmt = conn.preparestatement(sql); pstmt.setstring(1, rating); pstmt.setstring(2, title); pstmt.executeupdate(); pstmt.close(); } catch (SQLException e) {System.err.println(e.getMessage());} }

3 CHAPTER 44: Java Stored Procedures 753 public static void deletebookshelf (String title) throws SQLException { String sql = "DELETE FROM BOOKSHELF WHERE TITLE =?"; try { Connection conn = DriverManager.getConnection("jdbc:default:connection:"); PreparedStatement pstmt = conn.preparestatement(sql); pstmt.setstring(1, title); pstmt.executeupdate(); pstmt.close(); } catch (SQLException e) {System.err.println(e.getMessage());} } } The BookshelfDML.java file defines the BookshelfDML class. Within the BookshelfDML class, there are separate methods for processing INSERTs, UPDATEs, and DELETEs. In each of the method specifications, the datatypes for the BOOKSHELF table s related columns are specified (in this example, they are all VARCHAR2 datatypes). These parameters use the datatypes provided as part of Oracle s class libraries. If you use the standard Java datatypes, you may encounter datatype-related problems during the class execution. The next part of the INSERT method inserts the values into the BOOKSHELF table: string sql = "insert into bookshelf values (?,?,?,?)"; The four variables are defined via setstring (setint would be used for integers): pstmt.setstring(1, title); pstmt.setstring(2, publisher); pstmt.setstring(3, categoryname); pstmt.setstring(4, rating); Note that the variable names are case sensitive they must exactly match the names declared earlier. The DELETE method is very similar in structure. Its SQL statement is string sql = "delete from bookshelf where title =?"; Note that no part of the class creates a connection to the database, in contrast with the examples in Chapter 43. The connection used to invoke this class will provide the connection context for the class s methods. You can verify that the class compiles properly by processing it via the Java compiler. Note that this step will not validate your SQL: javac BookshelfDML.java This step should complete successfully. If you encounter errors during this compilation step, check your environment configuration (see the README file supplied with your Oracle software) and your class file.

4 754 Oracle Database 12c: The Complete Reference Loading the Class into the Database You can use the loadjava utility to load the class into the database. The syntax for the loadjava utility is as follows: loadjava {-user -u} [-option_name -option_name...] filename filename... The options available for the loadjava utility are shown in Table For example, to load the BookshelfDML.java file into the Practice schema in an instance named orcl, you can use the following command: loadjava -user -verbose BookshelfDML.java NOTE Depending on your specific configuration, you may need to use the -encoding argument as well. You should see a series of comments related to the loading of the class into the database. If any errors are reported, the load will not complete. NOTE The name of the class should not match the name of any of the existing objects in your schema. Argument -casesensitivepub -cleargrants -debug -definer -dirprefix prefix Description Publishing creates case-sensitive names. Unless the names are already all uppercase, you will usually have to quote the names in PL/SQL. The -grant option causes the loadjava tool to grant EXECUTE privileges to classes, sources, and resources. However, it does not cause it to revoke any privileges. If -cleargrants is specified, then the loadjava tool revokes any existing grants of execute privilege before it grants the EXECUTE privilege to the users and roles specified by the -grant operand. For example, if the intent is to have execute privilege granted to only SCOTT, then the proper options are -grant scott -cleargrants This turns on SQL logging. By default, class schema objects run with the privileges of their invoker. This option confers definer privileges on classes instead. This option is conceptually similar to the UNIX setuid facility. For any files or JAR entries that start with prefix, this prefix is deleted from the name before the name of the schema object is determined. For classes and sources, the name of the schema object is determined by their contents. Therefore, this option only affects resources. TABLE Loadjava Utility Options

5 CHAPTER 44: Java Stored Procedures 755 Argument -encoding filenames -fileout file -force -genmissing -genmissingjar jar_file -grant Description This argument identifies the source file encoding for the compiler, overriding the matching value, if any, in JAVA$OPTIONS. Values are the same as for the javac -encoding option. If you do not specify an encoding on the command line or in JAVA$OPTIONS, then the encoding is assumed to be the value returned by: System.getProperty("file.encoding"); This option is relevant only when loading a source file. You can specify any number and combination of.java,.class,.sqlj,.ser,.jar,.zip, and resource filename arguments. This displays all messages to the designated file. This argument forces files to be loaded, even if they match digest table entries. This argument determines what classes and methods are referred to by the classes that the loadjava tool is asked to process. Any classes not found in the database or file arguments are called missing classes. This option generates dummy definitions for missing classes containing all the referred methods. It then loads the generated classes into the database. This processing happens before the class resolution. Because detecting references from source is more difficult than detecting references from class files, and because source is not generally used for distributing libraries, the loadjava tool will not attempt to do this processing for source files. The schema in which the missing classes are loaded will be the one specified by the -user option, even when referring classes are created in some other schema. The created classes will be flagged so tools can recognize them. In particular, flagging is needed so the verifier can recognize the generated classes. This option performs the same actions as -genmissing. In addition, it creates a JAR file, jar_file, that contains the definitions of any generated classes. This argument grants the EXECUTE privilege on loaded classes to the listed users. Any number and combination of usernames can be specified, separated by commas, but not spaces. Granting the EXECUTE privilege on an object in another schema requires that the original CREATE PROCEDURE privilege was granted via the WITH GRANT options. Note: -grant is a cumulative option. Users are added to the list of those with the EXECUTE privilege. To remove privileges, use the -cleargrants option. The schema name should be in uppercase. TABLE Loadjava Utility Options (continued)

6 756 Oracle Database 12c: The Complete Reference Argument -help -jarasresource -jarsasdbobjects -noaction -norecursivejars -nosynonym -nousage -noverify -oci -oci8 -prependjarnames Description This option displays a message on how to use the loadjava tool and its options. Instead of unpacking the JAR file and loading each class within it, this argument loads the whole JAR file into the schema as a resource. This argument indicates that JARs processed by the current loadjava tool command should be stored in the database as database resident JARs. This argument indicates that no action should be taken on the files. Actions include creating the schema objects, granting execute permissions, and so on. The normal use of this argument is within an option file to suppress creation of specific classes in a JAR. When used on the command line, unless overridden in the option file, it will cause the loadjava tool to ignore all files, except that JAR files will still be examined to determine if they contain a META-INF/loadjava-options entry. If so, then the option file is processed. The -action option in the option file overrides the -noaction option specified on the command line. This argument treats JAR files contained in other JAR files as resources. This is the default behavior. This option is used to override the -recursivejars option. This default behavior does not create a public synonym for the classes. This option overrides the -synonym option. This option suppresses the usage message that is given if no option is specified or if the -help option is specified. This argument sets the classes to be loaded without bytecode verification. oracle.aurora.security.jserverpermission(verifier) must be granted to use this option. To be effective, this option must be used in conjunction with -resolve. This option directs the loadjava tool to communicate with the database using the JDBC Oracle Call Interface (OCI) driver. -oci and -thin are mutually exclusive. If neither is specified, then -oci is used by default. Choosing -oci implies the syntax of the -user value. You do not need to provide the URL. This option is used with the -jarsasdbobjects option. This option enables classes with the same names coming from different JARs to coexist in the same schema. It does this by prefixing a version of the name of the JAR to the class name to produce a unique name for the database object. TABLE Loadjava Utility Options (continued)

7 CHAPTER 44: Java Stored Procedures 757 Argument -proxy host:port -publish package -pubmain number -recursivejars -resolve -resolveonly Description If you do not have physical access to the server host or the loadjava client for loading classes, resources, and Java source, you can use an HTTP URL with the loadjava tool to specify the JAR, class file, or resource, and then load the class from a remote server. host is the host name or address, and port is the port the proxy server is using. The URL implementation must be such that the loadjava tool can determine the type of file to load that is, JAR, class, resource, or Java source. For example: loadjava -u scott -r -v -proxy proxy_server: /the/path/my.jar Password: password When the URL support is used inside the server, you should have proper Java permissions to access the remote source. The URL support also includes ftp: and file: URLs. The package is created or replaced by the loadjava tool. Wrappers for the eligible methods are defined in this package. Through the use of option files, a single invocation of the loadjava tool can be instructed to create more than one package. Each package undergoes the same name transformations as the methods. A special case applied to methods with a single argument, which is of type java.lang.string. Multiple variants of the SQL procedure or function are created, each of which takes a different number of arguments of type VARCHAR. In particular, variants are created taking all arguments up to and including number. The default value is 3. This option applies to main, as well as any method that has exactly one argument of type java.lang.string. Normally, if the loadjava tool encounters an entry in a JAR with a.jar extension, it loads the entry as a resource. If this option is specified, then the loadjava tool processes contained JAR files as if they were top-level JAR files. That is, it reads their entries and loads classes, sources, and resources. This option compiles, if necessary, and resolves external references in classes after all classes on the command line have been loaded. If you do not specify the -resolve option, the loadjava tool loads files, but does not compile or resolve them. This tells the loadjava tool to skip the initial creation step. It will still perform grants, resolves, create synonyms, and so on, however. TABLE Loadjava Utility Options (continued)

8 758 Oracle Database 12c: The Complete Reference Argument -resolver -schema -stdout -stoponerror -synonym -tableschema schema -thin -unresolvedok -user -verbose Description This option specifies an explicit resolver specification, which is bound to the newly loaded classes. If -resolver is not specified, then the default resolver specification, which includes current user s schema and PUBLIC, is used. This argument designates the schema where schema objects are created. If not specified, then the -user schema is used. To create a schema object in a schema that is not your own, you must have the CREATE PROCEDURE or CREATE ANY PROCEDURE privilege. You must have CREATE TABLE or CREATE ANY TABLE privilege. Finally, you must have the JServerPermission loadlibraryinclass for the class. This option directs the output to stdout, rather than to stderr. Normally, if an error occurs while the loadjava tool is processing files, it issues a message and continues to process other classes. This option makes it stop when an error occurs. In addition, it reports all errors that apply to Java objects and are contained in the USER_ERROR table of the schema in which classes are being loaded, except that it does not report ORA errors. These are errors that are generated when a class cannot be resolved because a referred class could not be resolved. Therefore, these errors are a secondary effect of whatever caused a referred class to be unresolved. This argument creates a PUBLIC synonym for loaded classes, making them accessible outside the schema into which they are loaded. To specify this option, you must have the CREATE PUBLIC SYNONYM privilege. If -synonym is specified for source files, then the classes compiled from the source files are treated as if they had been loaded with -synonym. This option creates the loadjava tool internal tables within the specified schema, rather than in the Java file destination schema. This option directs the loadjava tool to communicate with the database using the JDBC Thin driver. Choosing -thin implies the syntax of the -user value. You do need to specify the appropriate URL through the -user option. When combined with -resolve, this argument ignores unresolved errors. This argument specifies a username, password, and database connection string. The files will be loaded into this database instance. This argument directs the loadjava tool to display detailed status messages while running. Use the -verbose option to learn when the loadjava tool does not load a file because it matches a digest table entry. TABLE Loadjava Utility Options (continued)

9 CHAPTER 44: Java Stored Procedures 759 The AreasDML class is now loaded into the database. During loading, Oracle will create multiple tables and Java objects within your schema. NOTE You can load Java files manually from local BFILE or LOB columns via the CREATE JAVA [source class resource ] commands. If you are running your database on a stand-alone server and you have not defined a service name for the database, you need to specify a full connection specification for the loadjava program call. The format is loadjava -user practice/practice@localhost:1521:orcl -v BookshelfDML.java How to Access the Class Now that the BookshelfDML class has been loaded into the database, you must create a procedure to call each of the methods. The CREATE PROCEDURE command in the following listing creates a procedure called InsertBookshelfViaJava: create or replace procedure InsertBookshelfViaJava (title varchar2, publisher varchar2, category_name varchar2, rating varchar2 ) as language java name 'BookshelfDML.insertBookshelf(java.lang.String, java.lang.string, java.lang.string, java.lang.string)'; / This brief procedure has four parameters the four columns of the BOOKSHELF table. Its LANGUAGE JAVA clause tells Oracle that the procedure is calling a Java method. The name of the method is specified in the NAME clause (be consistent with your use of capital letters). The formats for the Java method call are then specified. A separate procedure deletes the BOOKSHELF table s records via a method call: create or replace procedure DeleteBookshelfViaJava (Title varchar2 ) as language java name 'BookshelfDML.deleteBookshelf(java.lang.String)'; / A third procedure update the RATING value based on TITLE: create or replace procedure UpdateBookshelfViaJava (rating varchar2, title varchar2 ) as language java name 'BookshelfDML.updateBookshelf(java.lang.String, java.lang.string)'; /

10 760 Oracle Database 12c: The Complete Reference Now, go into SQL*Plus and use the CALL command to execute the Java classes: call InsertBookshelfViaJava('TEST','TESTPub','ADULTNF','2'); You ll see this response: Call completed. Instead of using CALL, you can execute the procedure within a PL/SQL block: begin InsertBookshelfViaJava('TEST','TESTPub','ADULTNF','2'); end; / The CALL command passes the column values as parameters to the InsertBookshelfViaJava stored procedure. It formats them according to the specifications in the NAME clause and passes them to the BookshelfDML.insertBookshelf method. That method uses your current connection to execute its commands, and the row is inserted. Most of these libraries and classes will not have been loaded yet within the database. That s a lot of steps to go through, so performance will be affected the first time you run the Java stored procedure, but subsequent executions will be much faster. You can verify its success by querying the BOOKSHELF table: column Title format a10 select * from bookshelf where title like 'TEST'; TITLE PUBLISHER CATEGORYNAME RA TEST TESTPub ADULTNF 2 You can update the rating via UpdateBookshelfViaJava: begin UpdateBookshelfViaJava('3','TEST'); end; / select * from bookshelf where title like 'TEST'; TITLE PUBLISHER CATEGORYNAME RA TEST TESTPub ADULTNF 3 And you can delete that record via a call to DeleteBookshelfViaJava: begin DeleteBookshelfViaJava('TEST'); end; / select * from BOOKSHELF where Title like 'TEST'; no rows selected

11 CHAPTER 44: Java Stored Procedures 761 The call to DeleteBookshelfViaJava will complete much faster than the call to InsertBookshelfViaJava because your Java libraries will have been loaded the first time you executed InsertBookshelfViaJava. If your insert is not acceptable for example, if you attempt to insert a character string into a NUMBER datatype column Oracle will display an error. When debugging Java stored procedures, you can call System.err.println from within your Java code, as shown in the BookshelfDML.java listing earlier in this chapter. To display the output within your SQL*Plus session, you must first execute the following commands: set serveroutput on call dbms_java.set_output(10000); Calling DBMS_JAVA.SET_OUTPUT redirects the output of System.out.println to DBMS_ OUTPUT.PUT_LINE. Calling Java Stored Procedures Directly Oracle provides an application programming interface (API) to support direct invocation of static Java stored procedures. The classes for this method are found in the oracle.jpub.reflect package, so you must import this package into your client-side code. The Java interface for the API is public class Client { public static String getsignature(class[]); public static Object invoke(connection, String, String, String, Object[]); public static Object invoke(connection, String, String, Class[], Object[]); } When accessed via this API, the procedures arguments cannot be OUT or IN OUT. Returned values must all be part of the function result. Note that the method invocation uses invoker s rights. See the Java developer s guides that accompany the Oracle software installation for further details on the API. Where to Perform Commands The BookshelfDML example provides an overview of the process of implementing Java stored procedures. Suppose you now want to make the procedures more complex, involving additional tables and calculations. As shown in previous chapters, you can perform those calculations either in Java or in PL/SQL. Your choice of a platform and language for your data processing impacts your performance. In general, you pay a performance penalty the first time you execute a Java stored procedure (as the classes are loaded), but subsequent executions will not pay the same penalty. If you repeatedly execute the same commands, the performance impact of the first execution is minimal. Logging out and logging back in impacts your performance, but not nearly as much as executing a procedure the first time. When you use Java stored procedures, be aware of the way in which the application interacts with Oracle. If your users frequently log out and log back in, they will pay a performance penalty the first time they execute the procedure following each

12 762 Oracle Database 12c: The Complete Reference login. Furthermore, the first execution of the procedure following a database startup will pay the most severe performance penalty. The performance impact of these actions must be taken into account during the design stage of your application development. Here are some tips to reduce the performance penalties associated with the Java stored procedure calls: Execute each Java stored procedure following database startup. In the case of the BookshelfDML example, this may involve inserting and deleting a test record following each startup. Reduce the number of short-term database connections (for example, by connection pooling). Perform most of your direct database manipulation via standard SQL and PL/SQL. Java is an appropriate technology to use for many computational processes and for display manipulation. In general, SQL and PL/SQL are slightly more efficient than Java for database connections and data manipulation. However, the performance of Java within Oracle makes it a strong alternative to PL/SQL; the primary source of the performance penalty for Java stored procedures is the time required to go through the PL/SQL wrapper. When designing applications that integrate Java, SQL, and PL/SQL, focus on using each language for the functions that it performs best. If your code involves many loops and manipulations of data, Java may outperform PL/SQL. The costs of using Java for Java object creation and the PL/SQL header interaction may be offset by the improved performance Java yields during the actual work. Note that the compiled native PL/SQL first available in Oracle Database 11g should provide a strong alternative to Java from a performance perspective. In general, actions that involve selecting data from the database and manipulating it are best handled by PL/SQL and SQL. Computations on the selected data may be processed faster by Java. In your application design, be sure to use the proper tool for the proper function, and avoid unnecessary performance penalties.

Breaking the PL/SQL Barrier for Procedures Calling Java Routines from Validation/Derivation Procedures. Thomas Struzik

Breaking the PL/SQL Barrier for Procedures Calling Java Routines from Validation/Derivation Procedures. Thomas Struzik Breaking the PL/SQL Barrier for Procedures Calling Java Routines from Validation/Derivation Procedures Thomas Struzik DBMS Consulting 12 October 2010 Validation/Derivation Procedures Acknowledgements Many

More information

DBMS_JAVA. LONGNAME and SHORTNAME. Appendix A

DBMS_JAVA. LONGNAME and SHORTNAME. Appendix A DBMS_JAVA The DBMS_JAVA package is somewhat of an enigma. It is a PL/SQL package but it is not documented in the Supplied PL/SQL Packages Reference guide. It is designed to support Java in the database,

More information

Oracle8i. Java Tools Reference. Release 3 (8.1.7) July 2000 Part No. A

Oracle8i. Java Tools Reference. Release 3 (8.1.7) July 2000 Part No. A Oracle8i Java Tools Reference Release 3 (8.1.7) July 2000 Part No. A83727-01 Java Tools Reference, Release 3 (8.1.7) Part No. A83727-01 Release 3 (8.1.7) Copyright 1996, 2000, Oracle Corporation. All rights

More information

Question: Which statement would you use to invoke a stored procedure in isql*plus?

Question: Which statement would you use to invoke a stored procedure in isql*plus? What are the two types of subprograms? procedure and function Which statement would you use to invoke a stored procedure in isql*plus? EXECUTE Which SQL statement allows a privileged user to assign privileges

More information

Enterprise Java Unit 1- Chapter 6 Prof. Sujata Rizal

Enterprise Java Unit 1- Chapter 6 Prof. Sujata Rizal Introduction JDBC is a Java standard that provides the interface for connecting from Java to relational databases. The JDBC standard is defined by Sun Microsystems and implemented through the standard

More information

CHAPTER 5. Extending PL/SQL with Java Libraries. ORACLE Series / Expert Oracle PL/SQL / Hardman & McLaughlin / / Chapter 5 Blind Folio 5:103

CHAPTER 5. Extending PL/SQL with Java Libraries. ORACLE Series / Expert Oracle PL/SQL / Hardman & McLaughlin / / Chapter 5 Blind Folio 5:103 Blind Folio 5:103 CHAPTER 5 Extending PL/SQL with Java Libraries Thursday, August 18, 2005 9:57:32 AM 104 Expert Oracle PL/SQL E xtending stored programs with Java is a very popular solution. PL/SQL is

More information

Database Programming. Week 9. *Some of the slides in this lecture are created by Prof. Ian Horrocks from University of Oxford

Database Programming. Week 9. *Some of the slides in this lecture are created by Prof. Ian Horrocks from University of Oxford Database Programming Week 9 *Some of the slides in this lecture are created by Prof. Ian Horrocks from University of Oxford SQL in Real Programs We have seen only how SQL is used at the generic query interface

More information

ERwin and JDBC. Mar. 6, 2007 Myoung Ho Kim

ERwin and JDBC. Mar. 6, 2007 Myoung Ho Kim ERwin and JDBC Mar. 6, 2007 Myoung Ho Kim ERwin ERwin a popular commercial ER modeling tool» other tools: Dia (open source), Visio, ConceptDraw, etc. supports database schema generation 2 ERwin UI 3 Data

More information

Part I: Stored Procedures. Introduction to SQL Programming Techniques. CSC 375, Fall 2017

Part I: Stored Procedures. Introduction to SQL Programming Techniques. CSC 375, Fall 2017 Introduction to SQL Programming Techniques CSC 375, Fall 2017 The Six Phases of a Project: Enthusiasm Disillusionment Panic Search for the Guilty Punishment of the Innocent Praise for non-participants

More information

Using Java - for PL/SQL and Database Developers Student Guide

Using Java - for PL/SQL and Database Developers Student Guide Using Java - for PL/SQL and Database Developers Student Guide D71990GC10 Edition 1.0 June 2011 D73403 Authors Priya Shridhar Prathima Trivedi Technical Contributors and Reviewers Andrew Rothstein Ashok

More information

Oracle Exam 1z0-144 Oracle Database 11g: Program with PL/SQL Version: 8.5 [ Total Questions: 103 ]

Oracle Exam 1z0-144 Oracle Database 11g: Program with PL/SQL Version: 8.5 [ Total Questions: 103 ] s@lm@n Oracle Exam 1z0-144 Oracle Database 11g: Program with PL/SQL Version: 8.5 [ Total Questions: 103 ] Question No : 1 What is the correct definition of the persistent state of a packaged variable?

More information

ADVANTAGES. Via PL/SQL, all sorts of calculations can be done quickly and efficiently without use of Oracle engine.

ADVANTAGES. Via PL/SQL, all sorts of calculations can be done quickly and efficiently without use of Oracle engine. 1 PL/SQL INTRODUCTION SQL does not have procedural capabilities. SQL does not provide the programming techniques of condition checking, looping and branching that is required for data before permanent

More information

Oracle Database: Program with PL/SQL

Oracle Database: Program with PL/SQL Oracle University Contact Us: + 420 2 2143 8459 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn This Oracle Database: Program with PL/SQL training starts with an introduction

More information

INTRODUCTION TO JDBC - Revised spring

INTRODUCTION TO JDBC - Revised spring INTRODUCTION TO JDBC - Revised spring 2004 - 1 What is JDBC? Java Database Connectivity (JDBC) is a package in the Java programming language and consists of several Java classes that deal with database

More information

INTRODUCTION TO JDBC - Revised Spring

INTRODUCTION TO JDBC - Revised Spring INTRODUCTION TO JDBC - Revised Spring 2006 - 1 What is JDBC? Java Database Connectivity (JDBC) is an Application Programmers Interface (API) that defines how a Java program can connect and exchange data

More information

Vendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database 11g: Program with PL/ SQL. Version: Demo

Vendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database 11g: Program with PL/ SQL. Version: Demo Vendor: Oracle Exam Code: 1Z0-144 Exam Name: Oracle Database 11g: Program with PL/ SQL Version: Demo QUESTION NO: 1 View the Exhibit to examine the PL/SQL code: SREVROUPUT is on for the session. Which

More information

Oracle Database 10g Java Web

Oracle Database 10g Java Web Oracle Database 10g Java Web 2005 5 Oracle Database 10g Java Web... 3... 3... 4... 4... 4 JDBC... 5... 5... 5 JDBC... 6 JDBC... 8 JDBC... 9 JDBC... 10 Java... 11... 12... 12... 13 Oracle Database EJB RMI/IIOP...

More information

Conditionally control code flow (loops, control structures). Create stored procedures and functions.

Conditionally control code flow (loops, control structures). Create stored procedures and functions. TEMARIO Oracle Database: Program with PL/SQL Ed 2 Duration: 5 Days What you will learn This Oracle Database: Program with PL/SQL training starts with an introduction to PL/SQL and then explores the benefits

More information

5. Single-row function

5. Single-row function 1. 2. Introduction Oracle 11g Oracle 11g Application Server Oracle database Relational and Object Relational Database Management system Oracle internet platform System Development Life cycle 3. Writing

More information

CSCI/CMPE Object-Oriented Programming in Java JDBC. Dongchul Kim. Department of Computer Science University of Texas Rio Grande Valley

CSCI/CMPE Object-Oriented Programming in Java JDBC. Dongchul Kim. Department of Computer Science University of Texas Rio Grande Valley CSCI/CMPE 3326 Object-Oriented Programming in Java JDBC Dongchul Kim Department of Computer Science University of Texas Rio Grande Valley Introduction to Database Management Systems Storing data in traditional

More information

Oracle Database 12c: Program with PL/SQL Duration: 5 Days Method: Instructor-Led

Oracle Database 12c: Program with PL/SQL Duration: 5 Days Method: Instructor-Led Oracle Database 12c: Program with PL/SQL Duration: 5 Days Method: Instructor-Led Course Description This training starts with an introduction to PL/SQL and then explores the benefits of this powerful programming

More information

Java Database Connectivity (JDBC) 25.1 What is JDBC?

Java Database Connectivity (JDBC) 25.1 What is JDBC? PART 25 Java Database Connectivity (JDBC) 25.1 What is JDBC? JDBC stands for Java Database Connectivity, which is a standard Java API for database-independent connectivity between the Java programming

More information

Developer. 1 enterprise. Professional Guide. Oracle Advanced PL/SQL. example questions for 1Z0-146 examination

Developer. 1 enterprise. Professional Guide. Oracle Advanced PL/SQL. example questions for 1Z0-146 examination Oracle Advanced PL/SQL Developer Professional Guide Master advanced PL/SQL concepts along with plenty of example questions for 1Z0-146 examination Saurabh K. Gupta [ 1 enterprise I professional expertise

More information

Database Application Development

Database Application Development Database Application Development Linda Wu (CMPT 354 2004-2) Topics SQL in application code Embedded SQL JDBC SQLJ Stored procedures Chapter 6 CMPT 354 2004-2 2 SQL in Application Code SQL commands can

More information

When a database trigger routine does not have to take place before the triggering event, which timing should you assign to the trigger?

When a database trigger routine does not have to take place before the triggering event, which timing should you assign to the trigger? Page 1 of 80 Item: 1 (Ref:1z0-147e.9.2.4) When a database trigger routine does not have to take place before the triggering event, which timing should you assign to the trigger? nmlkj ON nmlkj OFF nmlkj

More information

Oracle 11g Table Name Length Limit

Oracle 11g Table Name Length Limit Oracle 11g Table Name Length Limit Home / Middleware / Oracle Fusion Middleware Online Documentation Library, 11g Release 1 (11.1.1.8) / Portal, Forms, Table 3-1 lists parameters for invoking mod_plsql.

More information

Configuring a JDBC Resource for MySQL in Metadata Manager

Configuring a JDBC Resource for MySQL in Metadata Manager Configuring a JDBC Resource for MySQL in Metadata Manager 2011 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording

More information

Oracle Database: Program with PL/SQL Ed 2

Oracle Database: Program with PL/SQL Ed 2 Oracle University Contact Us: +38 61 5888 820 Oracle Database: Program with PL/SQL Ed 2 Duration: 5 Days What you will learn This Oracle Database: Program with PL/SQL training starts with an introduction

More information

This lecture. Databases - JDBC I. Application Programs. Database Access End Users

This lecture. Databases - JDBC I. Application Programs. Database Access End Users This lecture Databases - I The lecture starts discussion of how a Java-based application program connects to a database using. (GF Royle 2006-8, N Spadaccini 2008) Databases - I 1 / 24 (GF Royle 2006-8,

More information

Using SQL Developer. Oracle University and Egabi Solutions use only

Using SQL Developer. Oracle University and Egabi Solutions use only Using SQL Developer Objectives After completing this appendix, you should be able to do the following: List the key features of Oracle SQL Developer Identify menu items of Oracle SQL Developer Create a

More information

JDBC Drivers Type. JDBC drivers implement the defined interfaces in the JDBC API for interacting with your database server.

JDBC Drivers Type. JDBC drivers implement the defined interfaces in the JDBC API for interacting with your database server. JDBC Drivers Type 1 What is JDBC Driver? JDBC drivers implement the defined interfaces in the JDBC API for interacting with your database server. For example, using JDBC drivers enable you to open database

More information

Configuring a JDBC Resource for IBM DB2/ iseries in Metadata Manager HotFix 2

Configuring a JDBC Resource for IBM DB2/ iseries in Metadata Manager HotFix 2 Configuring a JDBC Resource for IBM DB2/ iseries in Metadata Manager 9.5.1 HotFix 2 2013 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic,

More information

Oracle Login Max Length Table Name 11g Column

Oracle Login Max Length Table Name 11g Column Oracle Login Max Length Table Name 11g Column Table 6-1 shows the datatypes recognized by Oracle. Maximum size is 4000 bytes or characters, and minimum is 1 byte or 1 character. name that differs from

More information

Real Application Security Administration

Real Application Security Administration Oracle Database Real Application Security Administration Console (RASADM) User s Guide 12c Release 2 (12.2) E85615-01 June 2017 Real Application Security Administration Oracle Database Real Application

More information

1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL

1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL CertBus.com 1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL Pass Oracle 1Z0-144 Exam with 100% Guarantee Free Download Real Questions & Answers PDF and VCE file from: 100% Passing Guarantee 100%

More information

UNIT III - JDBC Two Marks

UNIT III - JDBC Two Marks UNIT III - JDBC Two Marks 1.What is JDBC? JDBC stands for Java Database Connectivity, which is a standard Java API for databaseindependent connectivity between the Java programming language and a wide

More information

Full file at

Full file at ch2 True/False Indicate whether the statement is true or false. 1. The SQL command to create a database table is an example of DML. 2. A user schema contains all database objects created by a user. 3.

More information

Chapter 1 SQL and Data

Chapter 1 SQL and Data Chapter 1 SQL and Data What is SQL? Structured Query Language An industry-standard language used to access & manipulate data stored in a relational database E. F. Codd, 1970 s IBM 2 What is Oracle? A relational

More information

CHAPTER. Oracle Database 11g Architecture Options

CHAPTER. Oracle Database 11g Architecture Options CHAPTER 1 Oracle Database 11g Architecture Options 3 4 Part I: Critical Database Concepts Oracle Database 11g is a significant upgrade from prior releases of Oracle. New features give developers, database

More information

Enhydra 6.2 Application Architecture. Tanja Jovanovic

Enhydra 6.2 Application Architecture. Tanja Jovanovic Enhydra 6.2 Application Architecture Tanja Jovanovic Table of Contents 1.Introduction...1 2. The Application Object... 2 3. The Presentation Object... 4 4. Writing Presentation Objects with XMLC... 6 5.

More information

Kyle Brown Knowledge Systems Corporation by Kyle Brown and Knowledge Systems Corporation

Kyle Brown Knowledge Systems Corporation by Kyle Brown and Knowledge Systems Corporation Kyle Brown Knowledge Systems Corporation 1 What is the JDBC? What other persistence mechanisms are available? What facilities does it offer? How is it used? 2 JDBC is the Java DataBase Connectivity specification

More information

Slides by: Ms. Shree Jaswal

Slides by: Ms. Shree Jaswal Slides by: Ms. Shree Jaswal A trigger is a statement that is executed automatically by the system as a side effect of a modification to the database. To design a trigger mechanism, we must: Specify the

More information

Oracle Database. Installation and Configuration of Real Application Security Administration (RASADM) Prerequisites

Oracle Database. Installation and Configuration of Real Application Security Administration (RASADM) Prerequisites Oracle Database Real Application Security Administration 12c Release 1 (12.1) E61899-04 May 2015 Oracle Database Real Application Security Administration (RASADM) lets you create Real Application Security

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Chapter 10 Outline Database Programming: Techniques and Issues Embedded SQL, Dynamic SQL, and SQLJ Database Programming with Function Calls: SQL/CLI and JDBC Database Stored Procedures and SQL/PSM Comparing

More information

Embedded SQL. csc343, Introduction to Databases Diane Horton with examples from Ullman and Widom Fall 2014

Embedded SQL. csc343, Introduction to Databases Diane Horton with examples from Ullman and Widom Fall 2014 Embedded SQL csc343, Introduction to Databases Diane Horton with examples from Ullman and Widom Fall 2014 Problems with using interactive SQL Standard SQL is not Turing-complete. E.g., Two profs are colleagues

More information

Accessing databases in Java using JDBC

Accessing databases in Java using JDBC Accessing databases in Java using JDBC Introduction JDBC is an API for Java that allows working with relational databases. JDBC offers the possibility to use SQL statements for DDL and DML statements.

More information

JDBC Architecture. JDBC API: This provides the application-to- JDBC Manager connection.

JDBC Architecture. JDBC API: This provides the application-to- JDBC Manager connection. JDBC PROGRAMMING JDBC JDBC Java DataBase Connectivity Useful for database driven applications Standard API for accessing relational databases Compatible with wide range of databases Current Version JDBC

More information

Oracle Database 11g: Program with PL/SQL Release 2

Oracle Database 11g: Program with PL/SQL Release 2 Oracle University Contact Us: +41- (0) 56 483 31 31 Oracle Database 11g: Program with PL/SQL Release 2 Duration: 5 Days What you will learn This course introduces students to PL/SQL and helps them understand

More information

Creating and Managing Tables Schedule: Timing Topic

Creating and Managing Tables Schedule: Timing Topic 9 Creating and Managing Tables Schedule: Timing Topic 30 minutes Lecture 20 minutes Practice 50 minutes Total Objectives After completing this lesson, you should be able to do the following: Describe the

More information

Overview. Database Application Development. SQL in Application Code. SQL in Application Code (cont.)

Overview. Database Application Development. SQL in Application Code. SQL in Application Code (cont.) Overview Database Application Development Chapter 6 Concepts covered in this lecture: SQL in application code Embedded SQL Cursors Dynamic SQL JDBC SQLJ Stored procedures Database Management Systems 3ed

More information

Database Application Development

Database Application Development Database Application Development Chapter 6 Database Management Systems 3ed 1 Overview Concepts covered in this lecture: SQL in application code Embedded SQL Cursors Dynamic SQL JDBC SQLJ Stored procedures

More information

Database Application Development

Database Application Development Database Application Development Chapter 6 Database Management Systems 3ed 1 Overview Concepts covered in this lecture: SQL in application code Embedded SQL Cursors Dynamic SQL JDBC SQLJ Stored procedures

More information

Contents I Introduction 1 Introduction to PL/SQL iii

Contents I Introduction 1 Introduction to PL/SQL iii Contents I Introduction Lesson Objectives I-2 Course Objectives I-3 Human Resources (HR) Schema for This Course I-4 Course Agenda I-5 Class Account Information I-6 Appendixes Used in This Course I-7 PL/SQL

More information

Oracle PLSQL Training Syllabus

Oracle PLSQL Training Syllabus Oracle PLSQL Training Syllabus Introduction Course Objectives Course Agenda Human Resources (HR) Schema Introduction to SQL Developer Introduction to PL/SQL PL/SQL Overview Benefits of PL/SQL Subprograms

More information

to Oracle Table of Contents 1. General Questions 2. EMBED Package Questions check that MANIFEST.MF file in jar file. (WithoutDrv) Package?

to Oracle Table of Contents 1. General Questions 2. EMBED Package Questions check that MANIFEST.MF file in jar file. (WithoutDrv) Package? FAQ for DBF2Oracle Packages of type 4 to Oracle The most recent version here. of this document ca Table of Contents 1. General Questions 2. EMBED Package Questions General Questions 1. How to know the

More information

Oracle Database 12c R2: Program with PL/SQL Ed 2 Duration: 5 Days

Oracle Database 12c R2: Program with PL/SQL Ed 2 Duration: 5 Days Oracle Database 12c R2: Program with PL/SQL Ed 2 Duration: 5 Days This Database Program with PL/SQL training shows you how to develop stored procedures, functions, packages and database triggers. You'll

More information

Kintana Object*Migrator System Administration Guide. Version 5.1 Publication Number: OMSysAdmin-1203A

Kintana Object*Migrator System Administration Guide. Version 5.1 Publication Number: OMSysAdmin-1203A Kintana Object*Migrator System Administration Guide Version 5.1 Publication Number: OMSysAdmin-1203A Kintana Object*Migrator, Version 5.1 This manual, and the accompanying software and other documentation,

More information

ITCS Implementation. Jing Yang 2010 Fall. Class 14: Introduction to SQL Programming Techniques (Ch13) Outline

ITCS Implementation. Jing Yang 2010 Fall. Class 14: Introduction to SQL Programming Techniques (Ch13) Outline ITCS 3160 Data Base Design and Implementation Jing Yang 2010 Fall Class 14: Introduction to SQL Programming Techniques (Ch13) Outline Database Programming: Techniques and Issues Three approaches: Embedded

More information

Calling Java from PL/SQL

Calling Java from PL/SQL CHAPTER 27 Calling Java from PL/SQL The Java language, originally designed and promoted by Sun Microsystems and now widely promoted by nearly everyone other than Microsoft, offers an extremely diverse

More information

Oracle - Oracle Database: Program with PL/SQL Ed 2

Oracle - Oracle Database: Program with PL/SQL Ed 2 Oracle - Oracle Database: Program with PL/SQL Ed 2 Code: Lengt h: URL: DB-PLSQL 5 days View Online This Oracle Database: Program with PL/SQL training starts with an introduction to PL/SQL and then explores

More information

SQL*Loader Concepts. SQL*Loader Features

SQL*Loader Concepts. SQL*Loader Features 6 SQL*Loader Concepts This chapter explains the basic concepts of loading data into an Oracle database with SQL*Loader. This chapter covers the following topics: SQL*Loader Features SQL*Loader Parameters

More information

Database Assignment 2

Database Assignment 2 Database Assignment 2 Java Database Connection using the JDBC API March 13, 2008 1 Objectives Create and run a JDBC program using the client driver and Network Server. This assignment demonstrates the

More information

PL/SQL Block structure

PL/SQL Block structure PL/SQL Introduction Disadvantage of SQL: 1. SQL does t have any procedural capabilities. SQL does t provide the programming technique of conditional checking, looping and branching that is vital for data

More information

ASD:Suite - Code Generation 2013 Verum 1

ASD:Suite - Code Generation 2013 Verum 1 ASD:Suite - Code Generation 2013 Verum 1 The generated ASD component in code is actually the component factory. This component factory is used to generate component instances. ASD component creation is

More information

Discuss setting up JDBC connectivity. Demonstrate a JDBC program Discuss and demonstrate methods associated with JDBC connectivity

Discuss setting up JDBC connectivity. Demonstrate a JDBC program Discuss and demonstrate methods associated with JDBC connectivity Objectives Discuss setting up JDBC connectivity. Demonstrate a JDBC program Discuss and demonstrate methods associated with JDBC connectivity Setting Up JDBC Before you can begin to utilize JDBC, you must

More information

More Database Programming. CS157A Chris Pollett Nov. 2, 2005.

More Database Programming. CS157A Chris Pollett Nov. 2, 2005. More Database Programming CS157A Chris Pollett Nov. 2, 2005. Outline JDBC SQLJ Introduction Last day we went over some JDBC and SQLJ code examples from prior classes. Today, we will discuss JDBC and SQLJ

More information

Tutorial: Using Java/JSP to Write a Web API

Tutorial: Using Java/JSP to Write a Web API Tutorial: Using Java/JSP to Write a Web API Contents 1. Overview... 1 2. Download and Install the Sample Code... 2 3. Study Code From the First JSP Page (where most of the code is in the JSP Page)... 3

More information

Using Advanced Interface Methods. 2010, Oracle and/or its affiliates. All rights reserved.

Using Advanced Interface Methods. 2010, Oracle and/or its affiliates. All rights reserved. Using Advanced Interface Methods Objectives After completing this lesson, you should be able to do the following: Execute external C programs from PL/SQL Execute Java programs from PL/SQL 6-2 Calling External

More information

IZ0-144Oracle 11g PL/SQL Certification (OCA) training

IZ0-144Oracle 11g PL/SQL Certification (OCA) training IZ0-144Oracle 11g PL/SQL Certification (OCA) training Advanced topics covered in this course: Managing Dependencies of PL/SQL Objects Direct and Indirect Dependencies Using the PL/SQL Compiler Conditional

More information

ORACLE TRAINING. ORACLE Training Course syllabus ORACLE SQL ORACLE PLSQL. Oracle SQL Training Syllabus

ORACLE TRAINING. ORACLE Training Course syllabus ORACLE SQL ORACLE PLSQL. Oracle SQL Training Syllabus ORACLE TRAINING ORACLE Training Course syllabus ORACLE SQL ORACLE PLSQL Oracle SQL Training Syllabus Introduction to Oracle Database List the features of Oracle Database 11g Discuss the basic design, theoretical,

More information

Chapter 13 Introduction to SQL Programming Techniques

Chapter 13 Introduction to SQL Programming Techniques Chapter 13 Introduction to SQL Programming Techniques Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 13 Outline Database Programming: Techniques and Issues Embedded

More information

Model Question Paper. Credits: 4 Marks: 140

Model Question Paper. Credits: 4 Marks: 140 Model Question Paper Subject Code: BT0075 Subject Name: RDBMS and MySQL Credits: 4 Marks: 140 Part A (One mark questions) 1. MySQL Server works in A. client/server B. specification gap embedded systems

More information

An Oracle White Paper September Security and the Oracle Database Cloud Service

An Oracle White Paper September Security and the Oracle Database Cloud Service An Oracle White Paper September 2012 Security and the Oracle Database Cloud Service 1 Table of Contents Overview... 3 Security architecture... 4 User areas... 4 Accounts... 4 Identity Domains... 4 Database

More information

Course Description. Audience. Prerequisites. At Course Completion. : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs

Course Description. Audience. Prerequisites. At Course Completion. : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs Module Title Duration : Course 40074A : Microsoft SQL Server 2014 for Oracle DBAs : 4 days Course Description This four-day instructor-led course provides students with the knowledge and skills to capitalize

More information

Software Paradigms (Lesson 10) Selected Topics in Software Architecture

Software Paradigms (Lesson 10) Selected Topics in Software Architecture Software Paradigms (Lesson 10) Selected Topics in Software Architecture Table of Contents 1 World-Wide-Web... 2 1.1 Basic Architectural Solution... 2 1.2 Designing WWW Applications... 7 2 CORBA... 11 2.1

More information

Transferring Files Using HTTP or HTTPS

Transferring Files Using HTTP or HTTPS Cisco IOS Release 12.4 provides the ability to transfer files between your Cisco IOS software-based device and a remote HTTP server using the HTTP or HTTP Secure (HTTPS) protocol. HTTP and HTTPS can now

More information

JDBC, Transactions. Niklas Fors JDBC 1 / 38

JDBC, Transactions. Niklas Fors JDBC 1 / 38 JDBC, Transactions SQL in Programs Embedded SQL and Dynamic SQL JDBC Drivers, Connections, Statements, Prepared Statements Updates, Queries, Result Sets Transactions Niklas Fors (niklas.fors@cs.lth.se)

More information

Security Tips in Oracle Reports Services Release 6i with Oracle Portal Release 3.0. An Oracle Technical White Paper October 2000

Security Tips in Oracle Reports Services Release 6i with Oracle Portal Release 3.0. An Oracle Technical White Paper October 2000 Release 6i with Oracle Portal Release 3.0 An Oracle Technical White Paper INTRODUCTION Oracle Reports Services uses Oracle Portal to perform a security check that ensures that users have the necessary

More information

Server-side Web Programming

Server-side Web Programming Server-side Web Programming Lecture 13: JDBC Database Programming JDBC Definition Java Database Connectivity (JDBC): set of classes that provide methods to Connect to a database through a database server

More information

TIBCO Spotfire Server Release Notes. Software Release April 2014

TIBCO Spotfire Server Release Notes. Software Release April 2014 TIBCO Spotfire Server Release Notes Software Release 6.5.0 April 2014 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED TIBCO SOFTWARE IS

More information

Oracle 12c Installation Experience Peter Ping Liu June 7, 2017

Oracle 12c Installation Experience Peter Ping Liu June 7, 2017 Import Tips Learned from This Experience: Oracle 12c Installation Experience Peter Ping Liu June 7, 2017 1. Extract the 2 nd zip file into the same folder as the 1 st zip file folder: For example, C:\Users\167583\Downloads\oracle12c\winx64_12102_database_1of2

More information

Connector for Microsoft SharePoint 2013, 2016 and Online Setup and Reference Guide

Connector for Microsoft SharePoint 2013, 2016 and Online Setup and Reference Guide Connector for Microsoft SharePoint 2013, 2016 and Online Setup and Reference Guide Published: 2018-Oct-09 Contents 1 Microsoft SharePoint 2013, 2016 and Online Connector 4 1.1 Products 4 1.2 Supported

More information

1Z Z0-146-Oracle Database 11g: Advanced PL/SQL Exam Summary Syllabus Questions

1Z Z0-146-Oracle Database 11g: Advanced PL/SQL Exam Summary Syllabus Questions 1Z0-146 1Z0-146-Oracle Database 11g: Advanced PLSQL Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-146 Exam on Oracle Database 11g: Advanced PLSQL... 2 Oracle 1Z0-146 Certification

More information

JDBC. Oracle ODBC SP API SP API. SQL server C function calls. SQL server ODBC SP API. Oracle DSN Oracle ODBC Oracle

JDBC. Oracle ODBC SP API SP API. SQL server C function calls. SQL server ODBC SP API. Oracle DSN Oracle ODBC Oracle How to Interact with DataBase? THETOPPERSWAY.COM Generally every DB vendor provides a User Interface through which we can easily execute SQL query s and get the result (For example Oracle Query Manager

More information

IPCoreL. Phillip Duane Douglas, Jr. 11/3/2010

IPCoreL. Phillip Duane Douglas, Jr. 11/3/2010 IPCoreL Programming Language Reference Manual Phillip Duane Douglas, Jr. 11/3/2010 The IPCoreL Programming Language Reference Manual provides concise information about the grammar, syntax, semantics, and

More information

Configuring Pentaho to Use Database-Based Security

Configuring Pentaho to Use Database-Based Security Configuring Pentaho to Use Database-Based Security This page intentionally left blank. Contents Overview... 1 Before You Begin... 1 Use Case: Applying Pentaho to Existing Database-Based Security... 1 Authentication

More information

JavaEE Interview Prep

JavaEE Interview Prep Java Database Connectivity 1. What is a JDBC driver? A JDBC driver is a Java program / Java API which allows the Java application to establish connection with the database and perform the database related

More information

Alter Change Default Schema Oracle Sql Developer

Alter Change Default Schema Oracle Sql Developer Alter Change Default Schema Oracle Sql Developer Set default schema in Oracle Developer Tools in Visual STudio 2013 any other schema's. I can run alter session set current_schema=xxx Browse other questions

More information

Oracle Database: Introduction to SQL

Oracle Database: Introduction to SQL Oracle University Contact Us: (+202) 35 35 02 54 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn View a newer version of this course This Oracle Database: Introduction to SQL

More information

Oracle Login Max Length Of Column Name 11g Table

Oracle Login Max Length Of Column Name 11g Table Oracle Login Max Length Of Column Name 11g Table Table 6-1 shows the datatypes recognized by Oracle. Maximum size is 4000 bytes or characters, and minimum is 1 byte or 1 character. name that differs from

More information

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved.

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment Objectives After completing this lesson, you should be able to: Use Enterprise Manager to: Create additional listeners Create Oracle Net Service aliases Configure

More information

Introduction to Computer Science and Business

Introduction to Computer Science and Business Introduction to Computer Science and Business The Database Programming with PL/SQL course introduces students to the procedural language used to extend SQL in a programatic manner. This course outline

More information

Console Guide. Version 4.4

Console Guide. Version 4.4 Console Guide Version 4.4 Table of Contents Preface 4 Who Should Use This Guide 4 How This Guide is Organized 4 Document Feedback 4 Document Conventions Used in This Guide 5 Connecting to the Database

More information

Oracle WebLogic Server

Oracle WebLogic Server Oracle WebLogic Server Creating WebLogic Domains Using the Configuration Wizard 10g Release 3 (10.1.3) August 2008 Oracle WebLogic Server Creating WebLogic Domains Using the Configuration Wizard, 10g Release

More information

About these Release Notes

About these Release Notes SQL*Plus Release Notes 18c E84348-02 July 2018 Release Notes About these Release Notes This document summarizes requirements, differences between SQL*Plus and its documented functionality, new features

More information

Oracle Database: Introduction to SQL/PLSQL Accelerated

Oracle Database: Introduction to SQL/PLSQL Accelerated Oracle University Contact Us: Landline: +91 80 67863899 Toll Free: 0008004401672 Oracle Database: Introduction to SQL/PLSQL Accelerated Duration: 5 Days What you will learn This Introduction to SQL/PLSQL

More information

Stored Procedures and UDFs with Borland JDataStore

Stored Procedures and UDFs with Borland JDataStore Stored Procedures and UDFs with Borland JDataStore Increase application capability and get encapsulation of business logic by Jens Ole Lauridsen Borland Software Corporation August 2002 Contents Introduction

More information

Introduction to Databases

Introduction to Databases JAVA JDBC Introduction to Databases Assuming you drove the same number of miles per month, gas is getting pricey - maybe it is time to get a Prius. You are eating out more month to month (or the price

More information

DB2 QMF Data Service Version 12 Release 1. Studio User's Guide IBM SC

DB2 QMF Data Service Version 12 Release 1. Studio User's Guide IBM SC DB2 QMF Data Service Version 12 Release 1 Studio User's Guide IBM SC27-8886-00 DB2 QMF Data Service Version 12 Release 1 Studio User's Guide IBM SC27-8886-00 Note Before using this information and the

More information

Proje D2K. CMM (Capability Maturity Model) level Project Standard:- Corporate Trainer s Profile

Proje D2K. CMM (Capability Maturity Model) level Project Standard:- Corporate Trainer s Profile D2K Corporate Trainer s Profile Corporate Trainers are having the experience of 4 to 12 years in development, working with TOP CMM level 5 comapnies (Project Leader /Project Manager ) qualified from NIT/IIT/IIM

More information