IDEMPIERE-2664 DB Extensibility issues / remove unnecessary dependency to initcap and user functions
This commit is contained in:
parent
2183eb44ef
commit
7f753cdedb
|
@ -232,7 +232,7 @@ public class Service {
|
||||||
// Get Login Info
|
// Get Login Info
|
||||||
String loginInfo = null;
|
String loginInfo = null;
|
||||||
// Verify existance of User/Client/Org/Role and User's acces to Client & Org
|
// Verify existance of User/Client/Org/Role and User's acces to Client & Org
|
||||||
String sql = "SELECT u.Name || '@' || c.Name || '.' || o.Name || ' [' || INITCAP(USER) || ']' AS Text "
|
String sql = "SELECT u.Name || '@' || c.Name || '.' || o.Name AS Text "
|
||||||
+ "FROM AD_User u, AD_Client c, AD_Org o, AD_User_Roles ur "
|
+ "FROM AD_User u, AD_Client c, AD_Org o, AD_User_Roles ur "
|
||||||
+ "WHERE u.AD_User_ID=?" // #1
|
+ "WHERE u.AD_User_ID=?" // #1
|
||||||
+ " AND c.AD_Client_ID=?" // #2
|
+ " AND c.AD_Client_ID=?" // #2
|
||||||
|
|
|
@ -178,8 +178,8 @@ public class CompiereService {
|
||||||
{
|
{
|
||||||
// Get Login Info
|
// Get Login Info
|
||||||
String loginInfo = null;
|
String loginInfo = null;
|
||||||
// Verify existance of User/Client/Org/Role and User's acces to Client & Org
|
// Verify existence of User/Client/Org/Role and User's acces to Client & Org
|
||||||
String sql = "SELECT u.Name || '@' || c.Name || '.' || o.Name || ' [' || INITCAP(USER) || ']' AS Text "
|
String sql = "SELECT u.Name || '@' || c.Name || '.' || o.Name AS Text "
|
||||||
+ "FROM AD_User u, AD_Client c, AD_Org o, AD_User_Roles ur "
|
+ "FROM AD_User u, AD_Client c, AD_Org o, AD_User_Roles ur "
|
||||||
+ "WHERE u.AD_User_ID=?" // #1
|
+ "WHERE u.AD_User_ID=?" // #1
|
||||||
+ " AND c.AD_Client_ID=?" // #2
|
+ " AND c.AD_Client_ID=?" // #2
|
||||||
|
|
Loading…
Reference in New Issue