From 98fb897712b120d1590671435c327f56f4cc4ce1 Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Wed, 6 Feb 2019 16:55:09 -0800 Subject: [PATCH] HHH-13244 : add header to test; shorten table/column names to avoid oracle failure (cherry picked from commit 0720b2b376ccfe6960db7aa81cddace51cef8f19) --- .../jpa/test/JpaProxyComplianceWithDebug.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/hibernate-core/src/test/java/org/hibernate/jpa/test/JpaProxyComplianceWithDebug.java b/hibernate-core/src/test/java/org/hibernate/jpa/test/JpaProxyComplianceWithDebug.java index 6423649fed..a619e6a9e1 100644 --- a/hibernate-core/src/test/java/org/hibernate/jpa/test/JpaProxyComplianceWithDebug.java +++ b/hibernate-core/src/test/java/org/hibernate/jpa/test/JpaProxyComplianceWithDebug.java @@ -1,3 +1,9 @@ +/* + * Hibernate, Relational Persistence for Idiomatic Java + * + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. + * See the lgpl.txt file in the root directory or . + */ package org.hibernate.jpa.test; import static org.hibernate.testing.transaction.TransactionUtil.doInJPA; @@ -110,7 +116,7 @@ public class JpaProxyComplianceWithDebug extends BaseEntityManagerFunctionalTest @ManyToMany @JoinTable( - name = "mvno_billing_agreement_default_univerzalis_opcio", joinColumns = { + name = "mvnobillagr_def_univerzalis", joinColumns = { @JoinColumn(name = "billing_agreement_id") }, inverseJoinColumns = { @@ -118,15 +124,15 @@ public class JpaProxyComplianceWithDebug extends BaseEntityManagerFunctionalTest }) private Set mvnoDefaultUniverzalisOpcioi = new HashSet<>(); - @JoinColumn(name = "behajtas_egyiranyusitas_opcio_id") + @JoinColumn(name = "egyiranyusitas_opcio_id") @ManyToOne(fetch = FetchType.LAZY) private MvnoOpcio behajtasEgyiranyusitasOpcio; - @JoinColumn(name = "behajtas_felfuggesztes_opcio_id") + @JoinColumn(name = "felfuggesztes_opcio_id") @ManyToOne(fetch = FetchType.LAZY) private MvnoOpcio behajtasFelfuggesztesOpcio; - @JoinColumn(name = "hotlimit_emeltdijas_bar_opcio_id") + @JoinColumn(name = "emeltdijas_bar_opcio_id") @ManyToOne(fetch = FetchType.LAZY) private MvnoOpcio hotlimitEmeltDijasBarOpcio;