O/RM - Introduction. Christian Horsdal Gammelgaard

Size: px
Start display at page:

Download "O/RM - Introduction. Christian Horsdal Gammelgaard"

Transcription

1 O/RM - Introduction Christian Horsdal Gammelgaard

2 Content First half: Introduction to O/R Mapping Second half: NHibernate demo 1

3 Who am I? Christian Horsdal Gammelgaard Lead Software Architect, Mjølner Informatics M.Sc. DAIMI,

4 Contents First Half Object/Relational Mapping Intro Impedance Mismatch O/RM Patterns Hibernate Quick Intro 3

5 4 Object/Relational Mapping

6 5 Object/Relational Mapping

7 Contents First Half Object/Relational Mapping Intro Impedance Mismatch O/RM Patterns Hibernate Quick Intro 6

8 7 Impedance Mismatch

9 Impedance Mismatch Identity All objects are unique Each one has an identity May contain equal data Tables are sets of rows No unique identity per se May not contain equal data Primary key is often an ID 8

10 Impedance Mismatch Structure - relationships Orders Order_Id Account_ID Order_Date Order_ShipToFirstName Order_ShipToLastName Order_ShipAddr1 Order_ShipAddr2 Order_ShipCity Order_ShipState Order_ShipZip Order_ShipCountry LinesItem Order_Id LineItem_LineNum Item_Id LineItem_Quantity LineItem_UnitPrice 9

11 Impedance Mismatch Inheritance In the OO world LSP Abstract classes Concrete classes In the relational world Tables w/o inheritance 10

12 Impedance Mismatch and the list goes on Constraints Transactions Partial rows vs. partial objects 11

13 Contents First Half Object/Relational Mapping Intro Impedance Mismatch O/RM Patterns Hibernate Quick Intro 12

14 O/RM Patterns Row Data Gateway Active Record Relationship: One to One One to Many Many to Many Inheritance Unit of Work 13

15 O/RM Patterns Row Data Gateway An object that acts as a Gateway, to a single record in a data source. There is one instance per row. -- Martin Fowler, PoEAA 14

16 O/RM Patterns Active Record An object carries both data and behavior. Much of this data is persistent and needs to be stored in a database. Active Record uses the most obvious approach, putting data access logic in the domain object. -- Martin Fowler, PoEAA 15

17 O/RM Patterns Relationship One to One Orders Order_Id Account_ID Order_Date Order_ShipToFirst... Order_ShipToLast... Order_ShipAddr1 Order_ShipAddr2 Order_ShipCity Order_ShipState Order_ShipZip Order_ShipCountry Order_BillToFirstN... Order_BillToLastN... Accounts Account_Id Account_ Account_FirstName Account_LastName Account_Status Account_Addr1 Account_Addr2 Account_City Account_State Account_Zip Account_Country Account_Phone 16

18 O/RM Patterns Relationship One to Many Orders Order_Id Account_ID Order_Date Order_ShipToFirstName Order_ShipToLastName Order_ShipAddr1 Order_ShipAddr2 Order_ShipCity Order_ShipState Order_ShipZip Order_ShipCountry LinesItem Order_Id LineItem_LineNum Item_Id LineItem_Quantity LineItem_UnitPrice 17

19 O/RM Patterns Relationship Many to Many Product Id ProductId Name Description ProductCategory * productid categroyid Category Id CategoryId Name Description 18

20 O/RM Patterns Inheritance Single Table Cards address owner creditlimit balance class 19

21 O/RM Patterns Inheritance Concrete Class Table DebitCards address owner balance CreditCards address owner creditlimit 20

22 O/RM Patterns Unit of Work Maintains a list of objects affected by a business transaction and coordinates the writing out of changes and the resolution of concurrency problems -- Martin Fowler, PoEAA 21

23 O/RM Patterns Unit of Work application database unit of work new order select RegisterClean AddLineItem RegisterDirty Commit Save Update 22

24 23 O/RM Patterns Unit of Work Hibernate Session

25 Contents First Half Object/Relational Mapping Intro Impedance Mismatch O/RM Patterns NHibernate Quick Intro 24

26 NHibernate Overview O/RM written in C# Works well with most CLR languages C#, VB.NET, IronRuby, IronPython, F# Works with all major RDBMSs Oracle, DB2, MySql, MS SQL Server, SyBase, PostgreSQL And a lot of minor ones: SQLite, H2, MS Access, FireBird And even some weird ones: flat text files, MS Excel (!), 25

27 26 NHibernate overview

28 Contents First Half Object/Relational Mapping Intro Impedance Mismatch O/RM Patterns Hibernate Quick Intro 27

29 Content First half: Introduction to O/R Mapping Second half: Hibernate demo 28

