Skip to content

Commit d596ea1

Browse files
committed
HHH-3078 copyright and refactored package
1 parent 4dc9dc6 commit d596ea1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,12 @@ public PojoEntityTuplizer(EntityMetamodel entityMetamodel, EntityBinding mappedE
158158
protected ProxyFactory buildProxyFactory(PersistentClass persistentClass, Getter idGetter, Setter idSetter) {
159159
// determine the id getter and setter methods from the proxy interface (if any)
160160
// determine all interfaces needed by the resulting proxy
161+
161162
/*
162163
* We need to preserve the order of the interfaces they were put into the set, since javassist will choose the
163164
* first one's class-loader to construct the proxy class with. This is also the reason why HibernateProxy.class
164165
* should be the last one in the order (on JBossAS7 its class-loader will be org.hibernate module's class-
165-
* loader, which will not see the classes inside deployed apps.
166+
* loader, which will not see the classes inside deployed apps. See HHH-3078
166167
*/
167168
Set<Class> proxyInterfaces = new java.util.LinkedHashSet<Class>();
168169

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Hibernate, Relational Persistence for Idiomatic Java
33
*
4-
* Copyright (c) 2010, Red Hat Inc. or third-party contributors as
4+
* Copyright (c) 2013, Red Hat Inc. or third-party contributors as
55
* indicated by the @author tags or express copyright attribution
66
* statements applied by the authors. All third-party contributions are
77
* distributed under license by Red Hat Inc.
@@ -21,7 +21,7 @@
2121
* 51 Franklin Street, Fifth Floor
2222
* Boston, MA 02110-1301 USA
2323
*/
24-
package org.hibernate.test.proxyclass;
24+
package org.hibernate.test.classloader;
2525

2626
import javax.persistence.Entity;
2727
import javax.persistence.Id;

0 commit comments

Comments
 (0)