Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-01-01 11:05:58 +0000
committerEike Stepper2011-01-01 11:05:58 +0000
commit62be4a4dea388ce7b1316f40470db0f0cd341261 (patch)
treeda688d52a254bed07815525536d5072e3ed66966 /plugins/org.eclipse.emf.cdo.examples.hibernate.client
parent65d21984b9ea473e5200e10db884eb6bab4aedf2 (diff)
downloadcdo-62be4a4dea388ce7b1316f40470db0f0cd341261.tar.gz
cdo-62be4a4dea388ce7b1316f40470db0f0cd341261.tar.xz
cdo-62be4a4dea388ce7b1316f40470db0f0cd341261.zip
Updated copyrights
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.examples.hibernate.client')
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.client/build.properties11
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.client/copyright.txt2
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.client/plugin.properties2
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/BaseTest.java8
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/CustomIDGeneratorTest.java4
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/GenerateHBMTest.java17
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/HibernateQueryTest.java11
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/QuickStartTest.java4
8 files changed, 36 insertions, 23 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/build.properties b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/build.properties
index c9c7f629f9..710be5b4e1 100644
--- a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/build.properties
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/build.properties
@@ -1,3 +1,14 @@
+# Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Eike Stepper - initial API and implementation
+
+# NLS_MESSAGEFORMAT_VAR
+
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/copyright.txt b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/copyright.txt
index b20a592315..04cf2d232a 100644
--- a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/copyright.txt
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/copyright.txt
@@ -1,4 +1,4 @@
-Copyright (c) 2010 Eike Stepper (Berlin, Germany) and others.
+Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/plugin.properties b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/plugin.properties
index 10174da5f2..471247c7b7 100644
--- a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/plugin.properties
@@ -1,4 +1,4 @@
-# Copyright (c) 2010 Eike Stepper (Berlin, Germany) and others.
+# Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/BaseTest.java b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/BaseTest.java
index 877fe54099..9f2ca41601 100644
--- a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/BaseTest.java
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/BaseTest.java
@@ -1,12 +1,12 @@
/**
- * Copyright (c) 2010 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Martin Taal - initial API and implementation
+ * Eike Stepper - initial API and implementation
*/
package org.eclipse.emf.cdo.examples.hibernate.client;
@@ -29,7 +29,7 @@ import junit.framework.TestCase;
/**
* This class contains code to connect to a CDO server in a standalone manner . So the junit test is not running inside
* an OSGI container.
- *
+ *
* @author Martin Taal
*/
public class BaseTest extends TestCase
@@ -68,7 +68,7 @@ public class BaseTest extends TestCase
Net4jUtil.prepareContainer(container); // Register Net4j factories
TCPUtil.prepareContainer(container); // Register TCP factories
CDONet4jUtil.prepareContainer(container); // Register CDO factories
-// LifecycleUtil.activate(container);
+ // LifecycleUtil.activate(container);
container.activate();
// Create connector
diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/CustomIDGeneratorTest.java b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/CustomIDGeneratorTest.java
index 86b55e3596..6a5db4a2b0 100644
--- a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/CustomIDGeneratorTest.java
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/CustomIDGeneratorTest.java
@@ -1,12 +1,12 @@
/**
- * Copyright (c) 2010 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Martin Taal - initial API and implementation
+ * Eike Stepper - initial API and implementation
*/
package org.eclipse.emf.cdo.examples.hibernate.client;
diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/GenerateHBMTest.java b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/GenerateHBMTest.java
index 3f8e2cd4f7..c20ae82a19 100644
--- a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/GenerateHBMTest.java
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/GenerateHBMTest.java
@@ -1,19 +1,15 @@
/**
- * Copyright (c) 2010 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Martin Taal - initial API and implementation
+ * Eike Stepper - initial API and implementation
*/
package org.eclipse.emf.cdo.examples.hibernate.client;
-import java.util.Properties;
-
-import junit.framework.TestCase;
-
import org.eclipse.emf.cdo.examples.company.CompanyPackage;
import org.eclipse.emf.cdo.server.hibernate.teneo.CDOMappingGenerator;
@@ -22,11 +18,16 @@ import org.eclipse.net4j.util.io.IOUtil;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.teneo.PersistenceOptions;
+import java.util.Properties;
+
+import junit.framework.TestCase;
+
/**
* This class shows how the hibernate mapping can be generated programmatically. The hibernate mapping can be stored
* locally and used in the server.
* <p/>
- * See <a href="http://wiki.eclipse.org/CDO_Hibernate_Store_Model_Relational_Mapping#Generating_the_mapping.2C_manually_changing_it_and_then_use_the_manual_mapping"
+ * See <a href=
+ * "http://wiki.eclipse.org/CDO_Hibernate_Store_Model_Relational_Mapping#Generating_the_mapping.2C_manually_changing_it_and_then_use_the_manual_mapping"
* >this</a> wiki page for more information.
* <p/>
* The generated hbm is printed to the console. For the rest see the inline comments.
@@ -38,7 +39,7 @@ import org.eclipse.emf.teneo.PersistenceOptions;
* <li>org.apache.commons.logging</li>
* </ul>
* The first two dependencies normally do not exist on a client side application.
- *
+ *
* @author Martin Taal
*/
public class GenerateHBMTest extends TestCase
diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/HibernateQueryTest.java b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/HibernateQueryTest.java
index f7da8bc78c..66149678a3 100644
--- a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/HibernateQueryTest.java
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/HibernateQueryTest.java
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -10,10 +10,6 @@
*/
package org.eclipse.emf.cdo.examples.hibernate.client;
-import java.io.Serializable;
-import java.util.ArrayList;
-import java.util.List;
-
import org.eclipse.emf.cdo.CDOObject;
import org.eclipse.emf.cdo.common.id.CDOID;
import org.eclipse.emf.cdo.eresource.CDOResource;
@@ -29,8 +25,13 @@ import org.eclipse.emf.cdo.spi.common.id.AbstractCDOIDLong;
import org.eclipse.emf.cdo.spi.common.id.AbstractCDOIDString;
import org.eclipse.emf.cdo.transaction.CDOTransaction;
import org.eclipse.emf.cdo.view.CDOQuery;
+
import org.eclipse.net4j.util.collection.CloseableIterator;
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
/**
* Test different aspects of HQL querying using the CDO query api.
* <p/>
diff --git a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/QuickStartTest.java b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/QuickStartTest.java
index 8f6db131f0..89bbf72fdc 100644
--- a/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/QuickStartTest.java
+++ b/plugins/org.eclipse.emf.cdo.examples.hibernate.client/src/org/eclipse/emf/cdo/examples/hibernate/client/QuickStartTest.java
@@ -1,12 +1,12 @@
/**
- * Copyright (c) 2010 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Martin Taal - initial API and implementation
+ * Eike Stepper - initial API and implementation
*/
package org.eclipse.emf.cdo.examples.hibernate.client;

Back to the top