Commit b7893510 authored by Glenn PLOUHINEC's avatar Glenn PLOUHINEC
Browse files

Fixes #13, #14 - modification de noms de variables et classes

parent ff45fe5e
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" name="Maven: com.h2database:h2:1.2.125" level="project" />
<orderEntry type="library" name="Maven: javax.persistence:persistence-api:1.0.2" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate:3.2.6.ga" level="project" />
<orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:1.2.3" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.0.4" level="project" />
<orderEntry type="library" name="Maven: asm:asm-attrs:1.5.3" level="project" />
<orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
<orderEntry type="library" name="Maven: antlr:antlr:2.7.6" level="project" />
<orderEntry type="library" name="Maven: cglib:cglib:2.1_3" level="project" />
<orderEntry type="library" name="Maven: asm:asm:1.5.3" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:2.1.1" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:3.4.0.GA" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:ejb3-persistence:1.0.2.GA" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-commons-annotations:3.1.0.GA" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-annotations:3.4.0.GA" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-core:3.3.0.SP1" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.4.2" level="project" />
<orderEntry type="library" name="Maven: javax.transaction:jta:1.1" level="project" />
<orderEntry type="library" name="Maven: javassist:javassist:3.4.GA" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-simple:1.4.2" level="project" />
<orderEntry type="library" name="Maven: c3p0:c3p0:0.9.1.2" level="project" />
</component>
</module>
\ No newline at end of file
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="gtd">
<properties>
<!-- Scan for annotated classes and Hibernate mapping XML files -->
<property name="hibernate.archive.autodetection" value="class"/>
<property name="hibernate.connection.driver_class"
value="org.h2.Driver" />
<property name="hibernate.connection.url"
value="jdbc:h2:~/.gtd/db" />
<property name="hibernate.connection.username"
value="sa" />
<property name="hibernate.connection.password"
value="" />
<property name="hibernate.c3p0.min_size"
value="5"/>
<property name="hibernate.c3p0.max_size"
value="20"/>
<property name="hibernate.c3p0.timeout"
value="300"/>
<property name="hibernate.c3p0.max_statements"
value="50"/>
<property name="hibernate.c3p0.idle_test_period"
value="3000"/>
<property name="hibernate.dialect"
value="org.hibernate.dialect.H2Dialect"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
</properties>
</persistence-unit>
</persistence>
\ No newline at end of file
# To change this template, choose Tools | Templates
# and open the template in the editor.
# Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
# Root logger option
log4j.rootLogger=DEBUG
# Hibernate logging options (INFO only shows startup messages)
#log4j.logger.org.hibernate=INFO
# Log JDBC bind parameter runtime arguments
#log4j.logger.org.hibernate.type=DEBUG
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate:3.2.7.ga" level="project" />
<orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:1.2.3" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.0.4" level="project" />
<orderEntry type="library" name="Maven: asm:asm-attrs:1.5.3" level="project" />
<orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
<orderEntry type="library" name="Maven: antlr:antlr:2.7.6" level="project" />
<orderEntry type="library" name="Maven: cglib:cglib:2.1_3" level="project" />
<orderEntry type="library" name="Maven: asm:asm:1.5.3" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:2.1.1" level="project" />
<orderEntry type="library" name="Maven: com.toedter:jcalendar:1.3.2" level="project" />
<orderEntry type="library" name="Maven: com.h2database:h2:1.2.127" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" name="Maven: javax.transaction:jta:1.1" level="project" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="true" package="fr.alma.modele.persistance.xml">
<class name="fr.alma.modele.noyau.Contact">
<id name="id" type="long">
<generator class="increment"/>
</id>
<property name="nom" type="java.lang.String"/>
<property name="adresse" type="java.lang.String"/>
<property name="email" type="java.lang.String"/>
<property name="tel" type="java.lang.String"/>
<property name="idUtilisateur" type="long"/>
</class>
</hibernate-mapping>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="true" package="fr.alma.modele.persistance.xml">
<class name="fr.alma.modele.noyau.Frequence">
<id name="id" type="long">
<generator class="increment"/>
</id>
<property name="nom" type="java.lang.String"/>
</class>
</hibernate-mapping>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="true" package="fr.alma.modele.persistance.xml">
<class name="fr.alma.modele.noyau.Periodicite">
<id name="id" type="long">
<generator class="increment"/>
</id>
<property name="frequence" type="java.lang.String"/>
<property name="dateFinRepetition" type="java.util.Date"/>
</class>
</hibernate-mapping>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="true" package="fr.alma.modele.persistance.xml">
<class name="fr.alma.modele.noyau.Projet">
<id name="id" type="long">
<generator class="increment"/>
</id>
<property name="nom" type="java.lang.String"/>
<property name="notes" type="java.lang.String"/>
<property name="contexte" type="java.lang.String"/>
<property name="idPere" type="long"/>
<property name="idUtilisateur" type="long"/>
<!-- <list name="taches" cascade="all">
<key column="parent_id"/>
<index column="idx"/>
<one-to-many class="fr.alma.modele.noyau.Tache"/>
</list>
<list name="sousProjets" cascade="all" >
<key column="parent_id"/>
<index column="idx"/>
<one-to-many class="fr.alma.modele.noyau.Projet" />
</list> -->
</class>
</hibernate-mapping>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="true" package="fr.alma.modele.persistance.xml">
<class name="fr.alma.modele.noyau.Tache">
<id name="id" type="long">
<generator class="increment"/>
</id>
<property name="nom" type="java.lang.String"/>
<property name="notes" type="java.lang.String"/>
<property name="contexte" type="java.lang.String"/>
<property name="idProjet" type="long"/>
<list cascade="save-update" name="tags">
<key column="id"/>
<list-index column="taches_tag"/>
<element type="java.lang.String"/>
</list>
<list cascade="save-update" name="urls">
<key column="id"/>
<list-index column="taches_url"/>
<element type="java.lang.String"/>
</list>
<property name="priorite" type="java.lang.Integer"/>
<property name="tauxEffort" type="java.lang.Integer"/>
<property name="dateDebut" type="java.util.Date"/>
<property name="dateEcheance" type="java.util.Date"/>
<property name="periodicite" type="fr.alma.modele.noyau.Periodicite"/>
<!--
<property name="etat" column="etat"
type="fr.alma.modele.noyau.etat.EtatUserType" access="field" />
-->
</class>
</hibernate-mapping>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="true" package="fr.alma.modele.persistance.xml">
<class name="fr.alma.modele.noyau.Utilisateur">
<id name="id" type="long">
<generator class="increment"/>
</id>
<property name="login" type="java.lang.String"/>
<property name="password" type="char[]"/>
<property name="email" type="java.lang.String"/>
<list cascade="all" name="contacts">
<key column="parent_id"/>
<index column="idContacts"/>
<one-to-many class="fr.alma.modele.noyau.Contact"/>
</list>
</class>
</hibernate-mapping>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment