git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[maven-release-plugin] copy for tag wamblee-utils-0.2.2
[utils]
/
test
/
eclipselink
/
src
/
main
/
java
/
org
/
wamblee
/
support
/
persistence
/
eclipselink
/
JndiSessionCustomizer.java
diff --git
a/test/eclipselink/src/main/java/org/wamblee/support/persistence/eclipselink/JndiSessionCustomizer.java
b/test/eclipselink/src/main/java/org/wamblee/support/persistence/eclipselink/JndiSessionCustomizer.java
index 37a1cb3c8cc9f138be295d9845dd155d06682ed6..ca74ec5cebc45c908098524540171e1e0eff44eb 100644
(file)
--- a/
test/eclipselink/src/main/java/org/wamblee/support/persistence/eclipselink/JndiSessionCustomizer.java
+++ b/
test/eclipselink/src/main/java/org/wamblee/support/persistence/eclipselink/JndiSessionCustomizer.java
@@
-45,7
+45,7
@@
public class JndiSessionCustomizer implements SessionCustomizer {
*
*
*/
*
*
*/
- public void customize(Session
s
ession) throws Exception {
+ public void customize(Session
aS
ession) throws Exception {
JNDIConnector connector = null;
Context context = null;
JNDIConnector connector = null;
Context context = null;
@@
-53,7
+53,7
@@
public class JndiSessionCustomizer implements SessionCustomizer {
context = new InitialContext();
if (null != context) {
context = new InitialContext();
if (null != context) {
- connector = (JNDIConnector)
s
ession.getLogin().getConnector(); // possible
+ connector = (JNDIConnector)
aS
ession.getLogin().getConnector(); // possible
// CCE
// Change from COMPOSITE_NAME_LOOKUP to STRING_LOOKUP
// Note: if both jta and non-jta elements exist this will only
// CCE
// Change from COMPOSITE_NAME_LOOKUP to STRING_LOOKUP
// Note: if both jta and non-jta elements exist this will only
@@
-66,11
+66,11
@@
public class JndiSessionCustomizer implements SessionCustomizer {
// Or, if you are specifying both JTA and non-JTA in your
// persistence.xml then set both connectors to be safe
// Or, if you are specifying both JTA and non-JTA in your
// persistence.xml then set both connectors to be safe
- JNDIConnector writeConnector = (JNDIConnector)
s
ession
+ JNDIConnector writeConnector = (JNDIConnector)
aS
ession
.getLogin().getConnector();
writeConnector.setLookupType(JNDIConnector.STRING_LOOKUP);
.getLogin().getConnector();
writeConnector.setLookupType(JNDIConnector.STRING_LOOKUP);
- JNDIConnector readConnector = (JNDIConnector) ((DatabaseLogin) ((ServerSession)
s
ession)
+ JNDIConnector readConnector = (JNDIConnector) ((DatabaseLogin) ((ServerSession)
aS
ession)
.getReadConnectionPool().getLogin()).getConnector();
readConnector.setLookupType(JNDIConnector.STRING_LOOKUP);
.getReadConnectionPool().getLogin()).getConnector();
readConnector.setLookupType(JNDIConnector.STRING_LOOKUP);