0 Replies Latest reply on Jul 15, 2009 5:35 PM by Arbi Sookazian

    persistence.properties

    Arbi Sookazian Master

      After seam setup and seam create-project I have the following file in foo\bootstrap\META-INF directory:


      hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
      #hibernate.connection.release_mode=after_statement
      #hibernate.transaction.flush_before_completion=false
      #hibernate.transaction.auto_close_session=false
      #hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory
      #hibernate.hbm2ddl.auto=create-drop
      #hibernate.hbm2ddl.auto=create
      hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
      # Clustered cache with TreeCache
      #hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook
      #hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache
      #hibernate.dialect=org.hibernate.dialect.HSQLDialect
      hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
      hibernate.bytecode.use_reflection_optimizer=false
      # I don't think this is honored, but EJB3Deployer uses it
      hibernate.bytecode.provider=javassist



      This persistence.properties file is not mentioned in SiA or Seam ref doc.  Anybody know about this and uses it during ant build target executions???


      I imagine it's used to add filter token for variable (e.g. @foo@) in persistence.xml but none of the Seam example apps had this file in the 2.1.2.GA distro...