30 References Martin Fowler: Patterns of Enterprise Application Architecture Christian Bauer, Gavin King: Java Persistence with Hibernate NHibernate home: Fluent Nhibernate: Blog: horsdal.blogspot.com Mjølner: Contact Information 29

The Object-Oriented Paradigm. Employee Application Object. The Reality of DBMS. Employee Database Table. From Database to Application.

The Object-Oriented Paradigm. Employee Application Object. The Reality of DBMS. Employee Database Table. From Database to Application. The Object-Oriented Paradigm CS422 Principles of Database Systems Object-Relational Mapping (ORM) Chengyu Sun California State University, Los Angeles The world consists of objects So we use object-oriented

More information

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV http://www.tutorialspoint.com HIBERNATE MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Hibernate Framework. You can download these sample mock tests

More information

Database Visual ARCHITECT 6.3

Database Visual ARCHITECT 6.3 Visual ARCHITECT 6.3 Access with Object-Oriented Technology Release Date: September 19, 2011 Design, generate and maintain database, application persistent layer with innovative technologies Last Update:

More information

Database Visual ARCHITECT 5.2

Database Visual ARCHITECT 5.2 Visual ARCHITECT 5.2 Access with Object-Oriented Technology Design, generate and maintain database, application persistent layer with innovative technologies What DB-VA Provides? Design Design database

More information

Manual Trigger Sql Server 2008 Insert Multiple Rows At Once

Manual Trigger Sql Server 2008 Insert Multiple Rows At Once Manual Trigger Sql Server 2008 Insert Multiple Rows At Once Adding SQL Trigger to update field on INSERT (multiple rows) However, if there are multiple records inserted (as in the user creates several

More information

COMP9321 Web Application Engineering

COMP9321 Web Application Engineering COMP9321 Web Application Engineering Data Access in Web Applications Dr. Basem Suleiman Service Oriented Computing Group, CSE, UNSW Australia Semester 1, 2016, Week 5 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2442

More information

Manual Trigger Sql Server 2008 Insert Multiple Rows

Manual Trigger Sql Server 2008 Insert Multiple Rows Manual Trigger Sql Server 2008 Insert Multiple Rows With "yellow" button I want that the sql insert that row first and then a new row like this OF triggers: technet.microsoft.com/en-us/library/ms175089(v=sql.105).aspx

More information

PHP Object-Relational Mapping Libraries in action

PHP Object-Relational Mapping Libraries in action PHP Object-Relational Mapping Libraries in action Apr 14, 2010 O'Reilly MySQL Conference and Expo Santa Clara, CA Fernando Ipar & Ryan Lowe Percona Inc. -2- Agenda What are ORM libraries Object Oriented

More information

COMP9321 Web Application Engineering

COMP9321 Web Application Engineering COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 6 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2411 1 We

More information

CSE 530A ACID. Washington University Fall 2013

CSE 530A ACID. Washington University Fall 2013 CSE 530A ACID Washington University Fall 2013 Concurrency Enterprise-scale DBMSs are designed to host multiple databases and handle multiple concurrent connections Transactions are designed to enable Data

More information

The dialog boxes Import Database Schema, Import Hibernate Mappings and Import Entity EJBs are used to create annotated Java classes and persistence.

The dialog boxes Import Database Schema, Import Hibernate Mappings and Import Entity EJBs are used to create annotated Java classes and persistence. Schema Management In Hibernate Mapping Different Automatic schema generation with SchemaExport Managing the cache Implementing MultiTenantConnectionProvider using different connection pools, 16.3. Hibernate

More information

OO 10 Database Overview and Maintenance

OO 10 Database Overview and Maintenance OO 10 Database Overview and Maintenance Harar Zafrir, OO DBA June 2015 Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Agenda

More information

Introduction. Example Databases

Introduction. Example Databases Introduction Example databases Overview of concepts Why use database systems Example Databases University Data: departments, students, exams, rooms,... Usage: creating exam plans, enter exam results, create

More information

PersistF: A Transparent Persistence Framework with Architecture Applying Design Patterns

PersistF: A Transparent Persistence Framework with Architecture Applying Design Patterns Issues in Informing Science and Information Technology Volume 4, 2007 PersistF: A Transparent Persistence Framework with Architecture Applying Design Patterns Samir Jusic and Lee Sai Peck Faculty of Computer

More information

Enterprise Systems & Frameworks

Enterprise Systems & Frameworks Enterprise Systems & Frameworks CS25010 - Web Programming Connor Goddard 5 th November 2015 Aberystwyth University 1 INTRODUCTION In today s session, we will aim to cover the following: Multi-tier Architectural

More information

Object-Relational Mapping

Object-Relational Mapping Object-Relational Mapping Object-Relational Mapping Software Architecture ORM Problems ORM Solutions Demo Software Architecture Part 1 Architecture Separation of Concerns A design principle that comprises

More information

How To Get Database Schema In Java Using >>>CLICK HERE<<<

How To Get Database Schema In Java Using >>>CLICK HERE<<< How To Get Database Schema In Java Using Eclipse Pdf Go To Table Of Contents Search, PDF, Comments EclipseLink is suitable for use with a wide range of Java Enterprise Edition (Java to a relational database

More information

Hibernate Overview. By Khader Shaik

Hibernate Overview. By Khader Shaik Hibernate Overview By Khader Shaik 1 Agenda Introduction to ORM Overview of Hibernate Why Hibernate Anatomy of Example Overview of HQL Architecture Overview Comparison with ibatis and JPA 2 Introduction

More information

Object-relational mapping EJB and Hibernate

Object-relational mapping EJB and Hibernate T A R T U Ü L I K O O L MATEMAATIKA-INFORMAATIKATEADUSKOND Arvutiteaduse instituut Infotehnoloogia eriala Aleksandr Tkatšenko Object-relational mapping EJB and Hibernate Referaat aines Tarkvaratehnika

More information

Manual Triggers Sql Server 2008 Examples

Manual Triggers Sql Server 2008 Examples Manual Triggers Sql Server 2008 Examples Inserted Delete Oracle equivalent for SQL Server INSERTED and DELETED tables (find the msdn article here: msdn.microsoft.com/en-us/library/ms191300.aspx) Or else

More information

ASP.NET on zlinux: A New Workload

ASP.NET on zlinux: A New Workload ASP.NET on zlinux: A New Workload Mike Friesenegger Novell Tuesday, March 1, 2011 Session Number: 8473 Agenda What is Mono? Suggested approach for a Mono proof-of-concept The Mono tools used for a POC

More information

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I http://www.tutorialspoint.com HIBERNATE MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Hibernate Framework. You can download these sample mock tests

More information

Using MVCC for Clustered Databases

Using MVCC for Clustered Databases Using MVCC for Clustered Databases structure introduction, scope and terms life-cycle of a transaction in Postgres-R write scalability tests results and their analysis 2 focus: cluster high availability,

More information

International Journal of Advance Research in Engineering, Science & Technology HIBERNATE FRAMEWORK FOR ENTERPRISE APPLICATION

International Journal of Advance Research in Engineering, Science & Technology HIBERNATE FRAMEWORK FOR ENTERPRISE APPLICATION Impact Factor (SJIF): 3.632 International Journal of Advance Research in Engineering, Science & Technology e-issn: 2393-9877, p-issn: 2394-2444 Volume 4, Issue 3, March-2017 HIBERNATE FRAMEWORK FOR ENTERPRISE

More information

ASP.NET on zlinux: A New Workload

ASP.NET on zlinux: A New Workload ASP.NET on zlinux: A New Workload Mike Friesenegger (mikef@novell.com) Novell August 3, 2010 7202 Agenda What is Mono? Suggested approach for a Mono proof-of-concept Preparing the POC environment (The

More information

DATABASES SQL INFOTEK SOLUTIONS TEAM

DATABASES SQL INFOTEK SOLUTIONS TEAM DATABASES SQL INFOTEK SOLUTIONS TEAM TRAINING@INFOTEK-SOLUTIONS.COM Databases 1. Introduction in databases 2. Relational databases (SQL databases) 3. Database management system (DBMS) 4. Database design

More information

Patterns of Enterprise Application Architecture

Patterns of Enterprise Application Architecture Patterns of Enterprise Application Architecture CS446/ECE452/SE464 Majed Al-Shawa Q1: Performance There are two systems, Shark and Whale. Each system is running on a single processor, but Shark produces

More information

Object-Relational Modeling

Object-Relational Modeling Object-Relational Modeling Holger Pirk Holger Pirk Object-Relational Modeling 1 / 44 Purpose of this Lecture Introduce Object-Relational-Mapping Understand the problem it solves Understand the problems

More information

Wentworth Institute of Technology COMP570 Database Applications Fall 2014 Derbinsky. SQL Programming. Lecture 8. SQL Programming

Wentworth Institute of Technology COMP570 Database Applications Fall 2014 Derbinsky. SQL Programming. Lecture 8. SQL Programming Lecture 8 1 Outline Context General Approaches Typical Programming Sequence Examples 2 Database Design and Implementation Process Normalization 3 SQL via API Embedded SQL SQLJ General Approaches DB Programming

More information

Sybase. Strategic Developer. Karl Reti & John Graham February 28, 2005

Sybase. Strategic Developer. Karl Reti & John Graham February 28, 2005 Sybase Strategic Developer Karl Reti & John Graham February 28, 2005 Sybase Sybase enables the unwired enterprise by delivering enterprise and mobile infrastructure, development, and integration software

More information

Oracle 1Z Oracle Database SQL Expert. Download Full Version :

Oracle 1Z Oracle Database SQL Expert. Download Full Version : Oracle 1Z0-047 Oracle Database SQL Expert Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-047 QUESTION: 270 View the Exhibit and examine the structure for the ORDERS and ORDER_ITEMS

More information

How To Export Database Diagram Sql Server 2008 To Excel

How To Export Database Diagram Sql Server 2008 To Excel How To Export Database Diagram Sql Server 2008 To Excel Programming in Excel and MS Access VBA, Crystal Reports, C#, ASP. This article describes using the Database Model Diagram template in Visio 2010.

More information

Introduction. Who wants to study databases?

Introduction. Who wants to study databases? Introduction Example databases Overview of concepts Why use database systems Who wants to study databases? What is the use of all the courses I have taken so far? This course shows very concrete how CS

More information

Profile: How to update your CV - just an idea. 1) Make sure your margins are a slim as possible. 2) Make sure your font size is 10-12

Profile: How to update your CV - just an idea. 1) Make sure your margins are a slim as possible. 2) Make sure your font size is 10-12 Profile: How to update your CV - just an idea. 1) Make sure your margins are a slim as possible 2) Make sure your font size is 10-12 3) All new sentences starting from the Left Hand margin 4) Just an idea

