Skip to content

Commit 942cab4

Browse files
committed
OpenJpaDialect javadoc makes no reference to TopLink anymore
1 parent 6e6446c commit 942cab4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spring-orm/src/main/java/org/springframework/orm/jpa/vendor/OpenJpaDialect.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2013 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -50,7 +50,7 @@ public Object beginTransaction(EntityManager entityManager, TransactionDefinitio
5050
super.beginTransaction(entityManager, definition);
5151
OpenJPAEntityManager em = getOpenJPAEntityManager(entityManager);
5252
if (!definition.isReadOnly()) {
53-
// Like with TopLink, make sure to start the logic transaction early so that other
53+
// Like with EclipseLink, make sure to start the logic transaction early so that other
5454
// participants using the connection (such as JdbcTemplate) run in a transaction.
5555
em.beginStore();
5656
}
@@ -65,9 +65,9 @@ public ConnectionHandle getJdbcConnection(EntityManager entityManager, boolean r
6565
}
6666

6767
/**
68-
* Return the OpenJPA-specific interface of {@code EntityManager}.
68+
* Return the OpenJPA-specific variant of {@code EntityManager}.
6969
* @param em the generic {@code EntityManager} instance
70-
* @return the OpenJPA-specific interface of {@code EntityManager}
70+
* @return the OpenJPA-specific variant of {@code EntityManager}
7171
*/
7272
protected OpenJPAEntityManager getOpenJPAEntityManager(EntityManager em) {
7373
return OpenJPAPersistence.cast(em);
@@ -76,7 +76,7 @@ protected OpenJPAEntityManager getOpenJPAEntityManager(EntityManager em) {
7676

7777
/**
7878
* Transaction data Object exposed from {@code beginTransaction},
79-
* implementing the SavepointManager interface.
79+
* implementing the {@link SavepointManager} interface.
8080
*/
8181
private static class OpenJpaTransactionData implements SavepointManager {
8282

@@ -106,8 +106,8 @@ public void releaseSavepoint(Object savepoint) throws TransactionException {
106106

107107

108108
/**
109-
* ConnectionHandle implementation that fetches a new OpenJPA-provided Connection
110-
* for every {@code getConnection} call and closes the Connection on
109+
* {@link ConnectionHandle} implementation that fetches a new OpenJPA-provided
110+
* Connection for every {@code getConnection} call and closes the Connection on
111111
* {@code releaseConnection}. This is necessary because OpenJPA requires the
112112
* fetched Connection to be closed before continuing EntityManager work.
113113
* @see org.apache.openjpa.persistence.OpenJPAEntityManager#getConnection()

0 commit comments

Comments
 (0)