From: Vance K. <va...@us...> - 2006-01-04 06:12:26
|
User: vancek Date: 06/01/03 22:12:19 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added new entity-config outlet property, JDBC property group and Cache property group Revision Changes Path 1.3 +75 -4 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- namespace.xml 3 Jan 2006 01:13:03 -0000 1.2 +++ namespace.xml 4 Jan 2006 06:12:19 -0000 1.3 @@ -20,15 +20,21 @@ </documentation> <property name="entity-beans"> <documentation> - The directory to which Entity EJBs are generated. + The directory to which Entity POJOs are generated. </documentation> </property> <property name="entity-impls"> <documentation> - The location to which Entity EJB implementation + The location to which Entity POJO implementation files are generated. </documentation> </property> + <property name="entity-config"> + <documentation> + The location where the persistence XML descriptor + is generated. + </documentation> + </property> <property name="session-beans"> <documentation> The directory to which Session Bean files are @@ -42,6 +48,71 @@ </documentation> </property> </propertyGroup> + <propertyGroup name="JDBC"> + <property name="entityManagerName" required="false"> + <documentation> + The name assigned to the entity manager. If no name + is specified, the name of the containing persistence + archive without the .par extension is used. + </documentation> + </property> + <property name="entityManagerJTADataSource"> + <default>java:/DefaultDS</default> + <documentation> + Specifies the global JNDI name of the JTA data source. + </documentation> + </property> + <property name="hibernateHbm2DDLAuto" required="false"> + <default>create</default> + <documentation> + Automatically export schema DDL to the database when deployed. + With create-drop, the database schema will be dropped when + the entity is undeployed. Permitted values are: + <ul> + <li>update</li> + <li>create</li> + <li>create-drop</li> + <li>none</li> + </ul> + </documentation> + </property> + <property name="hibernateDialect" required="false"> + <default>org.hibernate.dialect.MySQLDialect</default> + <documentation> + The SQL dialect of the database. + <ul> + <li>org.hibernate.dialect.MySQLDialect</li> + <li>org.hibernate.dialect.HSQLDialect</li> + </ul> + </documentation> + </property> + <property name="hibernateShowSql" required="false"> + <documentation> + Whether or not to log SQL statements. + </documentation> + </property> + </propertyGroup> + <propertyGroup name="Cache"> + <property name="hibernateCacheProvider" required="false"> + <documentation> + Defines Hibernate Cache Provider implementation class. + Possible values for JBoss4/Hibernate are: + <ul> + <li>org.hibernate.cache.HashtableCacheProvider</li> + <li>org.jboss.ejb3.entity.TreeCacheProviderHook</li> + </ul> + </documentation> + </property> + <property name="hibernateTreecacheMbeanObject" required="false"> + <documentation> + Defines the Hibernate cache MBean object name + used in JBoss4. + <ul> + <li>jboss.cache:service=EJB3EntityTreeCache</li> + </ul> + </documentation> + </property> + </propertyGroup> <propertyGroup name="Name Patterns"> <property name="entityNamePattern"> <default>{0}</default> @@ -301,8 +372,8 @@ <default>Default</default> <documentation> Specifies the default security domain to use - for role based authorization. JBoss uses the - security model to match allowed roles. + for role based authorization. Use the + security realm to match allowed roles. </documentation> </property> <property name="queryUseNamedParameters"> |