Tobias Frech wrote:
> 
> Hi!
> If you are storing objects in properties of a bean (which are stored in
> BLOBs) DO NOT "tuned updates" at the moment.
> What are you trying to store ?
> How does the database look before and afterward ?
> 
> Ciao,
> Tobias
Hello!

I think i did not explained my problem well. I am using BMP beans. Every
action on database is written by myself. Only one thing i expect Jboss
will do for me is to begin and commit (or rollback) transaction before
and after invoking methods. As i wrote before it looks like it does it
but it happens only when i start and stop JBoss. And changing
'container-transaction' tag contents in ejb-jar.xml file does nothing.

Answering to your questions: no matter what i am trying to store,
everything is rolled back,
the database before and afterward is exactly the same, but in a time
when a container is started the queries are executed, and changes are
only visible for the container (bean run by the container).

Marcin

> 
> Marcin Chalotowski wrote:
> >
> > Hi!
> >
> > My problem is that I am trying to get working PostgreSQL 7.0 with JBoss
> > and Minerva, and everything goes wrong.
> >
> > I can't find anywhere if i should use jdbc1 or jdbc2 driver. Anyway i
> > tried both.
> > Also transaction settings are not clear for me.
> > The results are:
> >
> > - jdbc1
> > Service starts. I set up transactions 'required' for all beans. But for
> > me it looks like when i am starting jboss one big transaction begins.
> > After stopping server everything rolls back (!?!). I tried to change
> > transaction attributes, but no results. Looks like nothing different
> > happens.
> >
> > - jdbc2
> > After starting server services are working, but when i am executing
> > query, in jdbc driver the method getResultSetType invokes notSupported
> > method (all in Statement class - postgresql driver).
> > Exactly! When i checked the sources some of the methods are not
> > implemented!
> > So the sources for PostgreSQL 7.0 are not finished? The only way to use
> > connection pooling is to use jdbc1 driver?
> >
> > For now I just want to make it working. If someone could explain me how
> > to do it i would be very grateful.
> >
> > Thanks,
> >
> > --
> > Marcin


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to