[JBoss-user] [EJB 3.0] - Re: Error storing objects with ejb3 entity

2006-03-04 Thread pulsycouac
You're right, 

In fact the problem was in an other place, my persistence action works well but 
i did it two times without catching the exception thrown during the second 
insert.

I was focus on this fatal error, that's why I was blind about other reason of 
my error.

Everything works well now, thank you for your reply.

-- 
Jeremy Goldschmidt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927961#3927961

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927961


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Error storing objects with ejb3 entity

2006-03-02 Thread Instinct
pulsycouac wrote : 
  | However when I deploy my ear I have the following errors:
  | 
  | FATAL [PersistenceXmlLoader] ejb3essaiPerst JTA
  | 

You can ignore this one, 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3920642#3920642

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927439#3927439

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927439


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Error storing objects with ejb3 entity

2006-03-01 Thread pulsycouac
I tried the following:

- I had this to the persistence.xml

properties
  |   property name=hibernate.hbm2ddl.auto
  | value=create-drop/
  | /properties

The trace into hsqldb log file is:
SET AUTOCOMMIT TRUE
  | drop table t_tech if exists
  | create table t_tech (nom varchar(255) not null, prenom varchar(255), 
primary key (nom))
  | SET AUTOCOMMIT FALSE
  | INSERT INTO T_TECH VALUES('NomTech1','PrenomTech1')
  | COMMIT

The error thrown become and i always have the FATAL error on 
[PersistenceXmlLoader] when deploying my ear

08:47:17,858 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
08:47:17,858 ERROR [JDBCExceptionReporter] failed batch
08:47:17,858 ERROR [AbstractFlushingEventListener] Could not synchronize 
database state with session
org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch 
update
at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
[...]

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927369#3927369

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927369


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user