More information

Copy Data From One Schema To Another In Sql Developer

Copy Data From One Schema To Another In Sql Developer Copy Data From One Schema To Another In Sql Developer The easiest way to copy an entire Oracle table (structure, contents, indexes, to copy a table from one schema to another, or from one database to another,.

More information

Shawn Dorward, MVP. Getting Started with Power Query

Shawn Dorward, MVP. Getting Started with Power Query Shawn Dorward, MVP Getting Started with Power Query Meet our Presenter InterDyn Artis specializes in the implementation, service and support of Microsoft Dynamics Enterprise Resource Planning (ERP) and

More information

Sql 2008 Copy Table Structure And Database To

Sql 2008 Copy Table Structure And Database To Sql 2008 Copy Table Structure And Database To Another Table Different you can create a table with same schema in another database first and copy the data like Browse other questions tagged sql-server sql-server-2008r2-express.

More information

Session id: The Self-Managing Database: Guided Application and SQL Tuning

Session id: The Self-Managing Database: Guided Application and SQL Tuning Session id: 40713 The Self-Managing Database: Guided Application and SQL Tuning Lead Architects Benoit Dageville Khaled Yagoub Mohamed Zait Mohamed Ziauddin Agenda SQL Tuning Challenges Automatic SQL Tuning

More information

Sql 2008 Copy Tables Structure And Database To Another

Sql 2008 Copy Tables Structure And Database To Another Sql 2008 Copy Tables Structure And Database To Another Copy NAV Database Structure to another Database along with Data in SQL @tablevar table(name varchar(300)) declare @columntablevar table(column_name

More information

Essential SQLAlchemy. An Overview of SQLAlchemy. Rick Copeland Author, Essential SQLAlchemy Predictix, LLC

Essential SQLAlchemy. An Overview of SQLAlchemy. Rick Copeland Author, Essential SQLAlchemy Predictix, LLC Essential SQLAlchemy An Overview of SQLAlchemy Rick Copeland Author, Essential SQLAlchemy Predictix, LLC SQLAlchemy Philosophy SQL databases behave less like object collections the more size and performance

More information

CO Java EE 7: Back-End Server Application Development

CO Java EE 7: Back-End Server Application Development CO-85116 Java EE 7: Back-End Server Application Development Summary Duration 5 Days Audience Application Developers, Developers, J2EE Developers, Java Developers and System Integrators Level Professional

More information

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module Java Platform, Enterprise Edition 5 (Java EE 5) Core Java EE Java EE 5 Platform Overview Java EE Platform Distributed Multi tiered Applications Java EE Web & Business Components Java EE Containers services

More information

How To Create Complex Stored Procedures In Sql Server 2008 With Examples

How To Create Complex Stored Procedures In Sql Server 2008 With Examples How To Create Complex Stored Procedures In Sql Server 2008 With Examples CLR Stored Procedures are managed codes so it ensures type safety, memory management, etc. It is very useful while executing complex

More information

Object-relational mapping tools and Hibernate

Object-relational mapping tools and Hibernate Université libre de Bruxelles Advanced Databases Winter Semester 2017-2018 Object-relational mapping tools and Hibernate Authors: Bruno Baldez Correa Matricule ULB: 000456738 Yue Wang Matricule ULB: 00000000

More information

LABORATORY OF DATA SCIENCE. Data Access: Relational Data Bases. Data Science and Business Informatics Degree

LABORATORY OF DATA SCIENCE. Data Access: Relational Data Bases. Data Science and Business Informatics Degree LABORATORY OF DATA SCIENCE Data Access: Relational Data Bases Data Science and Business Informatics Degree RDBMS data access 2 Protocols and API ODBC, OLE DB, ADO, ADO.NET, JDBC Python DBAPI with ODBC

More information

DATA, DATABASES, AND QUERIES

DATA, DATABASES, AND QUERIES Managing Data in Relational Databases DATA, DATABASES, AND QUERIES CS1100 Microsoft Access - Introduction 1 What is this About Storing, accessing, searching, and viewing data are important in any business.

More information

Apparo Fast Edit Edit Data Version management 3 in an IBM Cognos environment Technical Document

Apparo Fast Edit Edit Data Version management 3 in an IBM Cognos environment Technical Document 1 Mastertitelformat bearbeiten Apparo Fast Edit Edit Data Version management 3 in an IBM Cognos environment Technical Document Mastertextformat bearbeiten Zweite Ebene Data management in an IBM Cognos

More information

Data! CS 133: Databases. Goals for Today. So, what is a database? What is a database anyway? From the textbook:

Data! CS 133: Databases. Goals for Today. So, what is a database? What is a database anyway? From the textbook: CS 133: Databases Fall 2018 Lec 01 09/04 Introduction & Relational Model Data! Need systems to Data is everywhere Banking, airline reservations manage the data Social media, clicking anything on the internet

More information

Manual Trigger Sql Server 2008 Example Inserted Table

Manual Trigger Sql Server 2008 Example Inserted Table Manual Trigger Sql Server 2008 Example Inserted Table Oracle equivalent for SQL Server INSERTED and DELETED tables (find the msdn article here: msdn.microsoft.com/en-us/library/ms191300.aspx) Or else I

More information

Mysql Workbench Table Data Is Not Editable >>>CLICK HERE<<<

Mysql Workbench Table Data Is Not Editable >>>CLICK HERE<<< Mysql Workbench Table Data Is Not Editable Double-clicking the Add table icon in the Physical Schemata section of the MySQL Model page If the table editor is not open, the Edit Tableitem opens it. Impact

More information

Oracle Sql Describe Schemas Query To Find Database

Oracle Sql Describe Schemas Query To Find Database Oracle Sql Describe Schemas Query To Find Database Oracle Application Express SQL Workshop and Utilities Guide. open You have several options when copying data between Oracle databases or between an Oracle

More information

Introduction to MySQL. Database Systems

Introduction to MySQL. Database Systems Introduction to MySQL Database Systems 1 Agenda Bureaucracy Database architecture overview Buzzwords SSH Tunneling Intro to MySQL Comments on homework 2 Homework #1 Submission date is on the website..

More information

Java Spring Hibernate Interview Questions And Answers For

Java Spring Hibernate Interview Questions And Answers For Java Spring Hibernate Interview Questions And Answers For We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer,

More information

Get the Skinny on Minimally Logged Operations

Get the Skinny on Minimally Logged Operations Get the Skinny on Minimally Logged Operations Andrew J. Kelly akelly@solidq.com Who Am I? Mentor with SolidQ SQL Server MVP since 2001 Contributing editor & author for SQL Server Pro Magazine Over 20 years

More information

Generating A Hibernate Mapping File And Java Classes From The Sql Schema

Generating A Hibernate Mapping File And Java Classes From The Sql Schema Generating A Hibernate Mapping File And Java Classes From The Sql Schema Internally, hibernate maps from Java classes to database tables (and from It also provides data query and retrieval facilities by

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems http://dilbert.com/strips/comic/1995-10-11/ Lecture 5 More SQL and Intro to Stored Procedures September 24, 2017 Sam Siewert SQL Theory and Standards Completion of SQL in

More information

Data Modeling Diagram Open Source Tool Oracle

Data Modeling Diagram Open Source Tool Oracle Data Modeling Diagram Open Source Tool Oracle Data Model Diagram Visualizer. in the original source tool. Figure 3 of SPARC International, Inc. UNIX is a registered trademark licensed through X/Open. Navicat

More information

TOPLink for WebLogic. Whitepaper. The Challenge: The Solution:

TOPLink for WebLogic. Whitepaper. The Challenge: The Solution: Whitepaper The Challenge: Enterprise JavaBeans (EJB) represents a new standard in enterprise computing: a component-based architecture for developing and deploying distributed object-oriented applications

More information

Object/Relational Mapping 2008: Hibernate and the Entity Data Model (EDM)

Object/Relational Mapping 2008: Hibernate and the Entity Data Model (EDM) Object/Relational Mapping 2008: Hibernate and the Entity Data Model (EDM) Elizabeth (Betty) O Neil Dept. of Computer Science University of Massachusetts Boston Boston, MA 02125 eoneil@cs.umb.edu ABSTRACT

More information

POJOs in Action DEVELOPING ENTERPRISE APPLICATIONS WITH LIGHTWEIGHT FRAMEWORKS CHRIS RICHARDSON MANNING. Greenwich (74 w. long.)

POJOs in Action DEVELOPING ENTERPRISE APPLICATIONS WITH LIGHTWEIGHT FRAMEWORKS CHRIS RICHARDSON MANNING. Greenwich (74 w. long.) POJOs in Action DEVELOPING ENTERPRISE APPLICATIONS WITH LIGHTWEIGHT FRAMEWORKS CHRIS RICHARDSON MANNING Greenwich (74 w. long.) contents PART 1 1 preface xix acknowledgments xxi about this book xxiii about

More information

Database Fundamentals Chapter 1

Database Fundamentals Chapter 1 Database Fundamentals Chapter 1 Class 01: Database Fundamentals 1 What is a Database? The ISO/ANSI SQL Standard does not contain a definition of the term database. In fact, the term is never mentioned

More information

purequery Deep Dive Part 2: Data Access Development Dan Galvin Galvin Consulting, Inc.

purequery Deep Dive Part 2: Data Access Development Dan Galvin Galvin Consulting, Inc. purequery Deep Dive Part 2: Data Access Development Dan Galvin Galvin Consulting, Inc. Agenda The Problem Data Access in Java What is purequery? How Could purequery Help within My Data Access Architecture?

More information

Manual Trigger Sql Server 2008 Inserted Table Examples Insert

Manual Trigger Sql Server 2008 Inserted Table Examples Insert Manual Trigger Sql Server 2008 Inserted Table Examples Insert This tutorial is applicable for all versions of SQL Server i.e. 2005, 2008, 2012, Whenever a row is inserted in the Customers Table, the following

More information

NoSQL systems: introduction and data models. Riccardo Torlone Università Roma Tre

NoSQL systems: introduction and data models. Riccardo Torlone Università Roma Tre NoSQL systems: introduction and data models Riccardo Torlone Università Roma Tre Leveraging the NoSQL boom 2 Why NoSQL? In the last fourty years relational databases have been the default choice for serious

More information

Importing to WIRED Contact From a Database File. Reference Guide

Importing to WIRED Contact From a Database File. Reference Guide Importing to WIRED Contact From a Database File Reference Guide Table of Contents Preparing the Database table for Import... 2 Locating the Field Names for the Import... 2 Importing the File to WiredContact...

More information

MySQL Replication : advanced features in all flavours. Giuseppe Maxia Quality Assurance Architect at

MySQL Replication : advanced features in all flavours. Giuseppe Maxia Quality Assurance Architect at MySQL Replication : advanced features in all flavours Giuseppe Maxia Quality Assurance Architect at VMware @datacharmer 1 About me Who s this guy? Giuseppe Maxia, a.k.a. "The Data Charmer" QA Architect

More information

Hibernate in close action. INF5750/ Lecture 3 (Part III)

Hibernate in close action. INF5750/ Lecture 3 (Part III) Hibernate in close action INF5750/9750 - Lecture 3 (Part III) Recalling Hibernate from Lect 2 Hibernate is an ORM tool? Hibernate can communication with different DBMS through? (mentioned in hibernate.properties)

More information

Several major software companies including IBM, Informix, Microsoft, Oracle, and Sybase have all released object-relational versions of their

Several major software companies including IBM, Informix, Microsoft, Oracle, and Sybase have all released object-relational versions of their Several major software companies including IBM, Informix, Microsoft, Oracle, and Sybase have all released object-relational versions of their products. These companies are promoting a new, extended version

More information

Painless Persistence. Some guidelines for creating persistent Java applications that work

Painless Persistence. Some guidelines for creating persistent Java applications that work Painless Persistence Some guidelines for creating persistent Java applications that work The Authors Anthony Patricio Senior JBoss Certification Developer Highest volume poster on early Hibernate forums

More information

CORE JAVA. Saying Hello to Java: A primer on Java Programming language

CORE JAVA. Saying Hello to Java: A primer on Java Programming language CORE JAVA Saying Hello to Java: A primer on Java Programming language Intro to Java & its features Why Java very famous? Types of applications that can be developed using Java Writing my first Java program

More information

Oracle Sql Describe Schema Query To Find Table

Oracle Sql Describe Schema Query To Find Table Oracle Sql Describe Schema Query To Find Table And, notably, Oracle still doesn't support the information schema. Views in the /d (object_name) will describe the schema of the table or view. Not sure how.

More information

Mysql Query Browser Export Table Structure

Mysql Query Browser Export Table Structure Mysql Query Browser Export Table Structure such as MySQL Administrator and MySQL Query Browser, allowing you to configure, Default Schema: Enter the name of your database. MySQL Workbench can export a

More information

Object Persistence Design Guidelines

Object Persistence Design Guidelines Object Persistence Design Guidelines Motivation Design guideline supports architects and developers in design and development issues of binding object-oriented applications to data sources The major task

More information

POJOs to the rescue. Easier and faster development with POJOs and lightweight frameworks

POJOs to the rescue. Easier and faster development with POJOs and lightweight frameworks POJOs to the rescue Easier and faster development with POJOs and lightweight frameworks by Chris Richardson cer@acm.org http://chris-richardson.blog-city.com 1 Who am I? Twenty years of software development

More information

Managing Data in an Object World. Mike Fechner, Director, Consultingwerk Ltd.

Managing Data in an Object World. Mike Fechner, Director, Consultingwerk Ltd. Managing Data in an Object World Mike Fechner, Director, Consultingwerk Ltd. mike.fechner@consultingwerk.de Consultingwerk Ltd. Independent IT consulting organization Focusing on OpenEdge and.net Located

More information

Software LEIC/LETI. Lecture 10

Software LEIC/LETI. Lecture 10 Software Engineering @ LEIC/LETI Lecture 10 Last Lecture Project Management Large Number of Features Project Planning Risk Management Agile Planning Scrum (Sommerville, Fig 3.9) (http://en.wikipedia.org/wiki/scrum_(software_development))

More information

TopLink Grid: Scaling JPA applications with Coherence

TopLink Grid: Scaling JPA applications with Coherence TopLink Grid: Scaling JPA applications with Coherence Shaun Smith Principal Product Manager shaun.smith@oracle.com Java Persistence: The Problem Space Customer id: int name: String

More information

EXPERT TIPS AND TRICKS FOR INTEGRATING LARGE-SCALE DATABASES WITH PERL AND PYTHON

EXPERT TIPS AND TRICKS FOR INTEGRATING LARGE-SCALE DATABASES WITH PERL AND PYTHON FOR INTEGRATING LARGE-SCALE DATABASES WITH PERL AND PYTHON AN ACTIVESTATE BEST PRACTICES WHITEPAPER INTRODUCTION Organizations depend on large-scale databases to manage large data sets and need well-tested,

More information

Management of Biometric Data in a Distributed Internet Environment

Management of Biometric Data in a Distributed Internet Environment Submission to: IEEE/IFIP IM 2007, Application Sessions, May 21-25, 2007, München, Germany Management of Biometric Data in a Distributed Internet Environment B. Stiller 1,2, T. Bocek 1, P. Ming 1, F. Eyermann

More information

Java Object/Relational Persistence with Hibernate. David Lucek 11 Jan 2005

Java Object/Relational Persistence with Hibernate. David Lucek 11 Jan 2005 Java Object/Relational Persistence with Hibernate David Lucek 11 Jan 2005 Object Relational Persistence Maps objects in your Model to a datastore, normally a relational database. Why? EJB Container Managed

More information

object/relational persistence What is persistence? 5

object/relational persistence What is persistence? 5 contents foreword to the revised edition xix foreword to the first edition xxi preface to the revised edition xxiii preface to the first edition xxv acknowledgments xxviii about this book xxix about the

More information

The Hibernate Framework Query Mechanisms Comparison

The Hibernate Framework Query Mechanisms Comparison The Hibernate Framework Query Mechanisms Comparison Tisinee Surapunt and Chartchai Doungsa-Ard Abstract The Hibernate Framework is an Object/Relational Mapping technique which can handle the data for applications

More information

Learning patterns of application architecture by looking at code

Learning patterns of application architecture by looking at code Proceedings of the 11th WSEAS International Conference on COMPUTERS, Agios Nikolaos, Crete Island, Greece, July 26-28, 2007 577 Learning patterns of application architecture by looking at code PAULO SOUSA

More information

Jdbc Connection In Java Example For Oracle 10g

Jdbc Connection In Java Example For Oracle 10g Jdbc Connection In Java Example For Oracle 10g Pdf Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names Example of Routing Based on Request Path Prefix. release 10.2.0.3

More information

Changes Schema Of Table Procedure Sql 2008 R2 Replication

Changes Schema Of Table Procedure Sql 2008 R2 Replication Changes Schema Of Table Procedure Sql 2008 R2 Replication The following table describes the possible schema changes that can and cannot When synchronizing data with SQL Server 2008 R2, SQL Server Compact

More information

Transaction Management Chapter 11. Class 9: Transaction Management 1

Transaction Management Chapter 11. Class 9: Transaction Management 1 Transaction Management Chapter 11 Class 9: Transaction Management 1 The Concurrent Update Problem To prevent errors from being introduced when concurrent updates are attempted, the application logic must

More information

Creating Ultra-fast Realtime Apps and Microservices with Java. Markus Kett, CEO Jetstream Technologies

Creating Ultra-fast Realtime Apps and Microservices with Java. Markus Kett, CEO Jetstream Technologies Creating Ultra-fast Realtime Apps and Microservices with Java Markus Kett, CEO Jetstream Technologies #NoDBMSApplications #JetstreamDB About me: Markus Kett Living in Regensburg, Germany Working with Java

More information

Java EE 7: Back-End Server Application Development

Java EE 7: Back-End Server Application Development Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Java EE 7: Back-End Server Application Development Duration: 5 Days What you will learn The Java EE 7: Back-End Server Application

More information

Sql Server 2005 Asp Schema Information_schema Triggers

Sql Server 2005 Asp Schema Information_schema Triggers Sql Server 2005 Asp Schema Information_schema Triggers Applies To: SQL Server 2014, SQL Server 2016 Preview Do not use INFORMATION_SCHEMA views to determine the schema of an object. The only reliable.

More information

Tool Create Database Diagram Sql Server 2008 Exporting

Tool Create Database Diagram Sql Server 2008 Exporting Tool Create Database Diagram Sql Server 2008 Exporting You can open database diagrams to view or edit the diagram's structure. Export (0) Print Create a New Database Diagram (Visual Database Tools) features

More information

Manual Trigger Sql Server 2008 Examples Insert Update

Manual Trigger Sql Server 2008 Examples Insert Update Manual Trigger Sql Server 2008 Examples Insert Update blog.sqlauthority.com/2011/03/31/sql-server-denali-a-simple-example-of you need to manually delete this trigger or else you can't get into master too

More information

STARCOUNTER. Technical Overview

STARCOUNTER. Technical Overview STARCOUNTER Technical Overview Summary 3 Introduction 4 Scope 5 Audience 5 Prerequisite Knowledge 5 Virtual Machine Database Management System 6 Weaver 7 Shared Memory 8 Atomicity 8 Consistency 9 Isolation

More information

Database Explorer Quickstart

Database Explorer Quickstart Database Explorer Quickstart Last Revision: Outline 1. Preface 2. Requirements 3. Introduction 4. Creating a Database Connection 1. Configuring a JDBC Driver 2. Creating a Connection Profile 3. Opening

More information

Export Database Diagram Sql Server 2005 Pdf

Export Database Diagram Sql Server 2005 Pdf Export Database Diagram Sql Server 2005 Pdf To export a class diagram that you created from code in a project, save the diagram as an image. If you want to export UML class diagrams instead, see Export.

More information

<Insert Picture Here> What's New for.net Developers for Oracle Database

<Insert Picture Here> What's New for.net Developers for Oracle Database 1 What's New for.net Developers for Oracle Database Alex Keh Principal Product Manager, Oracle Program Agenda Currently available Visual Studio 2010 and.net Framework 4 ODAC 11.2

More information

Architecting C++ apps

Architecting C++ apps Architecting C++ apps with a multi-device application platform John JT Thomas Director of Product Management jt@embarcadero.com @FireMonkeyPM blogs.embarcadero.com/jtembarcadero/ What is a multi-device

More information

SAP HANA Leading Marketplace for IT and Certification Courses

SAP HANA Leading Marketplace for IT and Certification Courses SAP HANA Overview SAP HANA or High Performance Analytic Appliance is an In-Memory computing combines with a revolutionary platform to perform real time analytics and deploying and developing real time

More information

Fundamentals of Information Systems, Seventh Edition

Fundamentals of Information Systems, Seventh Edition Chapter 3 Data Centers, and Business Intelligence 1 Why Learn About Database Systems, Data Centers, and Business Intelligence? Database: A database is an organized collection of data. Databases also help

More information

MySQL as a Document Store. Ted Wennmark

MySQL as a Document Store. Ted Wennmark MySQL as a Document Store Ted Wennmark ted.wennmark@oracle.com Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and

More information

Outline. Lecture 10: Database Connectivity -JDBC. Java Persistence. Persistence via Database

Outline. Lecture 10: Database Connectivity -JDBC. Java Persistence. Persistence via Database Outline Lecture 10: Database Connectivity -JDBC Persistence via Database JDBC (Java Database Connectivity) JDBC API Wendy Liu CSC309F Fall 2007 1 2 Java Persistence Persistence via Database JDBC (Java

More information