Hi,
I use Open EJB 3.0 as embedded server to run unit tests, with Hibernate
3.2.6.ga as JPA implementation and HSQLDB as embedded database (memory
mode). It works perfect, much better than others I tried to use until now
(JBoss embedded for example).
Anyway I encounter a problem I can't find how
sk my question on Hibernate forums and I will report
here, I am sure it's something that could be useful for many people.
Olivier
2008/11/5 David Blevins <[EMAIL PROTECTED]>
>
> On Nov 4, 2008, at 7:52 AM, Olivier THIERRY wrote:
>
> But it nevers returns any result, while I
I had a response about this problem, and this due to HSQDLB itself, not
Hibernate neither OpenEJB.
Actually HSQLDB nevers use Java float internally, just doubles, so I should
define my properties as double instead of float.
Olivier
2008/11/6 Olivier THIERRY <[EMAIL PROTECTED]>
> Thanks
Thanks a lot for your help David, the new
"openejb.deployments.classpath.ear" property helped me to reproduce
behaviour I had with Open EJB 3.0. I will have a look later on what you say
about persistence.xml files in test-classes directory, this could be a good
idea !
Olivier
2008/11/10 David Ble
Hi,
I have a project with EJB3 Seam components. I write unit tests that will run
on OpenEJB, but I encounter a problem I can't find it is a Seam or OpenEJB
one.
I wrote a Seam component with CONVERSATION scope, i.e. a stateful session
bean. I wrote the following unit test for this component :
on instance will be discarded and you
> will get the javax.ejb.NoSuchEJBException.
>
> Use the @javax.ejb.ApplicationException annotation to specify that an
> exception class is an application exception.
>
> Regards
> Manu
>
>
> On Wed, Nov 19, 2008 at 8:38 PM, Olivier T
Hi,
I use Open EJB 3.1 within a Maven 2.0.9 project to run tests.
Everything works well for the moment.
But for a few days I encounter a bug with entity manager and I need to
activate logs to understand what happens.
I start OpenEJB this way :
System.setProperty("openejb.base", "
Hi,
I use Open EJB to run TestNG unit tests in a Maven project. This
project contains many Seam components. All of them are EJB3 stateful
session beans (conversation scoped) and use extended persistence
context (same persistence unit everywhere). All of these Seam
components work perfect ... excep
Hi Thomas,
All my SFSB are also Seam components and live in conversation context.
So the extended persistence context is kept in a Seam conversation.
For what I understood, if you don't use Seam you have to propagate the
persistence context yourself.
You can read this in Seam documentation :
"Se
2009/2/6 David Blevins :
>
> I guess my first question would be is this in use in a test case or in
> another environment like Tomcat? If in a test case, how do the setup and
> tear down's work? I.e. are OpenEJB and Seam being torn down together and
> are they being torn down before and after eac
Hi,
I try to configure a Seam-managed persistence context with Open EJB 3.0.
To achieve this, I need to get entity manager factory using its JNDI name.
For example, for JBoss, it is something like this :
But I can't find the equivalent for Open EJB. So what is the JNDI name
for OpenEJB entity
2009/3/19 David Blevins :
>
> On Mar 18, 2009, at 8:40 AM, Olivier THIERRY wrote:
>
>> Hi,
>>
>> I try to configure a Seam-managed persistence context with Open EJB 3.0.
>> To achieve this, I need to get entity manager factory using its JNDI name.
>>
>>
12 matches
Mail list logo