Changeset 27


Ignore:
Timestamp:
20-08-09 14:47:38 (10 years ago)
Author:
matthijsln
Message:

hibernatetool hbm2ddl toegevoegd, uitvoeren met "ant schemaexport"

gebruik Improved Naming Strategy?

Location:
openwion-persistence/trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • openwion-persistence/trunk/build.xml

    r20 r27  
    7272 
    7373    --> 
     74     
     75    <import file="database/hibernate-schemaexport.xml"/>     
    7476</project> 
  • openwion-persistence/trunk/nbproject/project.properties

    r20 r27  
    2222dist.javadoc.dir=${dist.dir}/javadoc 
    2323excludes= 
     24file.reference.commons-collections-3.1.jar=../libs/commons-collections-3.1.jar 
     25file.reference.commons-logging-1.0.4.jar=../libs/commons-logging-1.0.4.jar 
     26file.reference.dom4j-1.6.1.jar=../libs/dom4j-1.6.1.jar 
    2427file.reference.jsp-api.jar=../libs/jsp-api.jar 
     28file.reference.log4j-1.2.15.jar=../libs/log4j-1.2.15.jar 
    2529file.reference.servlet-api.jar=../libs/servlet-api.jar 
     30file.reference.slf4j-api-1.5.8.jar=../libs/slf4j-api-1.5.8.jar 
     31file.reference.slf4j-log4j12-1.5.8.jar=../libs/slf4j-log4j12-1.5.8.jar 
     32file.reference.xml-apis.jar=../libs/xml-apis.jar 
    2633includes=** 
    2734jar.compress=false 
     
    3138    ${libs.Hibernate-EntityManager-3.4.0.GA.classpath}:\ 
    3239    ${libs.Hibernate-Validator-3.1.0.GA.classpath}:\ 
     40    ${libs.Hibernate-Tools-3.3.0.M2.classpath}:\ 
    3341    ${file.reference.jsp-api.jar}:\ 
    34     ${file.reference.servlet-api.jar} 
     42    ${file.reference.servlet-api.jar}:\ 
     43    ${file.reference.commons-collections-3.1.jar}:\ 
     44    ${file.reference.commons-logging-1.0.4.jar}:\ 
     45    ${file.reference.dom4j-1.6.1.jar}:\ 
     46    ${file.reference.xml-apis.jar}:\ 
     47    ${file.reference.slf4j-api-1.5.8.jar}:\ 
     48    ${file.reference.slf4j-log4j12-1.5.8.jar}:\ 
     49    ${file.reference.log4j-1.2.15.jar} 
    3550# Space-separated list of extra javac options 
    3651javac.compilerargs= 
  • openwion-persistence/trunk/src/META-INF/persistence.xml

    r22 r27  
    1010      <property name="hibernate.cache.provider_class" value="org.hibernate.cache.NoCacheProvider"/> 
    1111 
     12      <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/> 
     13      <property name="hibernate.ejb.naming_strategy" value="org.hibernate.cfg.ImprovedNamingStrategy"/> 
     14       
    1215      <property name="hibernate.c3p0.max_size" value="50"/> 
    1316      <property name="hibernate.c3p0.min_size" value="0"/> 
Note: See TracChangeset for help on using the changeset viewer.