details: /erp/devel/pi/rev/6a6b8271e60a
changeset: 10757:6a6b8271e60a
user: Juan Pablo Aroztegi <juanpablo.aroztegi <at> openbravo.com>
date: Thu Feb 17 20:54:30 2011 +0100
summary: v3.datasets: set the default role to the FB Admin
diffstat:
modules/org.openbravo.v3.datasets/build/classes/org/openbravo/v3/datasets/SetDefaultRole.class
| 0
modules/org.openbravo.v3.datasets/src-util/modulescript/src/org/openbravo/v3/datasets/SetDefaultRole.java
| 2 +-
2 files changed, 1 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r ba857f3f6e21 -r 6a6b8271e60a
modules/org.openbravo.v3.datasets/build/classes/org/openbravo/v3/datasets/SetDefaultRole.class
Binary file
modules/org.openbravo.v3.datasets/build/classes/org/openbravo/v3/datasets/SetDefaultRole.class
has changed
diff -r ba857f3f6e21 -r 6a6b8271e60a
modules/org.openbravo.v3.datasets/src-util/modulescript/src/org/openbravo/v3/datasets/SetDefaultRole.java
---
a/modules/org.openbravo.v3.datasets/src-util/modulescript/src/org/openbravo/v3/datasets/SetDefaultRole.java
Thu Feb 17 20:18:32 2011 +0100
+++
b/modules/org.openbravo.v3.datasets/src-util/modulescript/src/org/openbravo/v3/datasets/SetDefaultRole.java
Thu Feb 17 20:54:30 2011 +0100
@@ -36,7 +36,7 @@
try {
ConnectionProvider cp = getConnectionProvider();
PreparedStatement ps = cp
- .getPreparedStatement("update ad_user set
default_ad_role_id='A9904A6C65FF43788A584E5A2268449D' where ad_user_id='100'
and default_ad_role_id is NULL and exists (select 1 from ad_role where
ad_role_id='A9904A6C65FF43788A584E5A2268449D')");
+ .getPreparedStatement("update ad_user set
default_ad_role_id='FF8080812AFBCB14012AFBD3E4340031' where ad_user_id='100'
and default_ad_role_id is NULL and exists (select 1 from ad_role where
ad_role_id='FF8080812AFBCB14012AFBD3E4340031')");
ps.executeUpdate();
} catch (Exception e) {
handleError(e);
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits