IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Hibernate Java Discussion :

probleme avec la methode save


Sujet :

Hibernate Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre éclairé
    Inscrit en
    Mai 2002
    Messages
    219
    Détails du profil
    Informations forums :
    Inscription : Mai 2002
    Messages : 219
    Par défaut probleme avec la methode save
    bonjour je comprends pas le comportement de mon code par rapport a hibernate
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    public void update(ca.canassistance.pojo.BaseAvinfoge avinfoge) 
    			throws net.sf.hibernate.HibernateException, Exception{
    		Session session = null;
    
    		Transaction tx = null;
    		try {
    			session = HibernateUtil.currentSession();
     			tx = session.beginTransaction();
    			session.saveOrUpdate(avinfoge);
    		
    			tx.commit();
    
    			HibernateUtil.closeSession();
    
    		} catch (HibernateException e) {
    			if (tx != null)
    				tx.rollback();
    
    			HibernateUtil.closeSession();
    			e.printStackTrace();}
    			catch (Exception e)
    			{
    				e.printStackTrace();		
    			
    			}
    		
    	}
    et le message d erreur

    19:55:42,192 DEBUG EntityPersister:627 - Updating entity: [ca.canassistance.pojo.BaseAvinfoge#ca.canassistance.pojo.AvinfogeId@be38819b]
    19:55:42,192 DEBUG BatcherImpl:204 - about to open: 0 open PreparedStatements, 0 open ResultSets
    19:55:42,192 DEBUG SQL:230 - update AVINFOGE set IG_ID_DOUBLE_ASS=?, IG_GROUPE_CLIENT=?, IG_NO_CERTIFICAT_SAM=?, IG_ID_USER=?, IG_DT_MODIF=?, IG_ID_ACCIDENT=? where IG_NO_GROUPE=? and IG_NO_CERTIFICAT=? and IG_DT_EVENEMENT=? and IG_NO_DOSSIER=?
    19:55:42,192 DEBUG BatcherImpl:253 - preparing statement
    19:55:42,192 DEBUG EntityPersister:382 - Dehydrating entity: [ca.canassistance.pojo.BaseAvinfoge#ca.canassistance.pojo.AvinfogeId@be38819b]
    19:55:42,192 DEBUG StringType:46 - binding 'N' to parameter: 1
    19:55:42,192 DEBUG StringType:46 - binding ' ' to parameter: 2
    19:55:42,192 DEBUG StringType:46 - binding '18499190 ' to parameter: 3
    19:55:42,192 DEBUG StringType:46 - binding 'STAR' to parameter: 4
    19:55:42,192 DEBUG IntegerType:46 - binding '20090205' to parameter: 5
    19:55:42,192 DEBUG StringType:46 - binding 'N' to parameter: 6
    19:55:42,192 DEBUG StringType:46 - binding '052340' to parameter: 7
    19:55:42,192 DEBUG StringType:46 - binding '18499190 ' to parameter: 8
    19:55:42,192 DEBUG IntegerType:46 - binding '20090103' to parameter: 9
    19:55:42,192 DEBUG StringType:46 - binding '422940' to parameter: 10
    19:55:42,192 DEBUG BatcherImpl:28 - Adding to batch
    19:55:42,192 DEBUG BatcherImpl:50 - Executing batch size: 1


    apres que mon code passe sur tx.commit
    il sort du programmeur. ET rien de passe.
    Pas de uptade et il ne va jamais sur l instruction suivance.
    J ai place des Exceptions pour essaye de de l attache
    mais c est pas possible

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    HibernateUtil.closeSession();

  2. #2
    Membre éprouvé
    Profil pro
    Inscrit en
    Janvier 2009
    Messages
    92
    Détails du profil
    Informations personnelles :
    Localisation : France, Rhône (Rhône Alpes)

    Informations forums :
    Inscription : Janvier 2009
    Messages : 92
    Par défaut
    as-tu essayé de mettre un try..catch autour de tx.commit() ?

  3. #3
    Membre éclairé
    Inscrit en
    Mai 2002
    Messages
    219
    Détails du profil
    Informations forums :
    Inscription : Mai 2002
    Messages : 219
    Par défaut
    je te suis pas le channy
    as-tu essayé de mettre un try..catch autour de tx.commit() ?
    le tx.commit est dans un try catch
    sinon pour plus d information pour mon code

    voici mon hibernate.cfg.xml
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
     
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE hibernate-configuration
        PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
        "http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">
     
    <hibernate-configuration>
        <session-factory name="factcan" >
     
    		<!-- local connection properties -->
    		<property name="hibernate.connection.url">jdbc:oracle:thin:@s1ora01s:1521:s1ora01i</property>
    		<property name="hibernate.connection.driver_class">oracle.jdbc.OracleDriver</property>
    		<property name="hibernate.connection.username">factcan</property>
    		<property name="hibernate.connection.password">factcan</property>
    		<!-- property name="hibernate.connection.pool_size"></property -->
     
    		<!-- dialect for Oracle (any version) -->
            <property name="dialect">net.sf.hibernate.dialect.OracleDialect</property>
     
            <property name="hibernate.show_sql">false</property>
            <property name="hibernate.use_outer_join">true</property>
         <!--
            <property name="hibernate.transaction.factory_class">net.sf.hibernate.transaction.JTATransactionFactory</property>
            <property name="jta.UserTransaction">java:comp/UserTransaction</property>
    -->
    <property name="hibernate.transaction.factory_class">net.sf.hibernate.transaction.JDBCTransactionFactory</property>
     
     
    <mapping resource="Avinfoge.hbm.xml"/>
        </session-factory>
     
     
    </hibernate-configuration>
    mon hbm.xml
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
     
    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
    	"-//Hibernate/Hibernate Mapping DTD//EN"
    	"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" >
     
    <hibernate-mapping package="ca.canassistance.pojo">
    	<class 
    		name="BaseAvinfoge"
    		table="AVINFOGE"
    	>
     
     
     
     
    	 <composite-id name="id" class="ca.canassistance.pojo.AvinfogeId">
     
            <key-property name="noGroupe" column="IG_NO_GROUPE" type="string" length="6"/>
            <key-property name="noCertificat" column="IG_NO_CERTIFICAT" type="string"  length="10"/>
            <key-property name="dtEvenement" column="IG_DT_EVENEMENT" type="integer" length="8"/>
            <key-property name="noDossier" column="IG_NO_DOSSIER" type="string" length="6"/>
          </composite-id>
     
    		<property
    			name="doubleAss"
    			column="IG_ID_DOUBLE_ASS"
    			type="string"
    			not-null="false"
    			length="1"
    		/>
     
    		<property
    			name="groupeClient"
    			column="IG_GROUPE_CLIENT"
    			type="string"
    			not-null="false"
    			length="8"
    		/>
    		<property
    			name="noCertificatSam"
    			column="IG_NO_CERTIFICAT_SAM"
    			type="string"
    			not-null="false"
    			length="20"
    		/>
     
     
    		<property
    			name="idUser"
    			column="IG_ID_USER"
    			type="string"
    			not-null="false"
    			length="4"
    		/>
    		<property
    			name="dtModif"
    			column="IG_DT_MODIF"
    			type="integer"
    			not-null="false"
    			length="8"
    		/>
    		<property
    			name="idAccident"
    			column="IG_ID_ACCIDENT"
    			type="string"
    			not-null="false"
    			length="1"
    		/>
     
     
    </class>
    </hibernate-mapping>
    et pour finir ma classe pojo


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
     
    package pojo;
     
    import java.io.Serializable;
    import java.util.List;
     
    import net.sf.hibernate.HibernateException;
    import ca.canassistance.model.Avinfoge;
    import ca.canassistance.model.dao.AvinfogeDAO;
     
    /**
     * This class has been automatically generated by Hibernate Synchronizer. For
     * more information or documentation, visit The Hibernate Synchronizer page at
     * http://www.binamics.com/hibernatesync or contact Joe Hudson at
     * joe@binamics.com.
     * 
     * This is an object that contains data related to the AVINFOGE table. Do not
     * modify this class because it will be overwritten if the configuration file
     * related to this class is modified.
     * 
     * @hibernate.class table="AVINFOGE"
     */
    public class BaseAvinfoge implements Serializable {
     
    	/**
             * 
             */
    	private static final long serialVersionUID = -2444185467393453780L;
     
    	// fields
    	private java.lang.String doubleAss;
     
    	//private java.lang.Integer dtEvenement;
     
    	private java.lang.String groupeClient;
     
    	//private java.lang.String noDossier;
     
    	private java.lang.String noCertificatSam;
     
    //	private java.lang.String noCertificat;
     
    //	private java.lang.String noGroupe;
     
    	private java.lang.String idUser;
     
    	private java.lang.Integer dtModif;
     
    	private java.lang.String idAccident;
     
    	private AvinfogeId id;
     
    	private AvinfogeDAO dao;
     
    	// constructors
    	public BaseAvinfoge(String doubleAss, Integer dtEvenement,
    			String groupeClient, String noDossier, String noCertificatSam,
    			String noCertificat, String noGroupe, String idUser,
    			Integer dtModif, String idAccident) 
    	{
    		AvinfogeId avinfogeId = new AvinfogeId();
    		avinfogeId.setDtEvenement(dtEvenement);
    		avinfogeId.setNoCertificat(noCertificat);
    		avinfogeId.setNoDossier(noDossier);
    		avinfogeId.setNoGroupe(noGroupe);
    		this.setDoubleAss(doubleAss);
     
    		this.setGroupeClient(groupeClient);
     
    		this.setNoCertificatSam(noCertificatSam);
     
     
    		this.setIdUser(idUser);
    		this.setDtModif(dtModif);
    		this.setIdAccident(idAccident);
    		this.setId(avinfogeId);
     
    	}
     
    	public BaseAvinfoge() {
    		initialize();
    	}
     
     
     
    	public BaseAvinfoge(Avinfoge avinfoge) {
    		AvinfogeId id = new AvinfogeId();
    		id.setDtEvenement(avinfoge.getDtEvenement());
    		id.setNoCertificat(avinfoge.getNoCertificat());
    		id.setNoDossier(avinfoge.getNoDossier());
    		id.setNoGroupe(avinfoge.getNoGroupe());
    		this.setId(id);
    		this.setDoubleAss(avinfoge.getIdDoubleAss());
    		//this.setDtModif(avinfoge.getModif);
    		this.setGroupeClient(avinfoge.getGroupeClient());
    		this.setIdAccident(avinfoge.getIdAccident());
    		this.setNoCertificatSam(avinfoge.getNoCertificatSam());
    		//avinfoge.getn
     
     
    	}
     
    	protected void initialize() {
    	}
     
    	public static long getSerialVersionUID() {
    		return serialVersionUID;
    	}
     
    	public java.lang.String getDoubleAss() {
    		return doubleAss;
    	}
     
    	public void setDoubleAss(java.lang.String doubleAss) {
    		this.doubleAss = doubleAss;
    	}
     
     
     
    	public java.lang.Integer getDtModif() {
    		return dtModif;
    	}
     
    	public void setDtModif(java.lang.Integer dtModif) {
    		this.dtModif = dtModif;
    	}
     
    	public java.lang.String getGroupeClient() {
    		return groupeClient;
    	}
     
    	public void setGroupeClient(java.lang.String groupeClient) {
    		this.groupeClient = groupeClient;
    	}
     
    	public AvinfogeId getId() {
    		return id;
    	}
     
    	public void setId(AvinfogeId id) {
    		this.id = id;
    	}
     
    	public java.lang.String getIdAccident() {
    		return idAccident;
    	}
     
    	public void setIdAccident(java.lang.String idAccident) {
    		this.idAccident = idAccident;
    	}
     
    	public java.lang.String getIdUser() {
    		return idUser;
    	}
     
    	public void setIdUser(java.lang.String idUser) {
    		this.idUser = idUser;
    	}
     
     
     
    	public java.lang.String getNoCertificatSam() {
    		return noCertificatSam;
    	}
     
    	public void setNoCertificatSam(java.lang.String noCertificatSam) {
    		this.noCertificatSam = noCertificatSam;
    	}
     
     
     
    	public boolean estDansLaBase(String cleDossier)
    			throws HibernateException {
    		if (dao == null)
    			this.setDao(new AvinfogeDAO());
    		List l = this.getDao().find(cleDossier);
    		if (l!=null)
    			return true;
    		return false;
     
    	}
     
    	public AvinfogeDAO getDao() {
    		return dao;
    	}
     
    	public void setDao(AvinfogeDAO dao) {
    		this.dao = dao;
    	}
     
    	@Override
    	public int hashCode() {
    		final int PRIME = 31;
    		int result = 1;
    		result = PRIME * result
    				+ ((doubleAss == null) ? 0 : doubleAss.hashCode());
     
    		result = PRIME * result + ((dtModif == null) ? 0 : dtModif.hashCode());
    		result = PRIME * result
    				+ ((groupeClient == null) ? 0 : groupeClient.hashCode());
    		result = PRIME * result + ((id == null) ? 0 : id.hashCode());
    		result = PRIME * result
    				+ ((idAccident == null) ? 0 : idAccident.hashCode());
    		result = PRIME * result + ((idUser == null) ? 0 : idUser.hashCode());
     
    		result = PRIME * result
    				+ ((noCertificatSam == null) ? 0 : noCertificatSam.hashCode());
     
    		return result;
    	}
     
    	@Override
    	public boolean equals(Object obj) {
    		if (this == obj)
    			return true;
    		if (obj == null)
    			return false;
    		if (getClass() != obj.getClass())
    			return false;
    		final BaseAvinfoge other = (BaseAvinfoge) obj;
    		if (dao == null) {
    			if (other.dao != null)
    				return false;
    		} else if (!dao.equals(other.dao))
    			return false;
    		if (doubleAss == null) {
    			if (other.doubleAss != null)
    				return false;
    		} else if (!doubleAss.equals(other.doubleAss))
    			return false;
     
    		if (dtModif == null) {
    			if (other.dtModif != null)
    				return false;
    		} else if (!dtModif.equals(other.dtModif))
    			return false;
    		if (groupeClient == null) {
    			if (other.groupeClient != null)
    				return false;
    		} else if (!groupeClient.equals(other.groupeClient))
    			return false;
    		if (id == null) {
    			if (other.id != null)
    				return false;
    		} else if (!id.equals(other.id))
    			return false;
    		if (idAccident == null) {
    			if (other.idAccident != null)
    				return false;
    		} else if (!idAccident.equals(other.idAccident))
    			return false;
    		if (idUser == null) {
    			if (other.idUser != null)
    				return false;
    		} else if (!idUser.equals(other.idUser))
    			return false;
     
    		if (noCertificatSam == null) {
    			if (other.noCertificatSam != null)
    				return false;
    		} else if (!noCertificatSam.equals(other.noCertificatSam))
    			return false;
     
    		return true;
    	}
     
    }
    avec son id class AvinfogeId
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
     
    package pojo;
     
    import java.io.Serializable;
     
    public class AvinfogeId implements Serializable {
    	/**
             * 
             */
    	private static final long serialVersionUID = -5624859234341440063L;
     
    	private Integer dtEvenement;
     
    	private String noDossier;
     
    	private String noCertificat;
     
    	private String noGroupe;
     
    	public static long getSerialVersionUID() {
    		return serialVersionUID;
    	}
     
    	public Integer getDtEvenement() {
    		return dtEvenement;
    	}
     
    	public void setDtEvenement(Integer dtEvenement) {
    		this.dtEvenement = dtEvenement;
    	}
     
    	public String getNoCertificat() {
    		return noCertificat;
    	}
     
    	public void setNoCertificat(String noCertificat) {
    		this.noCertificat = noCertificat;
    	}
     
    	public String getNoDossier() {
    		return noDossier;
    	}
     
    	public void setNoDossier(String noDossier) {
    		this.noDossier = noDossier;
    	}
     
    	public String getNoGroupe() {
    		return noGroupe;
    	}
     
    	public void setNoGroupe(String noGroupe) {
    		this.noGroupe = noGroupe;
    	}
     
    	@Override
    	public int hashCode() {
    		final int PRIME = 31;
    		int result = 1;
    		result = PRIME * result + ((noCertificat == null) ? 0 : noCertificat.hashCode());
    		result = PRIME * result + ((noDossier == null) ? 0 : noDossier.hashCode());
    		result = PRIME * result + ((noGroupe == null) ? 0 : noGroupe.hashCode());
    		return result;
    	}
     
    	@Override
    	public boolean equals(Object obj) {
    		if (this == obj)
    			return true;
    		if (obj == null)
    			return false;
    		if (getClass() != obj.getClass())
    			return false;
    		final AvinfogeId other = (AvinfogeId) obj;
     
    		if (noCertificat == null) {
    			if (other.noCertificat != null)
    				return false;
    		} else if (!noCertificat.equals(other.noCertificat))
    			return false;
    		if (noDossier == null) {
    			if (other.noDossier != null)
    				return false;
    		} else if (!noDossier.equals(other.noDossier))
    			return false;
    		if (noGroupe == null) {
    			if (other.noGroupe != null)
    				return false;
    		} else if (!noGroupe.equals(other.noGroupe))
    			return false;
    		return true;
    	}
     
     
     
    }
    merci d avance

  4. #4
    Membre éprouvé
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    142
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2004
    Messages : 142
    Par défaut
    Citation Envoyé par chady Voir le message
    et le message d erreur

    19:55:42,192 DEBUG EntityPersister:627 - Updating entity: [ca.canassistance.pojo.BaseAvinfoge#ca.canassistance.pojo.AvinfogeId@be38819b]
    19:55:42,192 DEBUG BatcherImpl:204 - about to open: 0 open PreparedStatements, 0 open ResultSets
    19:55:42,192 DEBUG SQL:230 - update AVINFOGE set IG_ID_DOUBLE_ASS=?, IG_GROUPE_CLIENT=?, IG_NO_CERTIFICAT_SAM=?, IG_ID_USER=?, IG_DT_MODIF=?, IG_ID_ACCIDENT=? where IG_NO_GROUPE=? and IG_NO_CERTIFICAT=? and IG_DT_EVENEMENT=? and IG_NO_DOSSIER=?
    19:55:42,192 DEBUG BatcherImpl:253 - preparing statement
    19:55:42,192 DEBUG EntityPersister:382 - Dehydrating entity: [ca.canassistance.pojo.BaseAvinfoge#ca.canassistance.pojo.AvinfogeId@be38819b]
    19:55:42,192 DEBUG StringType:46 - binding 'N' to parameter: 1
    19:55:42,192 DEBUG StringType:46 - binding ' ' to parameter: 2
    19:55:42,192 DEBUG StringType:46 - binding '18499190 ' to parameter: 3
    19:55:42,192 DEBUG StringType:46 - binding 'STAR' to parameter: 4
    19:55:42,192 DEBUG IntegerType:46 - binding '20090205' to parameter: 5
    19:55:42,192 DEBUG StringType:46 - binding 'N' to parameter: 6
    19:55:42,192 DEBUG StringType:46 - binding '052340' to parameter: 7
    19:55:42,192 DEBUG StringType:46 - binding '18499190 ' to parameter: 8
    19:55:42,192 DEBUG IntegerType:46 - binding '20090103' to parameter: 9
    19:55:42,192 DEBUG StringType:46 - binding '422940' to parameter: 10
    19:55:42,192 DEBUG BatcherImpl:28 - Adding to batch
    19:55:42,192 DEBUG BatcherImpl:50 - Executing batch size: 1
    Quelle est l'erreur ? Car là je n'en vois aucune...

  5. #5
    Membre éprouvé
    Profil pro
    Inscrit en
    Janvier 2009
    Messages
    92
    Détails du profil
    Informations personnelles :
    Localisation : France, Rhône (Rhône Alpes)

    Informations forums :
    Inscription : Janvier 2009
    Messages : 92
    Par défaut
    L'idée du try..catch autour du commit est de voir s'il n'y a pas une exception lancée à ce moment là et qu'on ne verrait pas ailleurs pour une raison quelconque

  6. #6
    Inactif  
    Profil pro
    Inscrit en
    Mai 2006
    Messages
    2 189
    Détails du profil
    Informations personnelles :
    Âge : 45
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2006
    Messages : 2 189
    Par défaut
    Ca vient pas du fait que tu utilises JTATransactionFactory ?

    http://www.hibernate.org/hib_docs/v3...marcation.html

Discussions similaires

  1. probleme avec une methode static dans le body d'une jsp
    Par amadou.deme dans le forum Servlets/JSP
    Réponses: 10
    Dernier message: 19/02/2007, 08h47
  2. Probleme avec la methode readLine()!
    Par thenightmare1985 dans le forum Entrée/Sortie
    Réponses: 4
    Dernier message: 26/10/2006, 20h00
  3. [JTextArea]Probleme avec la methode select
    Par caneman dans le forum AWT/Swing
    Réponses: 1
    Dernier message: 30/07/2006, 14h50
  4. [VB.NET] Probleme avec la methode ReadToEnd
    Par Aspic dans le forum VB.NET
    Réponses: 2
    Dernier message: 02/12/2005, 21h10
  5. [Struts] Problème avec la méthode validate
    Par clement42 dans le forum Struts 1
    Réponses: 2
    Dernier message: 09/06/2005, 10h52

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo