You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Matthew Baird <Ma...@motiva.com> on 2003/01/10 18:52:43 UTC

RE: [OJB - EJB-examples update] jboss run with CVS head

are you working on any redeployment features? I think we have to reload all the metadata, but I haven't looked into it.

-----Original Message-----
From: Armin Waibel [mailto:armin@code-au-lait.de]
Sent: Friday, January 10, 2003 9:56 AM
To: OJB Developers List
Subject: [OJB - EJB-examples update] jboss run with CVS head


Hi all,

I have fixed the ejb-examples stuff. With jboss-3.0.3 + 3.0.4
all test passed without any hassle.

I have completely separate the ejb-example/junit stuff from the the
other junit-tests, because I run into problems when using persistent
object classes from the test package (proxy stuff, .....).

Build the examples:
bin\build.bat jar
bin\build.bat ejb-examples
in /dist dir you will find a bean jar file.

TODO:
- There is one open point when using the OJB default sequence manager
(SequenceManagerHighLowImpl) in managed environments (see comment
in this class),
thus it is recommended to use the
SequenceManagerNextValImpl if the used database supports
database based sequence generation (e.g. ... nextval from dual stuff)
or the SequenceManagerInMemoryImpl ( in test environments).

- The re(hot)-deployment of the sample beans does not work.

regards,
Armin

used descriptor
<!-- Datasource example -->
    <jdbc-connection-descriptor
        jcd-alias="default"
        default-connection="true"
        platform="Hsqldb"
        jdbc-level="2.0"
        jndi-datasource-name="java:DefaultDS"
        username="sa"
        password=""
        eager-release="true"
        batch-mode="false"
        useAutoCommit="0"
        ignoreAutoCommitExceptions="false"
   >
        <sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerInMemoryIm
pl">
            <attribute attribute-name="grabSize" attribute-value="20"/>
        </sequence-manager>

   </jdbc-connection-descriptor>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>