JBoss Tools SVN: r2889 - trunk/hibernatetools/sampleprojects/org.jboss.tools.hibernate.sampleproject.mappingtypes/src.
by jbosstools-commits@lists.jboss.org
Author: mdryakhlenkov
Date: 2007-08-03 12:29:25 -0400 (Fri, 03 Aug 2007)
New Revision: 2889
Modified:
trunk/hibernatetools/sampleprojects/org.jboss.tools.hibernate.sampleproject.mappingtypes/src/hibernate.cfg.xml
Log:
Modified: trunk/hibernatetools/sampleprojects/org.jboss.tools.hibernate.sampleproject.mappingtypes/src/hibernate.cfg.xml
===================================================================
--- trunk/hibernatetools/sampleprojects/org.jboss.tools.hibernate.sampleproject.mappingtypes/src/hibernate.cfg.xml 2007-08-03 15:43:36 UTC (rev 2888)
+++ trunk/hibernatetools/sampleprojects/org.jboss.tools.hibernate.sampleproject.mappingtypes/src/hibernate.cfg.xml 2007-08-03 16:29:25 UTC (rev 2889)
@@ -5,5 +5,469 @@
<hibernate-configuration>
<session-factory>
<property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property>
+
+
+<!--
+ <mapping resource="mapping/declaration/id/MappedClassWithId.hbm.xml"/>
+ <mapping resource="mapping/declaration/id/MappedClassWithoutId.hbm.xml"/>
+ <mapping resource="mapping/declaration/id/composite/v1/KeyManyToOneClass.hbm.xml"/>
+ <mapping resource="mapping/declaration/id/composite/v1/mapping.hbm.xml"/>
+ <mapping resource="mapping/declaration/id/composite/v2/mapping.hbm.xml"/>
+ <mapping resource="mapping/value/type/collection/list/CollectionList.hbm.xml"/>
+ <mapping resource="mapping/value/type/collection/list/CollectionListItem.hbm.xml"/>
+ <mapping resource="mapping/value/type/collection/map/CollectionListMap.hbm.xml"/>
+ <mapping resource="mapping/value/type/collection/map/CollectionMap.hbm.xml"/>
+ <mapping resource="mapping/value/type/collection/map/CollectionMapMany.hbm.xml"/>
+ <mapping resource="mapping/value/type/collection/set/CollectionSet.hbm.xml"/>
+ <mapping resource="mapping/value/type/collection/set/CollectionSetItem.hbm.xml"/>
+
+ <mapping resource="mapping/abstractembeddedcomponents/cid/abstractembeddedcomponents.cid.hbm.xml"/>
+ <mapping resource="mapping/abstractembeddedcomponents/propertyref/Mappings.hbm.xml"/>
+
+ <mapping resource="mapping/any/Person.hbm.xml"/>
+ <mapping resource="mapping/any/Properties.hbm.xml"/>
+
+ <mapping resource="mapping/array/A.hbm.xml"/>
+
+ <mapping resource="mapping/batch/DataPoint.hbm.xml"/>
+
+ <mapping resource="mapping/batchfetch/ProductLine.hbm.xml"/>
+
+ <mapping resource="mapping/bidi/Auction.hbm.xml"/>
+ <mapping resource="mapping/bidi/Auction2.hbm.xml"/>
+
+ <mapping resource="mapping/bytecode/Bean.hbm.xml"/>
+
+ <mapping resource="mapping/cache/Item.hbm.xml"/>
+
+ <mapping resource="mapping/cascade/Job.hbm.xml"/>
+ <mapping resource="mapping/cascade/JobBatch.hbm.xml"/>
+
+ <mapping resource="mapping/cid/Customer.hbm.xml"/>
+ <mapping resource="mapping/cid/LineItem.hbm.xml"/>
+ <mapping resource="mapping/cid/Order.hbm.xml"/>
+ <mapping resource="mapping/cid/Product.hbm.xml"/>
+
+ <mapping resource="mapping/collection/bag/Mappings.hbm.xml"/>
+ <mapping resource="mapping/collection/idbag/Mappings.hbm.xml"/>
+ <mapping resource="mapping/collection/list/Mappings.hbm.xml"/>
+ <mapping resource="mapping/collection/map/Mappings.hbm.xml"/>
+ <mapping resource="mapping/collection/original/UserPermissions.hbm.xml"/>
+ <mapping resource="mapping/collection/set/Mappings.hbm.xml"/>
+
+ <mapping resource="mapping/component/basic/User.hbm.xml"/>
+ <mapping resource="mapping/component/cascading/collection/Mappings.hbm.xml"/>
+ <mapping resource="mapping/component/cascading/toone/Mappings.hbm.xml"/>
+
+ <mapping resource="mapping/compositeelement/Parent.hbm.xml"/>
+
+ <mapping resource="mapping/connections/Silly.hbm.xml"/>
+
+ <mapping resource="mapping/criteria/Enrolment.hbm.xml"/>
+
+ <mapping resource="mapping/cuk/Person.hbm.xml"/>
+ <mapping resource="mapping/cut/Transaction.hbm.xml"/>
+ <mapping resource="mapping/cut/types.hbm.xml"/>
+
+ <mapping resource="mapping/deletetransient/Person.hbm.xml"/>
+
+ <mapping resource="mapping/dialect/functional/cache/TestInterSystemsFunctionsClass.hbm.xml"/>
+
+ <mapping resource="mapping/discriminator/Person.hbm.xml"/>
+
+-->
+ <mapping resource="mapping/dynamicentity/interceptor/Customer.hbm.xml"/>
+<!--
+ <mapping resource="mapping/dynamicentity/tuplizer/Customer.hbm.xml"/>
+
+ <mapping resource="mapping/ecid/Course.hbm.xml"/>
+
+ <mapping resource="mapping/entitymode/dom4j/many2one/Car.hbm.xml"/>
+
+ <mapping resource="mapping/entitymode/multi/Stock.hbm.xml"/>
+ <mapping resource="mapping/entitymode/multi/Valuation.hbm.xml"/>
+
+ <mapping resource="mapping/entitymode/dom4j/basic/AB.hbm.xml"/>
+ <mapping resource="mapping/entitymode/dom4j/basic/Account.hbm.xml"/>
+ <mapping resource="mapping/entitymode/dom4j/basic/Employer.hbm.xml"/>
+
+ <mapping resource="mapping/exception/Group.hbm.xml"/>
+ <mapping resource="mapping/exception/User.hbm.xml"/>
+
+ <mapping resource="mapping/extendshbm/allinone.hbm.xml"/>
+ <mapping resource="mapping/extendshbm/allseparateinone.hbm.xml"/>
+ <mapping resource="mapping/extendshbm/Customer.hbm.xml"/>
+ <mapping resource="mapping/extendshbm/Employee.hbm.xml"/>
+ <mapping resource="mapping/extendshbm/entitynames.hbm.xml"/>
+ <mapping resource="mapping/extendshbm/packageentitynames.hbm.xml"/>
+ <mapping resource="mapping/extendshbm/Person.hbm.xml"/>
+ <mapping resource="mapping/extendshbm/unionsubclass.hbm.xml"/>
+
+ <mapping resource="mapping/extralazy/UserGroup.hbm.xml"/>
+
+ <mapping resource="mapping/filter/Category.hbm.xml"/>
+ <mapping resource="mapping/filter/defs.hbm.xml"/>
+ <mapping resource="mapping/filter/Department.hbm.xml"/>
+ <mapping resource="mapping/filter/LineItem.hbm.xml"/>
+ <mapping resource="mapping/filter/Order.hbm.xml"/>
+ <mapping resource="mapping/filter/Product.hbm.xml"/>
+ <mapping resource="mapping/filter/Salesperson.hbm.xml"/>
+
+ <mapping resource="mapping/formulajoin/Master.hbm.xml"/>
+
+ <mapping resource="mapping/generated/ComponentOwner.hbm.xml"/>
+ <mapping resource="mapping/generated/GeneratedPropertyEntity.hbm.xml"/>
+ <mapping resource="mapping/generated/MSSQLGeneratedPropertyEntity.hbm.xml"/>
+
+ <mapping resource="mapping/generatedkeys/identity/MyEntity.hbm.xml"/>
+
+ <mapping resource="mapping/generatedkeys/select/MyEntity.hbm.xml"/>
+
+ <mapping resource="mapping/generatedkeys/seqidentity/MyEntity.hbm.xml"/>
+
+ <mapping resource="mapping/hql/Animal.hbm.xml"/>
+ <mapping resource="mapping/hql/BooleanLiteralEntity.hbm.xml"/>
+ <mapping resource="mapping/hql/ComponentContainer.hbm.xml"/>
+ <mapping resource="mapping/hql/CrazyIdFieldNames.hbm.xml"/>
+ <mapping resource="mapping/hql/WithCrazyCompositeKey.hbm.xml"/>
+ <mapping resource="mapping/hql/FooBarCopy.hbm.xml"/>
+ <mapping resource="mapping/hql/KeyManyToOneEntity.hbm.xml"/>
+ <mapping resource="mapping/hql/SimpleEntityWithAssociation.hbm.xml"/>
+ <mapping resource="mapping/hql/SimpleEntityWithAssociation.hbm.xml"/>
+ <mapping resource="mapping/hql/Vehicle.hbm.xml"/>
+ <mapping resource="mapping/hql/Versions.hbm.xml"/>
+
+ <mapping resource="mapping/id/Car.hbm.xml"/>
+ <mapping resource="mapping/id/Plane.hbm.xml"/>
+ <mapping resource="mapping/id/Product.hbm.xml"/>
+ <mapping resource="mapping/id/Radio.hbm.xml"/>
+
+ <mapping resource="mapping/idbag/UserGroup.hbm.xml"/>
+
+ <mapping resource="mapping/idclass\Customer.hbm.xml"/>
+
+ <mapping resource="mapping\idgen\enhanced\forcedtable\Basic.hbm.xml"/>
+ <mapping resource="mapping\idgen\enhanced\forcedtable\HiLo.hbm.xml"/>
+ <mapping resource="mapping\idgen\enhanced\forcedtable\Pooled.hbm.xml"/>
+
+ <mapping resource="mapping\idgen\enhanced\sequence\Basic.hbm.xml"/>
+ <mapping resource="mapping\idgen\enhanced\sequence\HiLo.hbm.xml"/>
+ <mapping resource="mapping\idgen\enhanced\sequence\Pooled.hbm.xml"/>
+
+ <mapping resource="mapping\idgen\enhanced\table\Basic.hbm.xml"/>
+ <mapping resource="mapping\idgen\enhanced\table\HiLo.hbm.xml"/>
+ <mapping resource="mapping\idgen\enhanced\table\Pooled.hbm.xml"/>
+
+ <mapping resource="mapping\idprops\Mapping.hbm.xml"/>
+
+ <mapping resource="mapping\immutable\ContractVariation.hbm.xml"/>
+
+ <mapping resource="mapping\insertordering\Mapping.hbm.xml"/>
+
+ <mapping resource="mapping\instrument\domain\Documents.hbm.xml"/>
+ <mapping resource="mapping\instrument\domain\Problematic.hbm.xml"/>
+
+ <mapping resource="mapping\interceptor\Image.hbm.xml"/>
+ <mapping resource="mapping\interceptor\User.hbm.xml"/>
+
+ <mapping resource="mapping\interfaceproxy\Item.hbm.xml"/>
+
+ <mapping resource="mapping\iterate\Item.hbm.xml"/>
+
+ <mapping resource="mapping\join\Person.hbm.xml"/>
+
+ <mapping resource="mapping\joinedsubclass\Person.hbm.xml"/>
+
+ <mapping resource="mapping\joinfetch\ItemBid.hbm.xml"/>
+ <mapping resource="mapping\joinfetch\UserGroup.hbm.xml"/>
+
+ <mapping resource="mapping\jpa\Item.hbm.xml"/>
+ <mapping resource="mapping\jpa\MyEntity.hbm.xml"/>
+ <mapping resource="mapping\jpa\Part.hbm.xml"/>
+
+ <mapping resource="mapping\jpa\cascade\ParentChild.hbm.xml"/>
+
+ <mapping resource="mapping\jpa\fetch\Person.hbm.xml"/>
+
+ <mapping resource="mapping\keymanytoone\bidir\component\EagerMapping.hbm.xml"/>
+ <mapping resource="mapping\keymanytoone\bidir\component\LazyMapping.hbm.xml"/>
+
+ <mapping resource="mapping\keymanytoone\bidir\embedded\Mapping.hbm.xml"/>
+
+ <mapping resource="mapping\lazycache\Documents.hbm.xml"/>
+
+ <mapping resource="mapping\lazyonetoone\Person.hbm.xml"/>
+
+
+
+
+
+
+ <mapping resource="mapping\legacy\ABC.hbm.xml"/>
+ <mapping resource="mapping\legacy\ABCExtends.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\ABCProxy.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\AltSimple.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Baz.hbm.xml"/>
+ <mapping resource="mapping\legacy\FooBar.hbm.xml"/>
+ <mapping resource="mapping\legacy\Glarch.hbm.xml"/>
+ <mapping resource="mapping\legacy\Fee.hbm.xml"/> java.lang.NullPointerException at org.hibernate.mapping.ManyToOne.createPropertyRefConstraints(ManyToOne.java:47)
+ <mapping resource="mapping\legacy\Fum.hbm.xml"/>
+ <mapping resource="mapping\legacy\Qux.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Blobber.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Broken.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Category.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Circular.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Commento.hbm.xml"/>
+ <mapping resource="mapping\legacy\Marelo.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Componentizable.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\ComponentNotNullMaster.hbm.xml"/> org.hibernate.MappingException: component class not found: mapping.legacy.ComponentNotNullMaster$ContainerInnerClass
+ <mapping resource="mapping\legacy\Many.hbm.xml"/>
+ <mapping resource="mapping\legacy\Simple.hbm.xml"/>
+ <mapping resource="mapping\legacy\One.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\CompositeIdId.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Container.hbm.xml"/> org.hibernate.MappingException: java.lang.ClassNotFoundException: mapping.legacy.GlarchProxy
+ <mapping resource="mapping\legacy\Simple.hbm.xml"/>
+ <mapping resource="mapping\legacy\Holder.hbm.xml"/>
+ <mapping resource="mapping\legacy\Many.hbm.xml"/>
+ <mapping resource="mapping\legacy\One.hbm.xml"/>
+ <mapping resource="mapping\legacy\FooBar.hbm.xml"/>
+ <mapping resource="mapping\legacy\Glarch.hbm.xml"/>
+ <mapping resource="mapping\legacy\Baz.hbm.xml"/>
+ <mapping resource="mapping\legacy\Fee.hbm.xml"/>
+ <mapping resource="mapping\legacy\Qux.hbm.xml"/>
+ <mapping resource="mapping\legacy\Fum.hbm.xml"/>
+ <mapping resource="mapping\legacy\Simple.hbm.xml"/>
+ <mapping resource="mapping\legacy\Many.hbm.xml"/>
+ <mapping resource="mapping\legacy\One.hbm.xml"/>
+ <mapping resource="mapping\legacy\Glarch.hbm.xml"/>
+ <mapping resource="mapping\legacy\Fee.hbm.xml"/>
+ <mapping resource="mapping\legacy\Qux.hbm.xml"/>
+ <mapping resource="mapping\legacy\Fum.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Custom.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\CustomSQL.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Eye.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Fo.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Fumm.hbm.xml"/>
+ <mapping resource="mapping\legacy\Fum.hbm.xml"/>
+ <mapping resource="mapping\legacy\Qux.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\IJ.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\IJ2.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Immutable.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Location.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Map.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\MasterDetail.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Middle.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\MultiExtends.hbm.xml"/>
+ <mapping resource="mapping\legacy\Multi.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Nameable.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Object2.hbm.xml"/>
+ <mapping resource="mapping\legacy\MainObject.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\ParentChild.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\SingleSeveral.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Stuff.hbm.xml"/>
+ <mapping resource="mapping\legacy\FooBar.hbm.xml"/>
+ <mapping resource="mapping\legacy\Glarch.hbm.xml"/>
+ <mapping resource="mapping\legacy\Baz.hbm.xml"/>
+ <mapping resource="mapping\legacy\Fee.hbm.xml"/>
+ <mapping resource="mapping\legacy\Qux.hbm.xml"/>
+ <mapping resource="mapping\legacy\Fum.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\UpDown.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Vetoer.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\Wicked.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\WZ.hbm.xml"/>
+
+ <mapping resource="mapping\legacy\XY.hbm.xml"/>
+
+
+
+
+ <mapping resource="mapping\lob\LobMappings.hbm.xml"/>
+
+ <mapping resource="mapping\manytomany\UserGroup.hbm.xml"/>
+
+ <mapping resource="mapping\manytomany\ordered\UserGroup.hbm.xml"/>
+
+ <mapping resource="mapping\map\UserGroup.hbm.xml"/>
+
+ <mapping resource="mapping\mapcompelem\ProductPart.hbm.xml"/>
+
+ <mapping resource="mapping\mapelemformula\UserGroup.hbm.xml"/>
+
+ <mapping resource="mapping\mappingexception\InvalidMapping.hbm.xml"/>
+ <mapping resource="mapping\mappingexception\User.hbm.xml"/>
+
+ <mapping resource="mapping\mixed\Item.hbm.xml"/>
+
+ <mapping resource="mapping\naturalid\User.hbm.xml"/>
+
+ <mapping resource="mapping\ondelete\Person.hbm.xml"/>
+
+ <mapping resource="mapping\onetomany\Parent.hbm.xml"/>
+
+ <mapping resource="mapping\onetoone\formula\Person.hbm.xml"/>
+
+ <mapping resource="mapping\onetoone\joined\Person.hbm.xml"/>
+
+ <mapping resource="mapping\onetoone\link\Person.hbm.xml"/>
+
+ <mapping resource="mapping\onetoone\nopojo\Person.hbm.xml"/>
+
+ <mapping resource="mapping\onetoone\optional\Person.hbm.xml"/>
+
+ <mapping resource="mapping\onetoone\singletable\Person.hbm.xml"/>
+
+ <mapping resource="mapping\ops\Competition.hbm.xml"/>
+ <mapping resource="mapping\ops\Employer.hbm.xml"/>
+ <mapping resource="mapping\ops\Node.hbm.xml"/>
+ <mapping resource="mapping\ops\OneToOne.hbm.xml"/>
+ <mapping resource="mapping\ops\OptLockEntity.hbm.xml"/>
+
+ <mapping resource="mapping\optlock\Document.hbm.xml"/>
+
+ <mapping resource="mapping\ordered\Search.hbm.xml"/>
+
+ <mapping resource="mapping\orphan\Mail.hbm.xml"/>
+ <mapping resource="mapping\orphan\Product.hbm.xml"/>
+ <mapping resource="mapping\orphan\User.hbm.xml"/>
+
+ <mapping resource="mapping\pagination\DataPoint.hbm.xml"/>
+
+ <mapping resource="mapping\propertyref\basic\Person.hbm.xml"/>
+
+ <mapping resource="mapping\propertyref\component\complete\Mapping.hbm.xml"/>
+
+ <mapping resource="mapping\propertyref\component\partial\Mapping.hbm.xml"/>
+
+ <mapping resource="mapping\propertyref\inheritence\discrim\Person.hbm.xml"/>
+
+ <mapping resource="mapping\propertyref\inheritence\joined\Person.hbm.xml"/>
+
+ <mapping resource="mapping\propertyref\inheritence\union\Person.hbm.xml"/>
+
+ <mapping resource="mapping\proxy\DataPoint.hbm.xml"/>
+
+ <mapping resource="mapping\querycache\Item.hbm.xml"/>
+
+ <mapping resource="mapping\readonly\DataPoint.hbm.xml"/>
+
+ <mapping resource="mapping\reattachment\Mappings.hbm.xml"/>
+
+ <mapping resource="mapping\rowid\Point.hbm.xml"/>
+
+ <mapping resource="mapping\schemaupdate\1_Version.hbm.xml"/>
+ <mapping resource="mapping\schemaupdate\2_Version.hbm.xml"/>
+
+ <mapping resource="mapping\sorted\Search.hbm.xml"/>
+
+ <mapping resource="mapping\sql\check\oracle-mappings.hbm.xml"/>
+
+ <mapping resource="mapping\sql\hand\custom\datadirect\oracle\StoredProcedures.hbm.xml"/>
+
+ <mapping resource="mapping\stateless\Document.hbm.xml"/>
+
+ <mapping resource="mapping\stats\Continent.hbm.xml"/>
+ <mapping resource="mapping\stats\Continent2.hbm.xml"/>
+
+ <mapping resource="mapping\subclassfilter\discrim-subclass.hbm.xml"/>
+ <mapping resource="mapping\subclassfilter\joined-subclass.hbm.xml"/>
+ <mapping resource="mapping\subclassfilter\union-subclass.hbm.xml"/>
+
+ <mapping resource="mapping\subselect\Beings.hbm.xml"/>
+
+ <mapping resource="mapping\subselectfetch\ParentChild.hbm.xml"/>
+
+ <mapping resource="mapping\ternary\Ternary.hbm.xml"/>
+
+ <mapping resource="mapping\ternary\Ternary.hbm.xml"/>
+
+ <mapping resource="mapping\timestamp\User.hbm.xml"/>
+
+ <mapping resource="mapping\tm\Item.hbm.xml"/>
+
+ <mapping resource="mapping\tool\Team.hbm.xml"/>
+
+ <mapping resource="mapping\typedmanytoone\Customer.hbm.xml"/>
+
+ <mapping resource="mapping\typedonetoone\Customer.hbm.xml"/>
+
+ <mapping resource="mapping\typeparameters\Typedef.hbm.xml"/>
+ <mapping resource="mapping\typeparameters\Widget.hbm.xml"/>
+
+ <mapping resource="mapping\unconstrained\Person.hbm.xml"/>
+
+ <mapping resource="mapping\unidir\ParentChild.hbm.xml"/>
+
+ <mapping resource="mapping\unionsubclass\Beings.hbm.xml"/>
+
+ <mapping resource="mapping\unionsubclass2\Person.hbm.xml"/>
+
+ <mapping resource="mapping\usercollection\basic\UserPermissions.hbm.xml"/>
+
+ <mapping resource="mapping\usercollection\parameterized\Mapping.hbm.xml"/>
+
+ <mapping resource="mapping\util\dtd\Parent.hbm.xml"/>
+
+ <mapping resource="mapping\version\PersonThing.hbm.xml"/>
+
+ <mapping resource="mapping\version\db\User.hbm.xml"/>
+
+ <mapping resource="mapping\where\File.hbm.xml"/>
+ -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--
+ <mapping resource="mapping/propertyref/inheritence/joined/Person.hbm.xml"/>
+-->
+
</session-factory>
</hibernate-configuration>
18 years, 5 months
JBoss Tools SVN: r2888 - in trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors: parts and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mdryakhlenkov
Date: 2007-08-03 11:43:36 -0400 (Fri, 03 Aug 2007)
New Revision: 2888
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmDiagram.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/DiagramEditPart.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java
Log:
EXIN-413: Incorrect relations between elements of diagram
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmDiagram.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmDiagram.java 2007-08-03 14:50:40 UTC (rev 2887)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmDiagram.java 2007-08-03 15:43:36 UTC (rev 2888)
@@ -127,7 +127,7 @@
if (ormElement instanceof RootClass) {
childrenLocations[i] = ((RootClass)ormElement).getEntityName() + "@";
} else if (ormElement instanceof Table) {
- childrenLocations[i] = ((Table)ormElement).getSchema() + "." + ((Table)ormElement).getName()+"@";
+ childrenLocations[i] = TextUtil.getTableName((Table)ormElement)+"@";
// } else if (ormElement instanceof Component) {
// childrenLocations[i] = ((Component)ormElement).getComponentClassName()+"@";
}
@@ -292,9 +292,6 @@
if (elements.get(cls.getEntityName()) == null)
getOrCreatePersistentClass(cls, null);
}
-// } else if (clazz instanceof SingleTableSubclass) {
-// SingleTableSubclass singleTableSubclass = (SingleTableSubclass)clazz;
-// getOrCreatePersistentClass(singleTableSubclass, null);
}
}
}
@@ -497,7 +494,7 @@
Component component = (Component)((Collection)property.getValue()).getElement();
if (component != null) {
classShape = createShape(property);
- OrmShape tableShape = (OrmShape)elements.get(component.getTable().getSchema() + "." + component.getTable().getName());
+ OrmShape tableShape = (OrmShape)elements.get(TextUtil.getTableName(component.getTable()));
if (tableShape == null) tableShape = getOrCreateDatabaseTable(component.getTable());
createConnections(classShape, tableShape);
if(!isConnectionExist(classShape, tableShape)){
@@ -527,9 +524,10 @@
OrmShape classShape = null;
OneToMany component = (OneToMany)((Collection)property.getValue()).getElement();
if (component != null) {
- classShape = (OrmShape)elements.get(component.getAssociatedClass().getEntityName());
+// classShape = (OrmShape)elements.get(component.getAssociatedClass().getEntityName());
+ classShape = getOrCreatePersistentClass(component.getAssociatedClass(), null);
if (classShape == null) classShape = createShape(component.getAssociatedClass());
- OrmShape tableShape = (OrmShape)elements.get(component.getAssociatedClass().getTable().getSchema() + "." + component.getAssociatedClass().getTable().getName());
+ OrmShape tableShape = (OrmShape)elements.get(TextUtil.getTableName(component.getAssociatedClass().getTable()));
if (tableShape == null) tableShape = getOrCreateDatabaseTable(component.getAssociatedClass().getTable());
createConnections(classShape, tableShape);
if(!isConnectionExist(classShape, tableShape)){
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/DiagramEditPart.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/DiagramEditPart.java 2007-08-03 14:50:40 UTC (rev 2887)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/DiagramEditPart.java 2007-08-03 15:43:36 UTC (rev 2888)
@@ -152,8 +152,7 @@
.getOrmElement())).getProperty().getValue())
.getElement();
Table ownerTable = component.getOwner().getTable();
- ormShape = (OrmShape) hashMap.remove(ownerTable.getSchema()
- + "." + ownerTable.getName());
+ ormShape = (OrmShape) hashMap.remove(TextUtil.getTableName(ownerTable));
// }
// if (ormShape != null ) {
// ormShape.setLocation(new Point(pointX,point));
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java 2007-08-03 14:50:40 UTC (rev 2887)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java 2007-08-03 15:43:36 UTC (rev 2888)
@@ -67,7 +67,7 @@
((ExpandeableShape)getModel()).refreshReferences(getViewer().getContents().getModel());
}
}
-
+
public void propertyChange(PropertyChangeEvent evt) {
String prop = evt.getPropertyName();
if (Shape.SHOW_SELECTION.equals(prop)) {
18 years, 5 months
JBoss Tools SVN: r2887 - trunk/as/plugins/org.jboss.ide.eclipse.as.core.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-08-03 10:50:40 -0400 (Fri, 03 Aug 2007)
New Revision: 2887
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
Log:
JBIDE-636
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2007-08-03 14:30:00 UTC (rev 2886)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2007-08-03 14:50:40 UTC (rev 2887)
@@ -82,7 +82,7 @@
vendor="%providerName"
class="org.jboss.ide.eclipse.as.core.runtime.server.JBoss32ServerRuntime"
description="%jboss.version.32.description"
- name="JBoss 3.2 Server Adapter Runtime"
+ name="JBoss 3.2 Runtime"
id="org.jboss.ide.eclipse.as.runtime.32"
version="3.2">
<moduleType
@@ -103,7 +103,7 @@
vendor="%providerName"
class="org.jboss.ide.eclipse.as.core.runtime.server.JBoss40ServerRuntime"
description="%jboss.version.40.description"
- name="JBoss 4.0 Server Adapter Runtime"
+ name="JBoss 4.0 Runtime"
id="org.jboss.ide.eclipse.as.runtime.40"
version="4.0">
<moduleType
@@ -123,7 +123,7 @@
vendor="%providerName"
class="org.jboss.ide.eclipse.as.core.runtime.server.JBoss42ServerRuntime"
description="%jboss.version.42.description"
- name="JBoss 4.2 Server Adapter Runtime"
+ name="JBoss 4.2 Runtime"
id="org.jboss.ide.eclipse.as.runtime.42"
version="4.2">
<moduleType
@@ -146,7 +146,7 @@
class="org.jboss.ide.eclipse.as.core.server.stripped.DeployableServerRuntime"
description="A runtime provided to allow a deploy-only server the ability to deploy certain project types."
id="org.jboss.ide.eclipse.as.runtime.stripped"
- name="JBoss Deploy-only Server Runtime"
+ name="JBoss Deploy-only"
vendor="%providerName"
version="1.0">
<moduleType
18 years, 5 months
JBoss Tools SVN: r2886 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-08-03 10:30:00 -0400 (Fri, 03 Aug 2007)
New Revision: 2886
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/EJB30SupportVerifier.java
Log:
removing ejb30 refs
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/EJB30SupportVerifier.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/EJB30SupportVerifier.java 2007-08-03 14:21:43 UTC (rev 2885)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/EJB30SupportVerifier.java 2007-08-03 14:30:00 UTC (rev 2886)
@@ -14,7 +14,7 @@
if( ajbsr == null ) return true;
// one of ours. verify
- IPath path = new Path("junk").append(rt.getId()).append("jbide.ejb30").append("1.0");
+ IPath path = new Path("junk").append(rt.getId()).append("jst.ejb").append("3.0");
WebtoolsProjectJBossClasspathContainer container =
new WebtoolsProjectJBossClasspathContainer(path);
IClasspathEntry[] entries = container.getClasspathEntries();
18 years, 5 months
JBoss Tools SVN: r2885 - in trunk/as/plugins/org.jboss.ide.eclipse.as.core: jbosscore/org/jboss/ide/eclipse/as/core/packages and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-08-03 10:21:43 -0400 (Fri, 03 Aug 2007)
New Revision: 2885
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/ModulePackageTypeConverter.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/types/EjbArchiveType.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/internal/WebtoolsProjectJBossClasspathContainerInitializer.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/stripped/DeployableServerBehavior.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
Log:
removing ejb30 refs
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/ModulePackageTypeConverter.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/ModulePackageTypeConverter.java 2007-08-03 11:42:25 UTC (rev 2884)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/ModulePackageTypeConverter.java 2007-08-03 14:21:43 UTC (rev 2885)
@@ -39,8 +39,6 @@
return ArchivesCore.getInstance().getExtensionManager().getArchiveType(WarArchiveType.WAR_PACKAGE_TYPE);
} else if("jst.ear".equals(modType)) {
return ArchivesCore.getInstance().getExtensionManager().getArchiveType(EarArchiveType.ID);
- } else if("jbide.ejb30".equals(modType)) {
- return ArchivesCore.getInstance().getExtensionManager().getArchiveType(EjbArchiveType.ID);
} else if("jst.ejb".equals(modType)) {
return ArchivesCore.getInstance().getExtensionManager().getArchiveType(EjbArchiveType.ID);
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/types/EjbArchiveType.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/types/EjbArchiveType.java 2007-08-03 11:42:25 UTC (rev 2884)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/packages/types/EjbArchiveType.java 2007-08-03 14:21:43 UTC (rev 2885)
@@ -40,8 +40,7 @@
if( mod == null ) {
} else {
- if( mod.getModuleType().getId().equals("jst.ejb")
- || mod.getModuleType().getId().equals("jbide.ejb30")) {
+ if( mod.getModuleType().getId().equals("jst.ejb") ) {
try {
IJavaProject proj = JavaCore.create(project);
IPath outputLoc = proj.getOutputLocation();
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/internal/WebtoolsProjectJBossClasspathContainerInitializer.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/internal/WebtoolsProjectJBossClasspathContainerInitializer.java 2007-08-03 11:42:25 UTC (rev 2884)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/internal/WebtoolsProjectJBossClasspathContainerInitializer.java 2007-08-03 14:21:43 UTC (rev 2885)
@@ -47,7 +47,6 @@
private static final IProjectFacet WEB_FACET = ProjectFacetsManager.getProjectFacet("jst.web");
private static final IProjectFacet EJB_FACET = ProjectFacetsManager.getProjectFacet("jst.ejb");
private static final IProjectFacet EAR_FACET = ProjectFacetsManager.getProjectFacet("jst.ear");
- private static final IProjectFacet JBOSS_EJB_FACET = ProjectFacetsManager.getProjectFacet("jbide.ejb30");
private static final IProjectFacet UTILITY_FACET = ProjectFacetsManager.getProjectFacet("jst.utility");
private static final IProjectFacet CONNECTOR_FACET = ProjectFacetsManager.getProjectFacet("jst.connector");
private static final IProjectFacet APP_CLIENT_FACET = ProjectFacetsManager.getProjectFacet("jst.appclient");
@@ -145,8 +144,6 @@
protected boolean isEjb30(String facetId, String facetVersion) {
if( facetId.equals(EJB_FACET.getId()) && facetVersion.equals("3.0"))
return true;
- if( facetId.equals(JBOSS_EJB_FACET.getId()))
- return true;
return false;
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/stripped/DeployableServerBehavior.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/stripped/DeployableServerBehavior.java 2007-08-03 11:42:25 UTC (rev 2884)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/stripped/DeployableServerBehavior.java 2007-08-03 14:21:43 UTC (rev 2885)
@@ -100,8 +100,7 @@
protected boolean isJstModule(IModule mod) {
String type = mod.getModuleType().getId();
if( type.equals("jst.ejb") || type.equals("jst.client")
- || type.equals("jst.web") || type.equals("jst.ear")
- || type.equals("jbide.ejb30"))
+ || type.equals("jst.web") || type.equals("jst.ear"))
return true;
return false;
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2007-08-03 11:42:25 UTC (rev 2884)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2007-08-03 14:21:43 UTC (rev 2885)
@@ -116,9 +116,6 @@
types="jst.ear"
versions="1.2, 1.3, 1.4"/>
<moduleType
- types="jbide.ejb30"
- versions="1.0"/>
- <moduleType
types="jboss.package"
versions="1.0"/>
</runtimeType>
@@ -139,9 +136,6 @@
types="jst.ear"
versions="1.2, 1.3, 1.4, 5.0"/>
<moduleType
- types="jbide.ejb30"
- versions="1.0"/>
- <moduleType
types="jboss.package"
versions="1.0"/>
</runtimeType>
@@ -165,9 +159,6 @@
types="jst.ear"
versions="1.2, 1.3, 1.4"/>
<moduleType
- types="jbide.ejb30"
- versions="1.0"/>
- <moduleType
types="jboss.package"
versions="1.0"/>
@@ -344,9 +335,6 @@
<facet
id="jst.appclient"
version="1.2,1.3,1.4"/>
- <facet
- id="jbide.ejb30"
- version="1.0"/>
</supported>
<supported>
@@ -371,9 +359,6 @@
<facet
id="jst.appclient"
version="1.2,1.3,1.4"/>
- <facet
- id="jbide.ejb30"
- version="1.0"/>
</supported>
<adapter>
18 years, 5 months
JBoss Tools SVN: r2884 - in trunk/seam/plugins/org.jboss.tools.seam.ui: src/org/jboss/tools/seam/ui/views and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-08-03 07:42:25 -0400 (Fri, 03 Aug 2007)
New Revision: 2884
Added:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamJarFilter.java
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
Log:
JBIDE-610
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2007-08-03 11:10:53 UTC (rev 2883)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2007-08-03 11:42:25 UTC (rev 2884)
@@ -112,6 +112,7 @@
<viewerContentBinding viewerId="org.jboss.tools.seam.ui.views.SeamComponentsNavigator">
<includes>
<contentExtension pattern="org.jboss.tools.seam.ui.views.rootContent" />
+ <contentExtension pattern="org.jboss.tools.seam.ui.views.SeamJarFilter"/>
</includes>
</viewerContentBinding>
</extension>
@@ -147,12 +148,19 @@
</enablement>
</actionProvider>
</navigatorContent>
+ <commonFilter
+ class="org.jboss.tools.seam.ui.views.SeamJarFilter"
+ description="Hide Seam Components loaded from libraries and not overriden in project"
+ id="org.jboss.tools.seam.ui.views.SeamJarFilter"
+ name="Seam Components from Libraries"
+ activeByDefault="true"/>
</extension>
<extension point="org.eclipse.ui.navigator.viewer">
<viewerContentBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
<includes>
<contentExtension pattern="org.jboss.tools.seam.ui.views.projectContent" />
+ <contentExtension pattern="org.jboss.tools.seam.ui.views.SeamJarFilter"/>
</includes>
</viewerContentBinding>
</extension>
Added: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamJarFilter.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamJarFilter.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamJarFilter.java 2007-08-03 11:42:25 UTC (rev 2884)
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.seam.ui.views;
+
+import java.util.Set;
+
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.jface.viewers.ViewerFilter;
+import org.jboss.tools.seam.core.ISeamComponent;
+import org.jboss.tools.seam.core.ISeamComponentDeclaration;
+
+/**
+ *
+ * @author Viacheslav Kabanovich
+ *
+ */
+public class SeamJarFilter extends ViewerFilter {
+
+ @Override
+ public boolean select(Viewer viewer, Object parentElement, Object element) {
+ if(element instanceof ISeamComponent) {
+ return isUserDefinedComponent((ISeamComponent)element);
+ }
+ return true;
+ }
+
+ boolean isUserDefinedComponent(ISeamComponent c) {
+ Set<ISeamComponentDeclaration> ds = c.getAllDeclarations();
+ for (ISeamComponentDeclaration d : ds) {
+ IPath path = d.getSourcePath();
+ if(path != null && !path.toString().endsWith(".jar")) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
+
+
+}
18 years, 5 months
JBoss Tools SVN: r2883 - in trunk/documentation/GettingStartedGuide/docs/userguide/en: modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sabrashevich
Date: 2007-08-03 07:10:53 -0400 (Fri, 03 Aug 2007)
New Revision: 2883
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConnectionsView.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/Metadata.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml
Log:
http://jira.jboss.org/jira/browse/EXIN-353 added new screenshots, updated textual context
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConnectionsView.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/Metadata.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml 2007-08-03 10:58:42 UTC (rev 2882)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml 2007-08-03 11:10:53 UTC (rev 2883)
@@ -14,7 +14,7 @@
<para>In this chapter we will see how easy it is to build Seam applications and integrate
them with Ajax4jsf and Rich Faces. We will bootstrap the application using Seam Gen which is
a CRUD application generator. Seam Gen can be used from either the command line or via an
- Eclipse Plugin. Unlike most application generators, Seam Gen can also be used to
+ Red Hat Developer Studio. Unlike most application generators, Seam Gen can also be used to
incrementally add more functionality to an existing Seam application.</para>
<para>Seam is an incredibly flexible development framework that can be completely
integrated with a Java EE server or in a simple POJO environment like Tomcat. Seam is
@@ -103,7 +103,7 @@
</tgroup>
</table>
<para>The plug-in will initialize the Seam Gen ant tasks that simplify all key Seam
- operations. We will invoke several of these ant tasks via the Seam Eclipse Plugin
+ operations. We will invoke several of these ant tasks via the Seam Red Hat Developer Studio Plugin
throughout this tutorial.</para>
<para>The plug-in will also prompt you to create a project. Select "Yes" to create a
Project. This step will create not only an Eclipse project but also all the required
@@ -137,8 +137,7 @@
</figure>
<para>Congratulations! You have written your first Seam application.</para>
<itemizedlist continuation="continues">
-<listitem>Let us take a look at the database connection that was created by the Eclipse
- Plugin and browse the database provided. The database connection view should now have a
+<listitem>Let us take a look at the database connection that was created by Red Hat Developer Studio and browse the database provided. The database connection view should now have a
connection to our sample database as shown below.</listitem>
</itemizedlist>
<figure>
@@ -149,7 +148,7 @@
</imageobject>
</mediaobject>
</figure>
-<para>Right click on the connection > Reconnect. Just specify "sa" as the user id. The password
+<para>Right click on the connection > Connect. Just specify "sa" as the user id. The password
field should be blank.</para>
<para>You should now be able to browse the database and see the meta-data and query data using SQL.
Your meta-data should look like the following:</para>
@@ -176,11 +175,11 @@
in the JBoss instance.</listitem>
<listitem>Restart you application server, just in case those files have not been properly
synchronized with the application server.</listitem>
- <listitem>Point your favorite browser to the following URL http://localhost:8080/EclipseCon.
+ <listitem>Point your favorite browser to the following URL http://localhost:8080/SeamSample.
You will see the following page:</listitem>
</itemizedlist>
<figure>
-<title>EclipseCon Project</title>
+<title>SeamSample Project</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/CreatedProject12.png"/>
@@ -297,7 +296,7 @@
have opened in this tutorial. Alternatively you can open the Hibernate Console Perspective where
these views are opened up by default.</listitem>
<listitem>Click on the "HQL" icon in the "Hibernate Configurations" view. This will open up
- the HQL Designer view as shown below. Also, select "EclipseCon" from the drop down menu next to
+ the HQL Designer view as shown below. Also, select "SeamSample" from the drop down menu next to
the green "run" button.</listitem>
</itemizedlist>
<figure>
@@ -357,7 +356,7 @@
<listitem>Let us try the Hibernate criteria APIs next. To use Hibernate Criteria APIs click on
the "CRI" button in the Hibernate Configurations View. This will open the Criteria API designer
view. Type in this simple criteria query as shown below and click on the green run button to see
- the results. Also, select "EclipseCon" from the drop down menu next to the green "run" button.</listitem>
+ the results. Also, select "SeamSample" from the drop down menu next to the green "run" button.</listitem>
</itemizedlist>
<programlisting role="JAVA"><![CDATA[session.createCriteria(Offices.class)
]]></programlisting>
18 years, 5 months
JBoss Tools SVN: r2882 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-08-03 06:58:42 -0400 (Fri, 03 Aug 2007)
New Revision: 2882
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java
Log:
EXIN-320
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java 2007-08-03 06:12:32 UTC (rev 2881)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java 2007-08-03 10:58:42 UTC (rev 2882)
@@ -24,7 +24,6 @@
import org.eclipse.core.runtime.Plugin;
import org.eclipse.jdt.core.*;
import org.eclipse.jdt.ui.PreferenceConstants;
-import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.graphics.Image;
import org.osgi.framework.Bundle;
@@ -83,19 +82,7 @@
}
public static Image getImage(String path) {
- Image result = null;
- ImageDescriptor imageDescriptor = null;
- try {
- if (path != null) {
- URL url = EclipseResourceUtil.class.getClassLoader().getResource(path);
- imageDescriptor = ImageDescriptor.createFromURL(url);
- }
- } catch (Exception ex) {
- ModelPlugin.getPluginLog().logError(ex);
- imageDescriptor = ImageDescriptor.getMissingImageDescriptor();
- }
- if (imageDescriptor != null) result = imageDescriptor.createImage();
- return result;
+ return ModelImages.getImage(path);
}
public static Image getImage(XModelObject object) {
18 years, 5 months
JBoss Tools SVN: r2881 - in tags/freemarker-1.0.0.beta3: freemarker and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-08-03 02:12:32 -0400 (Fri, 03 Aug 2007)
New Revision: 2881
Added:
tags/freemarker-1.0.0.beta3/freemarker/
tags/freemarker-1.0.0.beta3/freemarker/features/
tags/freemarker-1.0.0.beta3/freemarker/plugins/
Removed:
tags/freemarker-1.0.0.beta3/features/
tags/freemarker-1.0.0.beta3/plugins/
Log:
freemarker tag changed to correct structure
Copied: tags/freemarker-1.0.0.beta3/freemarker/features (from rev 2880, tags/freemarker-1.0.0.beta3/features)
Copied: tags/freemarker-1.0.0.beta3/freemarker/plugins (from rev 2880, tags/freemarker-1.0.0.beta3/plugins)
18 years, 5 months
JBoss Tools SVN: r2880 - in tags/jbossas-1.0.0.beta3: as and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-08-03 02:10:53 -0400 (Fri, 03 Aug 2007)
New Revision: 2880
Added:
tags/jbossas-1.0.0.beta3/as/
tags/jbossas-1.0.0.beta3/as/docs/
tags/jbossas-1.0.0.beta3/as/features/
tags/jbossas-1.0.0.beta3/as/plugins/
Removed:
tags/jbossas-1.0.0.beta3/docs/
tags/jbossas-1.0.0.beta3/features/
tags/jbossas-1.0.0.beta3/plugins/
Log:
jbossas tag changed to correct structure
Copied: tags/jbossas-1.0.0.beta3/as/docs (from rev 2877, tags/jbossas-1.0.0.beta3/docs)
Copied: tags/jbossas-1.0.0.beta3/as/features (from rev 2877, tags/jbossas-1.0.0.beta3/features)
Copied: tags/jbossas-1.0.0.beta3/as/plugins (from rev 2877, tags/jbossas-1.0.0.beta3/plugins)
18 years, 5 months