Hibernate

Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) error

Hi!

I have a problem, I get this error:

Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)

I understand what it causing the problem, or rather i think i understand.

logicalGroup2 sql exception

In our environment we are having multiple sql exceptions that reference the column logicalGroup2

Ill share with you a fragment of Bonita BPM logs:

[BonitaStudio] Unable to delete process before starting

Hi everyone,

I'm in face of problem with my bonitaStudio (7.6.3).
I have make a process that i have launch lot of times. But now, BonitaStudio is unable to delete the previous definition, so i can't start my process...

That what i get in my log file:

Business Data Model - Text type - @Lob annotation

Hi,
I have a BDM "Event" with a field "Note" type 'text'.
My db is PostgreSQL.
Bonita saves and reads correctly the data.

I have another web application with Hibernate.
I mapped the Event object with the same Bonita mapping.
Bonita mapping note with this annotation:

@Lob
String note;

When I executed a HQL query
"select Note from Event"
in my application it returns a long value...I aspecting a String value!

Use of inbuilt Hibernate and Bitronix JTA

Hi there,

I would like to make use of the inbuilt Hibernate and Bitronix JTA for my own database.

I can see where the resources for the databases are defined in /bin/setenv.bat, /conf/bitronix-resources.properties and /conf/Catalina/localhost/bonita.xml but have no-idea how to do the database access portion of coding, does anyone have an example of java code to do this?

Accessing the datasource, reading a set of rows, inserting and updating a record.

Many thanks and best regards Seán

Problem with bonita engine - Hibernate transactions - Deadlock

Hello community, firstable sorry for my english.
We have issues with our process, we have been analyzing the troubles which could be related with bonita engine and its connections and transactions with the database engine.
The exceptions from Bonita's log are:
1) Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.ow2.bonita.runtime.model.Execution#79715]
Notifications