David Blevins schrieb:
On Feb 16, 2008, at 1:38 PM, David Blevins wrote:
On Feb 16, 2008, at 1:22 PM, Karsten Ohme wrote:
On Feb 15, 2008, at 2:46 PM, Jacek Laskowski wrote:
> On Feb 15, 2008 2:37 PM, David Blevins <[EMAIL PROTECTED]> wrote:
>
>> The "Auto-commit" error usually means is th
On Feb 18, 2008, at 11:26 AM, David Blevins wrote:
- Added a way for Hibernate to get the transaction manager from
openejb. There might be another way of doing this other than the
persistence.xml. I grabbed the hibernate source and am looking for
a better way.
Sumbitted a patch to hibe
On Feb 16, 2008, at 1:38 PM, David Blevins wrote:
On Feb 16, 2008, at 1:22 PM, Karsten Ohme wrote:
On Feb 15, 2008, at 2:46 PM, Jacek Laskowski wrote:
> On Feb 15, 2008 2:37 PM, David Blevins <[EMAIL PROTECTED]> wrote:
>
>> The "Auto-commit" error usually means is that either a) only
the
e Nachricht-
> Von: Karan Malhi [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 18. Februar 2008 15:02
> An: users@openejb.apache.org
> Betreff: Re: OpenEJB - Missing required persistence.xml
>
> Did you try by adding a also in persistence.xml ?
>
> On Feb 18, 2008 4:57 AM, <[
to:[EMAIL PROTECTED]
> Gesendet: Montag, 18. Februar 2008 15:02
> An: users@openejb.apache.org
> Betreff: Re: OpenEJB - Missing required persistence.xml
>
> Did you try by adding a also in persistence.xml ?
>
> On Feb 18, 2008 4:57 AM, <[EMAIL PROTECTED]> wrote:
>
&g
: David Blevins [mailto:[EMAIL PROTECTED]
> Gesendet: Samstag, 16. Februar 2008 22:38
> An: users@openejb.apache.org
> Betreff: Re: OpenEJB - Missing required persistence.xml
>
>
> On Feb 16, 2008, at 1:22 PM, Karsten Ohme wrote:
>
> >
> >> On Feb 15, 2008, at 2:4
On Feb 16, 2008, at 1:22 PM, Karsten Ohme wrote:
On Feb 15, 2008, at 2:46 PM, Jacek Laskowski wrote:
> On Feb 15, 2008 2:37 PM, David Blevins <[EMAIL PROTECTED]> wrote:
>
>> The "Auto-commit" error usually means is that either a) only the
jta-
>> data-source is configured in your persisten
On Feb 15, 2008, at 2:46 PM, Jacek Laskowski wrote:
> On Feb 15, 2008 2:37 PM, David Blevins <[EMAIL PROTECTED]> wrote:
>
>> The "Auto-commit" error usually means is that either a) only the jta-
>> data-source is configured in your persistence.xml so OpenJPA
>> incorrectly attempts to use
>On Fri, Feb 15, 2008 at 9:36 AM, <[EMAIL PROTECTED]> wrote:
>
>>
>> >
>> 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/n
On Feb 15, 2008, at 2:46 PM, Jacek Laskowski wrote:
On Feb 15, 2008 2:37 PM, David Blevins <[EMAIL PROTECTED]> wrote:
The "Auto-commit" error usually means is that either a) only the jta-
data-source is configured in your persistence.xml so OpenJPA
incorrectly attempts to use it also as an no
On Feb 15, 2008, at 9:36 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
> wrote:
Hi,
well it works now. Because I have changed the persistence provider
to Hibernate. The problem now is that entities are not persisted.
persist() simply does nothing. But no error is shown.
The persistence.xm
On Feb 15, 2008 2:37 PM, David Blevins <[EMAIL PROTECTED]> wrote:
> The "Auto-commit" error usually means is that either a) only the jta-
> data-source is configured in your persistence.xml so OpenJPA
> incorrectly attempts to use it also as an non-jta-data-source, or b)
> the non-jta-data-source
On Feb 15, 2008, at 4:03 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
> wrote:
Not working, the tables are not created. Now I get this:
Auto-commit can not be set while enrolled in a transaction
I'm very interested in how you got this error so I can fix any related
checks we have. In 3.0
On Fri, Feb 15, 2008 at 9:36 AM, <[EMAIL PROTECTED]> wrote:
>
>
> 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/persist
Hi,
well it works now. Because I have changed the persistence provider to
Hibernate. The problem now is that entities are not persisted. persist() simply
does nothing. But no error is shown.
The persistence.xml is as follows. I have also a full log of the whole
Hibernate. I cannot find an erro
Not working, the tables are not created. Now I get this:
Auto-commit can not be set while enrolled in a transaction
javax.ejb.EJBException: The bean encountered a non-application exception.;
nested exception is:
org.apache.openjpa.persistence.PersistenceException: Auto-commit can not
On Feb 14, 2008, at 6:29 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
> wrote:
Thanks a lot again, I have now made one errors progress:
Now the problem seems to be that the entities in the database are
not automatically created. Is this possible or do I have to do it on
my own?
Thanks,
K
On Thu, Feb 14, 2008 at 6:29 AM, <[EMAIL PROTECTED]> wrote:
> Now the problem seems to be that the entities in the database are not
> automatically created. Is this possible or do I have to do it on my own?
What do you mean by "not automatically created"? If you execute
EntityManager.persist()
Thanks a lot again, I have now made one errors progress:
Now the problem seems to be that the entities in the database are not
automatically created. Is this possible or do I have to do it on my own?
Thanks,
Karsten
javax.ejb.EJBException: The bean encountered a non-application exception.;
nes
On Feb 13, 2008, at 6:26 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
> wrote:
I get:
Apache OpenEJB 3.0-beta-2build: 20080131-03:38
http://openejb.apache.org/
- openejb.home = C:\workspace\TestFacade\target
- openejb.base = C:\workspace\TestFacade\target
- Configuring Service(id=Default S
On Feb 13, 2008 6:26 AM, <[EMAIL PROTECTED]> wrote:
> - Unexpected exception from beforeCompletion; transaction will roll back
>
> org.apache.openjpa.persistence.PersistenceException: null
> at
> org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.getConnection(AbstractJDBCSeq.java:162)
>
jdbc.kernel.AbstractJDBCSeq.getConnection(AbstractJDBCSeq.java:158)
... 55 more
For some strange reason when I was editing and using the openejb.xml the error
was different; the tables in the database were not created.
Thanks,
Karsten
-----Ursprüngliche Nachricht-
Von: David Blevin
It seems like what's happening is eclipse isn't configured to copy in
the src/*/resources files into the related build output directories.
To see if I could replicate the issue, I grabbed our injection-of-
entitymanager example from the examples zip and generated an eclipse
project for it us
On Feb 11, 2008 10:34 AM, <[EMAIL PROTECTED]> wrote:
> - FAIL ... PatternManagementDaoImpl:Missing required persistence.xml
> for @PersistenceContext ref "em" to unit "pattern-managementPu"
>
> What's wrong? It is there. And where should it be placed? In META-INF
> like usually? It seems that
24 matches
Mail list logo