[EJB 3.0] New message: "Re: How create table from bean?"
by Wolfgang Knauf
User development,
A new message was posted in the thread "How create table from bean?":
http://community.jboss.org/message/519205#519205
Author : Wolfgang Knauf
Profile : http://community.jboss.org/people/WolfgangKnauf
Message:
--------------------------------------------------------------
Hi,
the check for existence of a table can be performed by executing a SQL query. The query depends on your DBMS. For e.g. Oracle, this might be:
select count(*) from all_tables where owner = 'ME' and table_name = 'MY_TABLE';
The table could be created by executing a simple "create table" statement. But I think you have to provide more details on your use case: why does a bean have to create a table for another bean?
Also keep in mind that in a production environment, the app should not have the rights to do DDL.
Hope this helps
Wolfgang
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519205#519205
16 years, 3 months
[jBPM] New message: "Assign a task to a special user and a group"
by Christian Kloy
User development,
A new message was posted in the thread "Assign a task to a special user and a group":
http://community.jboss.org/message/519199#519199
Author : Christian Kloy
Profile : http://community.jboss.org/people/c.kloy
Message:
--------------------------------------------------------------
Hello together,
I want to assign a task to a special group, ok no problem, it works with a "candidate-group". But we want, that a special user of this group get this task as first and the whole group only, if he reject the task.
The xml-schema allows both, assignee and candidte-groups for the element task. But the sql-statement say something like this: "is in groups an assignee is null".
Is there a way, to do this with jbpm?
jbpm-version: 4.3
Best regards
Christian
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519199#519199
16 years, 3 months