Setting an object name
Hi,
I'm building an interface with swing. The number of components of this interface depends of some parameters that the user put in a parameter file.
What I want to do is to write a method that read the parameters file and automatically builds the number of components.
My question is : is it possible to automatically give a name to an object using a String ?
For example :
I have a tab with the names of JLabels I want to create automatically :
tab[3] : "dbTranslate" | "corina" | "dbslnFilter"
what I want to do is someting like that :
for (int i=0;i<tab.length;i++) {
JLabel tab[i] = new JLabel(tab);
I should obtain 1 JLabel called dbTranlate, 1 called corina and 1 called dbslnFilter.
I know that my code is totally wrong, it's just to show you what I want to do .... I really need to have a different name for each object.
Does someone have an idea ?
Thanx in advance.
Since JLabel inherits from java.awt.Component, you can call its setName method and give each label a name.
Once all your Components have a name, you can search up a tree of Components by calling getName and getParent recursively.
Similar Messages
-
How can I set the Object Name to the file name on import?
All-
I've been manually typing the filename into Aperture's Object Name metadata field. Is there a way to do this automatically? I use metadata presets to fill in many other fields on import but haven't found a way to set metadata fields on a file-by-file basis.
Perhaps there's a way to do this with the thousands of images already in my library as well...
Thanks,
AndreasHere's the cleaned-up version:
tell application "Aperture"
set selectedImages to the selection
repeat with i in selectedImages
set tName to name of i
set value of IPTC tag "ObjectName" of i to tName
end repeat
end tell
Some other related bits, which you can probably work out how to put into the above script:
Find out the AppleScript names of the IPTC tags (but only tags which have a value for that image), the names will be listed in the 'result' pane in the Script Editor:
tell application "Aperture"
set selectedImages to the selection
get name of every IPTC tag of item 1 of selectedImages
end tell
The same for EXIF tags:
tell application "Aperture"
set selectedImages to the selection
get name of every EXIF tag of item 1 of selectedImages
end tell
And for any custom tags you have set up. If you haven't set up any custom tags (one of my main reasons for going with Aperture) this will just return camera and picture time zones:
tell application "Aperture"
set selectedImages to the selection
get name of every custom tag of item 1 of selectedImages
end tell
Finally, keywords:
tell application "Aperture"
set selectedImages to the selection
get name of keywords of item 1 of selectedImages
end tell
To grab the first keyword name try 'name of keyword 1 of...' etc.
To grab the parent keywords for hierarchical keywording stuff try experimenting with 'get parents of keywords of'. The keywords seem to be read-only from AppleScript, so a magic script that added all parent keywords doesn't seem to be possible.
Ian -
Values of Variables as Object names
Hi!
Can a value of a variable be an object name, and how?
For example:
String test = "myname";
JLabel myname = new JLabel();
Is it possible to set the object name for the Label from the value of the String test (here: myname) without explicit typing the name of the Label in the code??
thanks
P.S. excuse my bad english - I hope you understand my question.how can you dynamically create for example Labels? "new Label(text)" will dynamically create a new Label for you.
I have a database connection and I want to put let's say every value of a column into a new Label.Okay, so you put "new Label(text)" inside the loop that's reading the database. I expect you want to display these labels, so you'd want to add them to some GUI container. Like this: "container.add(new Label(text))".
how do I declare dynamically names for Labels?In the scenario where you just want to display the labels, you don't need to have "names" for them. But if you have some other scenario, like you need to get at the labels and change the text based on something else happening, then you use a Hashtable to store the Labels. You'd use a String as the key (that's your "name") and use the Label as the value. Then you can retrieve the Label from the Hashtable by using its get(key) method. -
Hi .
I was creating the pass the values t in temp tables though s sis package vs2012 .
First I was taken on executive SQL TASK.
IN EXCUTIVE SQL TASK . I was write the stored proce:
Sp;
reate procedure USP_GETEMP2333
AS
begin
Select eid,ename,dept,salary from emp
end;
create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
insert into #temp
exec USP_GETMP02333
go.
It was executive correctly.
I was taken another sequence container. In the sequence container iam creating one executive sql
In 2<sup>nd</sup> excutive sql task: sql statements is
if object_id('emp_fact_sal') is not null
drop table emp_fact_sal
select eid,ename as emp_name,sal_bar=
case when salary<=5000 then 'l'
when salary >5000 and salary<=7000 then 'm'
else
'h'
end
into emp_fact_sal from #temp.
and one falt flies it was taken to designation .
iam changing all connection properties:
in oldeb connection:
in excutive sal task properties .
delay validation is true,
and retain connection maner is also true,
and package mode is 64 bit is false.
But iwas excutive in 2<sup>nd</sup> excutive ql task .
Iam getting this type of errors,
[Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
correctly.
Please help meArthur suggestion works but you shouldnt even be doing this on a SQL Task.
Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
is an undocumented behavior and should not be relied upon. -
Attempt to set a parameter name that does not occur in the SQL: vc_temp_1
I have query view object build on the following sql
select
nvl(u.full_name,e.arabic_first_name||' '||e.arabic_family_name) as empName,
(select sc.general_specialty from ta_scientific_certificate sc where sc.user_id=u.user_id
group by sc.general_specialty
Having Max(sc.qualification_kind)>= All (select max(sc1.qualification_kind) from ta_scientific_certificate sc1 where sc1.user_id=u.user_id group by sc1.qualification_kind ) )as general_specialty
, u.*,ur.default_role,ur.role_1,ur.role_2,ur.role_3,ur.role_4,ur.role_5,ur.role_6,ur.role_7
from ta_user u,employee e,TA_USER_ROLES ur
where u.account_enabled='1' and u.emp_id = e.empl_code(+) and ur.user_id=u.user_id(+)
with this query
( (EMP_ID IS NULL ) ) AND (( ( (DEFAULT_ROLE = 4 ) ) OR ( (DEFAULT_ROLE = 6 ) ) )OR( ( (ROLE_1 = 4 ) ) OR ( (ROLE_1 = 6 ) ) )OR( ( (ROLE_2 = 4 ) ) OR ( (ROLE_2 = 6 ) ) )OR( ( (ROLE_3 = 4 ) ) OR ( (ROLE_3 = 6 ) ) )OR( ( (ROLE_4 = 4 ) ) OR ( (ROLE_4 = 6 ) ) )OR( ( (ROLE_5 = 4 ) ) OR ( (ROLE_5 = 6 ) ) )OR( ( (ROLE_6 = 4 ) ) OR ( (ROLE_6 = 6 ) ) )OR( ( (ROLE_7 = 4 ) ) OR ( (ROLE_7 = 6 ) ) ))
I created search page by dragging this view object from MyApplicationModule->NamedCriteria
but i don't want to show all the fields that their names start with ROLE in my search option so I unChecked the attribute queryalbe
no when I press button search the error Attempt to set a parameter name that does not occur in the SQL: vc_temp_1 is shown
if i press OK on error message and click search again it works
how can I make this error disappearno I don't think that i have
this is my source ( I will divide it into two parts)
<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
<!---->
<ViewObject
xmlns="http://xmlns.oracle.com/bc4j"
Name="SciQualMgtVO"
Version="11.1.2.60.17"
OrderBy='"EMPNAME"'
BindingStyle="OracleName"
CustomQuery="true"
PageIterMode="Full"
UseGlueCode="false">
<DesignTime>
<Attr Name="_isExpertMode" Value="true"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO_LABEL"/>
</SchemaBasedProperties>
</Properties>
<ViewAccessor
Name="LookupAM_IpaCodesVO_GeneralSpecialityVA"
ViewObjectName="ta.common.lookup.IpaCodesVO"
AMUsageName="LookupAM"
ViewInstanceName="IpaCodesVO_GeneralSpecialityDC"
RowLevelBinds="true"/>
<ViewAccessor
Name="CountryVA"
ViewObjectName="ta.common.lookup.CountryVO"
RowLevelBinds="true"/>
<ViewAccessor
Name="DegreeVA"
ViewObjectName="ta.common.lookup.DegreeVO"
RowLevelBinds="true"/>
<ViewAccessor
Name="LookupAM_IpaCodesVO_ScientificQualificationVA"
ViewObjectName="ta.common.lookup.IpaCodesVO"
AMUsageName="LookupAM"
ViewInstanceName="IpaCodesVO_ScientificQualificationDC"
RowLevelBinds="true"/>
<ViewAccessor
Name="YesNoVA"
ViewObjectName="ta.common.constants.YesNoVO"
RowLevelBinds="true"/>
<ViewAccessor
Name="IpaCodesVO_GeneralSpecialityVA"
ViewObjectName="ta.common.lookup.IpaCodesVO"
RowLevelBinds="true">
<ViewCriteriaUsage
Name="IpaCodesVO_GeneralSpecialityCriteria"
FullName="ta.common.lookup.IpaCodesVO.IpaCodesVO_GeneralSpecialityCriteria"/>
</ViewAccessor>
<ViewAccessor
Name="IpaCodesVO_ScientificQualificationVA"
ViewObjectName="ta.common.lookup.IpaCodesVO"
AMUsageName="LookupAM"
ViewInstanceName="IpaCodesVO_ScientificQualificationDC"
RowLevelBinds="true">
<ViewCriteriaUsage
Name="IpaCodesVO_ScientificQualificationCriteria"
FullName="ta.common.lookup.IpaCodesVO.IpaCodesVO_ScientificQualificationCriteria"/>
</ViewAccessor>
<ListBinding
Name="ar_LOV_GeneralSpecialty"
ListVOName="IpaCodesVO_GeneralSpecialityVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="GeneralSpecialty"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="Code"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="ArabicDescription"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="en_LOV_GeneralSpecialty"
ListVOName="IpaCodesVO_GeneralSpecialityVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="GeneralSpecialty"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="Code"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="EnglishDescription"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="ar_male_LOV_Nationality"
ListVOName="CountryVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="Nationality"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="CountryCode"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="MaleNational"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="ar_female_LOV_Nationality"
ListVOName="CountryVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="Nationality"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="CountryCode"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="FemaleNational"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="en_LOV_Nationality"
ListVOName="CountryVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="Nationality"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="CountryCode"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="EnglishNational"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="ar_LOV_ScientificDegree"
ListVOName="IpaCodesVO_ScientificQualificationVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="ScientificDegree"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="Code"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="ArabicDescription"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="en_LOV_ScientificDegree"
ListVOName="IpaCodesVO_ScientificQualificationVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="ScientificDegree"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="Code"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="EnglishDescription"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="en_LOV_ScientificQualification"
ListVOName="DegreeVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="ScientificQualification"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="DegreeCode"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="EnglishName"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="ar_LOV_Country"
ListVOName="CountryVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="Country"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="CountryCode"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="ArabicName"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="en_LOV_Country"
ListVOName="CountryVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="Country"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="CountryCode"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="EnglishName"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="LOV_PastArbitration"
ListVOName="YesNoVA"
ListRangeSize="-1"
NullValueFlag="none"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="PastArbitration"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="Code"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="Name"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="LOV_PastCooperation"
ListVOName="YesNoVA"
ListRangeSize="-1"
NullValueFlag="none"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="PastCooperation"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="Code"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="Name"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="LOV_FutureCooperation"
ListVOName="YesNoVA"
ListRangeSize="-1"
NullValueFlag="none"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="FutureCooperation"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="Code"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="Name"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<ListBinding
Name="ar_LOV_ScientificQualification"
ListVOName="DegreeVA"
ListRangeSize="-1"
NullValueFlag="start"
NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
MRUCount="0">
<AttrArray Name="AttrNames">
<Item Value="ScientificQualification"/>
</AttrArray>
<AttrArray Name="ListAttrNames">
<Item Value="DegreeCode"/>
</AttrArray>
<AttrArray Name="ListDisplayAttrNames">
<Item Value="ArabicName"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
<SQLQuery><![CDATA[select
nvl(u.full_name,e.arabic_first_name||' '||e.arabic_family_name) as empName,
(select sc.general_specialty from ta_scientific_certificate sc where sc.user_id=u.user_id
group by sc.general_specialty
Having Max(sc.qualification_kind)>= All (select max(sc1.qualification_kind) from ta_scientific_certificate sc1 where sc1.user_id=u.user_id group by sc1.qualification_kind ) )as general_specialty
, u.*,ur.default_role,ur.role_1,ur.role_2,ur.role_3,ur.role_4,ur.role_5,ur.role_6,ur.role_7
from ta_user u,employee e,TA_USER_ROLES ur
where u.account_enabled='1' and u.emp_id = e.empl_code(+) and ur.user_id=u.user_id(+)]]></SQLQuery>
<ViewAttribute
Name="Empname"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="255"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="EMPNAME"
Expression="EMPNAME"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.Empname_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="GeneralSpecialty"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="20"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="GENERAL_SPECIALTY"
Expression="GENERAL_SPECIALTY"
SQLType="VARCHAR"
LOVName="ar_LOV_GeneralSpecialty"
LOVFinder="GeneralSpecialtySwitcher">
<DesignTime>
<Attr Name="_DisplaySize" Value="20"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<CONTROLTYPE
Value="choice"/>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.GeneralSpecialty_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="UserId"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Type="java.lang.Integer"
ColumnType="NUMBER"
AliasName="USER_ID"
Expression="USER_ID"
SQLType="INTEGER"/>
<ViewAttribute
Name="FullName"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="FULL_NAME"
Expression="FULL_NAME"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.FullName_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="FullNameEn"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="FULL_NAME_EN"
Expression="FULL_NAME_EN"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.FullNameEn_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="TitleSalutation"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="20"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="TITLE_SALUTATION"
Expression="TITLE_SALUTATION"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="20"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.TitleSalutation_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="Nationality"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="3"
Scale="0"
Type="java.lang.Integer"
ColumnType="NUMBER"
AliasName="NATIONALITY"
Expression="NATIONALITY"
SQLType="INTEGER"
LOVName="ar_male_LOV_Nationality"
LOVFinder="NationalitySwitcher">
<Properties>
<SchemaBasedProperties>
<CONTROLTYPE
Value="choice"/>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.Nationality_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="Gender"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="1"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="GENDER"
Expression="GENDER"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="1"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.Gender_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="Employer"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="100"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="EMPLOYER"
Expression="EMPLOYER"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="100"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.Employer_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="CurrentJob"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="CURRENT_JOB"
Expression="CURRENT_JOB"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.CurrentJob_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="Degree"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="DEGREE"
Expression="DEGREE"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.Degree_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="Department"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="DEPARTMENT"
Expression="DEPARTMENT"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.Department_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="ScientificDegree"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="4"
Scale="0"
Type="java.lang.Integer"
ColumnType="NUMBER"
AliasName="SCIENTIFIC_DEGREE"
Expression="SCIENTIFIC_DEGREE"
SQLType="INTEGER"
LOVName="ar_LOV_ScientificDegree"
LOVFinder="ScientificDegreeSwitcher">
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.ScientificDegree_LABEL"/>
<CONTROLTYPE
Value="choice"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="ScientificQualification"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="20"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="SCIENTIFIC_QUALIFICATION"
Expression="SCIENTIFIC_QUALIFICATION"
SQLType="VARCHAR"
LOVName="ar_LOV_ScientificQualification"
LOVFinder="ScientificQualificationSwitcher">
<DesignTime>
<Attr Name="_DisplaySize" Value="20"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.ScientificQualification_LABEL"/>
<CONTROLTYPE
Value="choice"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="Country"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="3"
Scale="0"
Type="java.lang.Integer"
ColumnType="NUMBER"
AliasName="COUNTRY"
Expression="COUNTRY"
SQLType="INTEGER"
LOVName="ar_LOV_Country"
LOVFinder="CountrySwitcher">
<Properties>
<SchemaBasedProperties>
<CONTROLTYPE
Value="choice"/>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.Country_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="City"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="CITY"
Expression="CITY"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.City_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="ZipCode"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="20"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="ZIP_CODE"
Expression="ZIP_CODE"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="20"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.ZipCode_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="POBox"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="20"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="P_O_BOX"
Expression="P_O_BOX"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="20"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.POBox_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="CurrentAddress"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="100"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="CURRENT_ADDRESS"
Expression="CURRENT_ADDRESS"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="100"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.CurrentAddress_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="WorkPhone"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="WORK_PHONE"
Expression="WORK_PHONE"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.WorkPhone_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="HomePhone"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="HOME_PHONE"
Expression="HOME_PHONE"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.HomePhone_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="CellPhone"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="CELL_PHONE"
Expression="CELL_PHONE"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.CellPhone_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="Fax"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="FAX"
Expression="FAX"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.Fax_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="PermanentAddress"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="100"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="PERMANENT_ADDRESS"
Expression="PERMANENT_ADDRESS"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="100"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.PermanentAddress_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="Email"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="EMAIL"
Expression="EMAIL"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.Email_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="Password"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="PASSWORD"
Expression="PASSWORD"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="PastArbitration"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="1"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="PAST_ARBITRATION"
Expression="PAST_ARBITRATION"
SQLType="VARCHAR"
LOVName="LOV_PastArbitration">
<DesignTime>
<Attr Name="_DisplaySize" Value="1"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<CONTROLTYPE
Value="radio"/>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.PastArbitration_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="PastCooperation"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="1"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="PAST_COOPERATION"
Expression="PAST_COOPERATION"
SQLType="VARCHAR"
LOVName="LOV_PastCooperation">
<DesignTime>
<Attr Name="_DisplaySize" Value="1"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<CONTROLTYPE
Value="radio"/>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.PastCooperation_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="FutureCooperation"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="1"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="FUTURE_COOPERATION"
Expression="FUTURE_COOPERATION"
SQLType="VARCHAR"
LOVName="LOV_FutureCooperation">
<DesignTime>
<Attr Name="_DisplaySize" Value="1"/>
</DesignTime>
<Properties>
<SchemaBasedProperties>
<CONTROLTYPE
Value="radio"/>
<LABEL
ResId="ta.model.ro.SciQualMgtVO.FutureCooperation_LABEL"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewAttribute
Name="EmpId"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="20"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="EMP_ID"
Expression="EMP_ID"
SQLType="VARCHAR"
IsQueriable="false">
<DesignTime>
<Attr Name="_DisplaySize" Value="20"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="LoginName"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="LOGIN_NAME"
Expression="LOGIN_NAME"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
</ViewAttribute> -
How to set dynamic host name in the URL of a URL iView?
Hello,
I am using a standard URL iView that points to some J2EE app I've written and deployed on the same server.
I would like to set the host name to be a dynamic one, this way I won't need to change the iView URL when transporting it from one portal to another. As far as I know the system for a URL iView only controls authorizations but cannot replace the full URL set in the iView.
Any idea who can this be achieved?
RoyHi Mrityunjay,
forced URL at runtime will require me to call the URL iView from another iView that I will need to code (setting the URL in the Request object). If I did all this I might as well call it from this iView already.
I would like to do it with no further developments. I would have thought that SAP has constants that can be plugged in the URL for this type of thing, i.e. $hostname...
Rgds,
Roy
Edited by: Roy Cohen on Aug 21, 2008 4:03 PM -
How to set a Object value by JDI
How to set a Object value using JDI?
For example:
class User{
private String name;
private String id;
set and get method;
public static void main(String[] args) throws Exception {
VirtualMachineManager vmm = Bootstrap.virtualMachineManager();
List<AttachingConnector> connectors = vmm.attachingConnectors();
SocketAttachingConnector sac = null;
for (AttachingConnector ac : connectors) {
if (ac instanceof SocketAttachingConnector) {
sac = (SocketAttachingConnector) ac;
break;
if (sac == null) {
System.out.println("JDI error");
return;
Map<String, Connector.Argument> arguments = sac.defaultArguments();
Connector.Argument hostArg = arguments.get("hostname");
Connector.Argument portArg = arguments.get("port");
hostArg.setValue(HOST);
portArg.setValue(String.valueOf(PORT));
vmMachine = sac.attach(arguments);
List<ReferenceType> classesByName = vmMachine.classesByName(CLSNAME);
if (classesByName == null || classesByName.size() == 0) {
System.out.println("No class found");
return;
ReferenceType rt = classesByName.get(0);
List<Method> methodsByName = rt.methodsByName(METHODNAME);
if (methodsByName == null || methodsByName.size() == 0) {
System.out.println("No method found");
return;
Method method = methodsByName.get(0);
I will connect to server and monitor the remote server JVM , There is a object of User, I want to change its value by the Java Debugger Interface by client.
so how to set its value by the client, and I can not got the User bean at client.
I know the basic type filed value changed as follows:
Value newValue = vmMachine.mirrorOf("change var value");// this field is a string.
stackFrame.thisObject().setValue(field, newValue);
But a Object , how can I change its value.
Thanks Advanced.ObjectReference.setValue() is the method for chaining the value of an Object's field. First you need to find the specific Object you want to change, though.
/Staffan -
How to set Principal object?
Hello,
I have two web applications. The "app1" is the one we are developing and retrieving the Principal object. The "app2" is a black box web application which we have no way to modify. We can only add parameters in web.xml. The business flow is that once the Principal object is retrieved in "app1", the "app1" calls "app2". The "app2" is looking for User_Principal object. The document says "USER_PRINCIPAL = (The user name is retrieved from a call to getUserPrincipal().getName() on the HttpServletRequest object for the current request in a servlet or JSP)". If I understand this correctly, the "app2" is going to look for "HttpServletRequest". How can the "app1" set Principal object so that "app2" can retrieve it from "HttpServletRequest"? As far as I know there is not "setUserPrincipal()" method in "HttpServletRequest". So the app1 cannot use "HttpServletRequest".
Thanks in advance,
MustafaThe UserPrinciple is set by the server after the user has been successfully authenticated. You should force the user to login to the second application using the <security-constrain> entry in web.xml. If your user has already been authenticated in your first application than make sure that you have the Realm the user is authenticated to available for both web apps.
-
Oracle SQL Developer (Not seeing object names within the interface)
Hello,
I was finally able to perform an export/import from our production environment to our training environment. Anyway, this was done using the SYS account and for some reason, I have an issue where in Oracle SQL Developer, there are no object names being displayed, but the objects do exist within SQLPLUS if I should query the table.
The following error message displays when I refresh any of the objects folders within SQL Developer:
ORA-00942: table or view does not exist
Any ideas would be greatly appreciated.
Thank you.825084 wrote:
I'm pretty new to the Oracle DBA space but not to SQL Server Ah. The first thing you need to do is check everything you think you know about rdbms at the door. The similarity between SQL Server and Oracle ends right after SELECT * FROM EMP.
Even the term "database" has different meanings.
First thing I see, in your original post, is that you did the export/import as SYS. Was this "as sysdba"?
From Oracle® Database Utilities
10g Release 2 (10.2):
Invoking Export and Import As SYSDBA
SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export or Import as SYSDBA, except in the following situations:
* At the request of Oracle technical support
* When importing a transportable tablespace set
so it's quite possible that I missed something during the import/export of the environments.
Are there any system tables that get invoked when you click on any of the objects within the connection? -
Invalid object name 'dbo.uf_GetRateSrcMember'
Hello Friends,
We recently applied the SP3 (CPMBPC03P_1-20002499) for BPC 5.1. We are in Single Server environment. Our BPC 5.1 build was 5.0.486 which was required to install the SP3. After the installation it is 5.0.502
We are getting the error below when we are trying to change the appliction sets from from the main page.
Any help to resolve the issue is appreciated
Server Error in '/OSoft' Application. Invalid object name 'dbo.uf_GetRateSrcMember'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: Invalid object name 'dbo.uf_GetRateSrcMember'.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[Exception: Invalid object name 'dbo.uf_GetRateSrcMember'.]
Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +905
OSoft.Consumers.ZFP.WebBase.PageBase.GetCurrentView() +518
OSoft.Consumers.ZFP.WebBase.PageBase.get_CurrentView(String strDimension) +43
ASP.Landing_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) +95
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1926
Really looking forward for answers.
I would really really really appreciate any help
ThanksKaji,
I had the same problem. Here is the solution:
Dear customer,
This issue looks similar to a previously reported bug.
In general there is the possibility that some service/process
remained in a bad status and this can be fixed by restarting the server
But could you please also check, whether this description fits
to your scenario:
This issue occurred because when there are no secured dimensions
in an appset,
The modified application process remove the user function
which is used for checking secured dimension.
In case there is no secured dimension in the appset the
problem occurres.
This issue looks similar to a previously reported bug.
In general there is the possibility that some service/process
remained in a bad status and this can be fixed by restarting the server
But could you please also check, whether this description fits
to your scenario:
This issue occurred because when there are no secured dimensions
in an appset,
The modified application process remove the user function
which is used for checking secured dimension.
In case there is no secured dimension in the appset the
problem occurres.
When modify application is run , the user function has been removed.
A workaround is this:
if you make Entity and RateSrc as secured dimension,
the user function will be made in the appset again.
Then you can change the user function as other name in database
by renaming. After finished the rename,
you can change the dimension as unsecured dimension like current.
Then, you have to replace the user function name
as original function name.
Because the user function name is dependent on dimension name.
If you can#t connect BPC Admin due to web page error,
you have to execute the EverestAdmin.exe file
in "C:\Program Files\BPC"
Hope it solves the prob...
Nic -
Invalid Object Name When Executing from Report Manager
I ran some code to create a modified view of ExecutionLog3 on a SQL Server 2012 instance. The ReportServer and ReportServerTempDB were transferred from a 2005 instance and are still on that compatibility level. After creating the new view, I
created a report in SSDT and it runs fine. I deployed the dataset followed by the report. I went to Report Manager to test it and the report fails with the following:
An error has occurred during report processing. (rsProcessingAborted)
The execution failed for the shared data set
'ExecutionLog'. (rsDataSetExecutionError)
Query execution failed for dataset ''. (rsErrorExecutingCommand)
Invalid object name 'ExecutionLog3_Modified'.
The code for the view is below and it came from MSSQLTips. Why does the report run fine from SSDT and fail in Report Manager?
USE [ReportServer]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE VIEW [dbo].[ExecutionLog3_Modified]
AS
SELECT
EL.InstanceName,
COALESCE(C.Path, 'Unknown') AS ItemPath,
EL.UserName,
EL.ExecutionId,
CASE(EL.RequestType)
WHEN 0 THEN 'Interactive'
WHEN 1 THEN 'Subscription'
WHEN 2 THEN 'Refresh Cache'
ELSE 'Unknown'
END AS RequestType,
-- SubscriptionId,
EL.Format,
Parameters,
CASE(EL.ReportAction)
WHEN 1 THEN 'Render'
WHEN 2 THEN 'BookmarkNavigation'
WHEN 3 THEN 'DocumentMapNavigation'
WHEN 4 THEN 'DrillThrough'
WHEN 5 THEN 'FindString'
WHEN 6 THEN 'GetDocumentMap'
WHEN 7 THEN 'Toggle'
WHEN 8 THEN 'Sort'
WHEN 9 THEN 'Execute'
ELSE 'Unknown'
END AS ItemAction,
EL.TimeStart,
YEAR(EL.TimeStart) AS Start_Year,
MONTH(EL.TimeStart) AS Start_Month,
DATENAME(MONTH,EL.TimeStart) AS Start_Month_Name,
DATENAME(DW,EL.TimeStart) AS Start_Day_Of_Week,
DATEPART(WEEKDAY,EL.TimeStart) AS Start_Day_Number_of_Week,
EL.TimeEnd,
EL.TimeDataRetrieval,
EL.TimeProcessing,
EL.TimeRendering,
CASE(EL.Source)
WHEN 1 THEN 'Live'
WHEN 2 THEN 'Cache'
WHEN 3 THEN 'Snapshot'
WHEN 4 THEN 'History'
WHEN 5 THEN 'AdHoc'
WHEN 6 THEN 'Session'
WHEN 7 THEN 'Rdce'
ELSE 'Unknown'
END AS Source,
EL.Status,
EL.ByteCount,
EL.[RowCount],
EL.AdditionalInfo,
C.Name,
C.CreatedByID,
C.ModifiedByID,
C.Description,
C.CreationDate,
C.ModifiedDate,
CASE
WHEN C.TYPE=1 THEN 'Folder'
WHEN C.TYPE=2 THEN 'Report'
WHEN C.TYPE=3 THEN 'XML'
WHEN C.TYPE=4 THEN 'Linked Report'
WHEN C.TYPE=5 THEN 'Data Source'
WHEN C.TYPE=6 THEN 'Model'
WHEN C.TYPE=8 THEN 'Shared Dataset'
WHEN C.TYPE=9 THEN 'Report Part'
END AS Type_Description
FROM
ExecutionLogStorage AS EL
LEFT OUTER JOIN Catalog AS C ON (EL.ReportID = C.ItemID)
GO
Lee MarkumHi Lee,
According to your description, you can't process the dataset when viewing the report on report server. Right?
In this scenario, as you can see the dataset name in error message is empty, and it says "Invalid Object Name". Because you have already created a view in your database. When you run this report again, this query be executed again so that you can
not create another view with same name. So you just need to query the view directly when creating dataset.
Select * from ExecutionLog3_Modify
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Hello,
When trying to perform an Upgrade of a BW3.0B to BW3.5, Prepare Phase, an error occurs in script MSSCONCHECK.SQL.
- Msg 208, Level 16, State 1, Server SRVDW, Line 1
Invalid object name 'SVERS'.
Can anyone help?
Thank you.
Regards,
PTI have similar eror message during upgrade from ECC 5.0 to ECC 6.0 on MS SQL 2005. The output from my sapup is as shown below:
>> 07:39:34 PREPARE: START OF PHASE INITPUT_PRE
Supply the following information:
Confirm the name of your SAP system: [AWD]
SAP SYSTEM ID =
The hostname of your central SAP server: [SERVER01]
SAP SYSTEM HOST =
Enter the SAP instance number: [02]
INSTANCE NUMBER =
The system identifier of your database: [AWD]
DATABASE ID =
The hostname of your database server: [SERVER01]
DATABASE HOST =
Executing script MSSCONCHECK ...
MSSCONCHECK: Connection check failed for the user specified
SAPup message
SAPup> Errors were found in the logfile MSSCONCHECK.LOG
after execution of the script MSSCONCHECK.SQL.
SAPup> SAPup cannot proceed until these errors are fixed.
Please, examine MSSCONCHECK.LOG, fix reported errors and then call R3
gain
- "continue"
- "cancel"
Enter one of these options [continue] :=
SAPup message
SAPup> SQL-scripts must be executed by the NT user account SERVER01\awdadm.
Check your installation of the integrated security procedure
on host SERVER01 and make sure that a login for the NT user
SERVER01\awdadm exists with the following rules:
- user SERVER01\awdadm owns the role System Administrators
- user SERVER01\awdadm has the default database AWD
SAPup> Integrated security installed correctly?
- "no"
- "yes"
Enter one of these options [no] := yes
Executing script MSSCONCHECK ...
I'm currently running both Solution Manager 4.0 and mySAP ERP 2004 SR1 on the same box in Development environment.
Has anyone gotten a breakthrough on this error messages? Mode set to both SQL and Windows Authentication, can do selct * from SVERS for solution manager database but not for ECC 5.0.
Urgent!!!! -
Invalid object name for Next value from sequence using sqlserver 2012
Select SequenceName.nextVal into lint from dual ;
Invalid object name error message is coming when using sqlserver 2012
Please helpHello,
Create the sequence and a stored procedure which returns the sequence as follows:
CREATE SEQUENCE mySequence_tinyint AS tinyint
GO
CREATE PROCEDURE Central_CreateSequence
@NextID BIGINT OUTPUT
AS
BEGIN
SET NOCOUNT ON;
SELECT @NextID = NEXT VALUE FOR mySequence_tinyint;
END
GO
In PowerBuilder, run this script:
long ll = -10
DECLARE proc PROCEDURE FOR Central_CreateSequence @NextID = :ll OUTPUT;
EXECUTE proc;
FETCH proc INTO :ll;
CLOSE proc;
IF SQLCA.SQLcode <> 0 THEN
MessageBox("error", SQLCA.sqlerrtext)
END IF
MessageBox("", ll)
I know there can be other ways to return the next value of the sequence...
HTH
Jacob -
JBO-25005: Object name 1 for type Variable is invalid
Facing the error as below when clicking on messagedownload field on an OAF search page.
below are the properties set
ID : Attachment
Item Style : messageDownload
file MiIME type : text/HTML
Data Type : BLOB
ViewInstance : SerchReqVO1
ViewAttribute : FileName
File ViewAttribute : Filedata
Please let me know if any other properties are to be changed to prevent this error.
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidObjNameException: JBO-25005: Object name 1 for type Variable is invalid
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)Hi,
If the primary key of the table is checked as Key attribute by clicking Edit VO->Attributes->Primary key field
this issue can be prevented. -
Sender CC for MS SQL 2005 Driver error invalid object name
Hello people,
can some one help me with the following problem?
I'm trying to implement a JDBC to IDoc XI/PI scenario with PI 7.1.
In RWB CC monitor i'm getting the following error : "Database-level error reported by JDBC driver while executing statement 'SELECT * FROM SAP_SALES_TRANS_PAYMENTS WHERE TRANSFERRED_FLAG='0''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'SAP_SALES_TRANS_PAYMENTS'.'. For details, contact your database server vendor".
Communication channel configuration:
JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
Connection: jdbc:sqlserver://<IP>:1433;databaseName=<DB Name>
Query SQL Statement is : "SELECT * FROM SAP_SALES_TRANS_PAYMENTS WHERE TRANSFERRED_FLAG='0'"
Update SQL Statement: "UPDATE SAP_SALES_TRANS_PAYMENTS SET TRANSFERRED_FLAG='1' WHERE TRANSFERRED_FLAG='0'"
The name of the database is 'SAP_SALES_TRANS_PAYMENTS', is checked. Are the table name and/or table fields names key sensitive?
The MT definition is identical with the data base table.
Thanks StefanosHello,
this issue is solved now.
The problem was in the name of the database table. The Database was created for more then one
company codes (by an other partner company ) and the full/right name in the query is
SELECT * FROM dbo.<company_code>$SAP_SALES_TRANS_PAYMENTS WHERE TRANSFERRED_FLAG='0'
Best regards
Stefanos
Maybe you are looking for
-
had to replace motherboard, before i didn't have to scroll over to sign in to my account. Just updated firefox and it seems wider than my screen tried adjusting the size of the web page but that didn't really work all that well, open for suggestions
-
How do you return the number of Rows in a ResultSet??
How do you return the number of Rows in a ResultSet? It's easy enough to do in the SQL query using COUNT(*) but surely JDBC provides a method to return the number of rows. The ResultSetMetaData interface provides a method for counting the number of c
-
XDP - open PDF with #toolbar=0 problem in IE
Hi When opening PDF's using a correctly constructed XDP I specify at the end: <pdf href="some.pdf" xmlns=http://ns.adobe.com/xdp/pdf/ /> Everything works correctly in all browsers. I would like to hide the toolbars so when I change the href to: <pdf
-
Unable to Upgrade Flash Player On Mac Pro Power G5 Os X V. 10.5.8
Hi After several try i m unable to migrate flash player on Mac Pro power G5 I m getting the following error Devices With Power PC processor are no longer supported...... Get Flash Player For Power Pc 1- i tried to uninstall and reinstall the
-
User defined metrics for alert log errors
I want to create UDM for getting the full description of alert log ORA - error to be reported via E-mail. Can somebody guide me or help me withe script which can be used to create this alert. Currently, We get the only the message of that error i