[mud4j-commit] SF.net SVN: mud4j: [57] trunk/mud4j-core
Status: Pre-Alpha
Brought to you by:
mpurland
From: <mpu...@us...> - 2006-12-24 19:44:16
|
Revision: 57 http://mud4j.svn.sourceforge.net/mud4j/?rev=57&view=rev Author: mpurland Date: 2006-12-24 11:44:15 -0800 (Sun, 24 Dec 2006) Log Message: ----------- Move persistence dir to src/resources Added Paths: ----------- trunk/mud4j-core/src/resources/ trunk/mud4j-core/src/resources/persistence/ trunk/mud4j-core/src/resources/persistence/hibernate.cfg.xml trunk/mud4j-core/src/resources/persistence/mapping/ Removed Paths: ------------- trunk/mud4j-core/persistence/hibernate.cfg.xml trunk/mud4j-core/persistence/mapping/ Deleted: trunk/mud4j-core/persistence/hibernate.cfg.xml =================================================================== --- trunk/mud4j-core/persistence/hibernate.cfg.xml 2006-12-24 18:36:06 UTC (rev 56) +++ trunk/mud4j-core/persistence/hibernate.cfg.xml 2006-12-24 19:44:15 UTC (rev 57) @@ -1,38 +0,0 @@ -<?xml version='1.0' encoding='utf-8'?> -<!DOCTYPE hibernate-configuration PUBLIC - "-//Hibernate/Hibernate Configuration DTD 3.0//EN" - "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> - -<hibernate-configuration> - - <session-factory> - - <!-- Database connection settings --> - <property name="connection.driver_class">org.hsqldb.jdbcDriver</property> - <property name="connection.url">jdbc:hsqldb:hsql://localhost</property> - <property name="connection.username">sa</property> - <property name="connection.password"></property> - - <!-- JDBC connection pool (use the built-in) --> - <property name="connection.pool_size">1</property> - - <!-- SQL dialect --> - <property name="dialect">org.hibernate.dialect.HSQLDialect</property> - - <!-- Enable Hibernate's automatic session context management --> - <property name="current_session_context_class">thread</property> - - <!-- Disable the second-level cache --> - <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property> - - <!-- Echo all executed SQL to stdout --> - <property name="show_sql">true</property> - - <!-- Drop and re-create the database schema on startup --> - <property name="hbm2ddl.auto">create</property> - - <mapping resource="persistence/mapping/*.hbm.xml"/> - - </session-factory> - -</hibernate-configuration> \ No newline at end of file Copied: trunk/mud4j-core/src/resources/persistence/hibernate.cfg.xml (from rev 46, trunk/mud4j-core/persistence/hibernate.cfg.xml) =================================================================== --- trunk/mud4j-core/src/resources/persistence/hibernate.cfg.xml (rev 0) +++ trunk/mud4j-core/src/resources/persistence/hibernate.cfg.xml 2006-12-24 19:44:15 UTC (rev 57) @@ -0,0 +1,38 @@ +<?xml version='1.0' encoding='utf-8'?> +<!DOCTYPE hibernate-configuration PUBLIC + "-//Hibernate/Hibernate Configuration DTD 3.0//EN" + "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> + +<hibernate-configuration> + + <session-factory> + + <!-- Database connection settings --> + <property name="connection.driver_class">org.hsqldb.jdbcDriver</property> + <property name="connection.url">jdbc:hsqldb:hsql://localhost</property> + <property name="connection.username">sa</property> + <property name="connection.password"></property> + + <!-- JDBC connection pool (use the built-in) --> + <property name="connection.pool_size">1</property> + + <!-- SQL dialect --> + <property name="dialect">org.hibernate.dialect.HSQLDialect</property> + + <!-- Enable Hibernate's automatic session context management --> + <property name="current_session_context_class">thread</property> + + <!-- Disable the second-level cache --> + <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property> + + <!-- Echo all executed SQL to stdout --> + <property name="show_sql">true</property> + + <!-- Drop and re-create the database schema on startup --> + <property name="hbm2ddl.auto">create</property> + + <mapping resource="persistence/mapping/*.hbm.xml"/> + + </session-factory> + +</hibernate-configuration> \ No newline at end of file Copied: trunk/mud4j-core/src/resources/persistence/mapping (from rev 46, trunk/mud4j-core/persistence/mapping) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |