Author: dgeraskov
Date: 2008-01-15 09:46:06 -0500 (Tue, 15 Jan 2008)
New Revision: 5699
Added:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterface.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterfaceImpl.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/abstractembeddedcomponents.cid.hbm.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1571
project files
Added:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterface.java
===================================================================
---
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterface.java
(rev 0)
+++
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterface.java 2008-01-15
14:46:06 UTC (rev 5699)
@@ -0,0 +1,15 @@
+package mapping.abstractembeddedcomponents.cid;
+
+import java.io.Serializable;
+
+/**
+ * @author Steve Ebersole
+ */
+public interface MyInterface extends Serializable {
+ public String getKey1();
+ public void setKey1(String key1);
+ public String getKey2();
+ public void setKey2(String key2);
+ public String getName();
+ public void setName(String name);
+}
Property changes on:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterface.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterfaceImpl.java
===================================================================
---
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterfaceImpl.java
(rev 0)
+++
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterfaceImpl.java 2008-01-15
14:46:06 UTC (rev 5699)
@@ -0,0 +1,36 @@
+package mapping.abstractembeddedcomponents.cid;
+
+import mapping.abstractembeddedcomponents.cid.MyInterface;
+
+/**
+ * @author Steve Ebersole
+ */
+public class MyInterfaceImpl implements MyInterface {
+ private String key1;
+ private String key2;
+ private String name;
+
+ public String getKey1() {
+ return key1;
+ }
+
+ public void setKey1(String key1) {
+ this.key1 = key1;
+ }
+
+ public String getKey2() {
+ return key2;
+ }
+
+ public void setKey2(String key2) {
+ this.key2 = key2;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+}
Property changes on:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterfaceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/abstractembeddedcomponents.cid.hbm.xml
===================================================================
---
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/abstractembeddedcomponents.cid.hbm.xml
(rev 0)
+++
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/abstractembeddedcomponents.cid.hbm.xml 2008-01-15
14:46:06 UTC (rev 5699)
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!DOCTYPE hibernate-mapping PUBLIC
+ "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<hibernate-mapping package="mapping.abstractembeddedcomponents.cid">
+
+ <class name="MyInterface" table="MY_INTF"
proxy="MyInterface">
+ <composite-id>
+ <key-property name="key1" type="string"/>
+ <key-property name="key2" type="string"/>
+ </composite-id>
+ <discriminator column="TYPE" type="string"
length="10"/>
+ <property name="name" type="string"/>
+ </class>
+
+ <subclass name="MyInterfaceImpl" extends="MyInterface"
discriminator-value="1" proxy="MyInterface">
+ </subclass>
+
+</hibernate-mapping>
Property changes on:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid/abstractembeddedcomponents.cid.hbm.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native