-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOverview.txt
More file actions
24 lines (19 loc) · 1.06 KB
/
Overview.txt
File metadata and controls
24 lines (19 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Here is a quick overview of how you can use database stored procedures
with JDX ORM:
- First, create in the database the stored procedures and any tables
used in those stored procedures.
- Define your domain model classes which are going to be used in
your application. Some of those classes may be used to map the
output data of some of the stored procedures.
- Define a declarative Object Relational Mapping (ORM) specification
for your domain model classes in a text (mapping) file. Also specify
the stored procedure related mapping in the specification.
The JDX User manual shows how such mapping can be defined in a
simple declarative way.
- Develop your application using JDX APIs. There are some simple
APIs to invoke the stored procedures and receive the data back
in an object-orietned way. Please see the JDX User Manual to learn
about how such data is packaged by JDX ORM.
This directory contains a sample project to demonstrate how JDX ORM
can work with stored procedures defined in a database. Please see
more details about the sample project in the README.txt file.