in the
current release.
[Marcin Kwapisz]
p.setProperty(log4j.category.OpenEJB.startup.attributes, DEBUG);
ctx = new InitialContext(p);
It does not work. That’s why I have set that value as a system property.
We achieve this by translating the annotation into their *exact* xml
equivalent and processing
pl.zsk.sos.ejb.endpoint.StudentEndpointBean.createStudent(pl.zsk.sos.dto.StudentDTO,pl.zsk.sos.dto.AccountDTO)
throws pl.zsk.sos.exception.StudentException -- StudentEndpoint : * : * :
createStudent(*) SysAdmin
Regards
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
:\JavaProg\MySamples\EJB\Samplev7\JEEMavenProject2\PersonAccountModule\target\classes
INFO - Found EjbModule in classpath:
D:\JavaProg\MySamples\EJB\Samplev7\JEEMavenProject2\PersonAccountModule\target\test-classes
INFO - Found EjbModule in classpath: e:\Profiles\Marcin
Kwapisz\.m2\repository\zsk\samples
Hi,
We don't have any functionality for supplying an alternate ejb-jar.xml
for testing purposes. It's not a bad idea and is something we might
be able to add after we get the 3.1 release out the door.
[Marcin Kwapisz]
My Maven2 profile is as follows. resource directs to folder
src/test
tests. This would heavily impact the
development and testing.
this is the reason why in such cases a rollback after a unit test
instead of
makes sense.
[Marcin Kwapisz]
I know. That's why we run as many unit tests as it is possible between server
startup and shutdown.
But how to properly test
[Marcin Kwapisz]
I do not understand why you want to rollback committed transaction, especially
in unit test. Even, I do not know how to do it in JEE application.
Maybe our way will suit you:
1. set drop and create strategy in persistence.xml (property name depends on
JPA provider, we have
Great, thanks for the example. We will try to prepare unit tests for concurrent
transactions definitely (and publish as an solution/example).
[Marcin Kwapisz]
Best regards
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
Thanks for the link, this post doesn't look to be able to help me with
runtime configuration of hibernate properties though, looks like its
not
possible so I will settle for seperate persistence.xml files.
[Marcin Kwapisz]
Maybe I misunderstood something. You want to set persistent.xml
I think that blog entry can be useful.
http://qbeukes.blogspot.com/2008/08/toplink-as-your-openejb-persistence.html
Regards
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
Hi,
I'm using openejb with hibernate for unit tetsting my EJBs and I'm
running
Also, we have an OpenEJB, Maven, Hibernate example here that may
help.
http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/jpa-
hibernate/
[Marcin Kwapisz]
Hi,
After a little investigation I am almost sure that the problem is with
hibernate, not within OpenEJB. Hibernate cannot
/netbeans.hint.deploy.server
/properties
/project
Thanks in advance
Regards
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
and SecondaryTable does not work with
Hibernate. So the problem is not with OpenEJB (I think).
I don’t know why I get null in original project. Can it be the same problem
or a different one?
Regards
--
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
in TopLink?
[Marcin Kwapisz]
Thanks David for the hint.
There is such feature and similar problem (solution also) is described here:
http://forums.oracle.com/forums/thread.jspa?threadID=625250tstart=0messageID=2390496
and here:
http://www.jroller.com/guruwons/entry
14 matches
Mail list logo