FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaPerformanceTuning/impl/README at master · GKPython/JavaPerformanceTuning · GitHub
GKPython
/
JavaPerformanceTuning
Public
forked from
ScottOaks/JavaPerformanceTuning
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaPerformanceTuning
/
impl
/
README
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (18 loc) · 1.05 KB
Breadcrumbs
JavaPerformanceTuning
/
impl
/
README
Copy path
File metadata and controls
21 lines (18 loc) · 1.05 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
These classes provide various implementations of the StockPrice API.
To compile these classes, you must have a JPA implementation. In your
environment, please set JAVAX_PERSISTENCE to the path to the jar file
containing the JPA API classes, e.g.
export JAVA_PERSISTENCE=/path_to/javax.persistence.jar
For examples that require Eclipselink-specific functionality, set
ECLIPSELINK_JAR to the path of the eclipselink implementation, e.g.
export ECLIPSELINK_JAR=/path_to/eclipselink.jar
There are several implementations of the stock price API, discussed mostly
in Chapter 11, as the implementation differences affect JPA. The choice of
those implementations is selected via -Dimpl value passed to the ant
comandline:
-Dimpl=LazyLazyImpl (both relationships are annotated lazy)
-Dimpl=EagerLazyImpl (the OneToMany stock->options relationship is eager)
-Dimpl=EagerEagerImpl (both relationships are eager)
-Dimpl=LazyEagerImpl (the ManyToOne options->stock relationship is eager)
For tests with the mock entity manager, use LazyLazyImpl, which is the
default.
Back
|
FazBrowse Home
|
New Git URL