custom validator does not use the property
HelloI need a validator that validates the entries based on a search in a database. So I created a class that implements the validator. I also inject dao via the property in faces - config.xml, but I do not see the method is called, even if it's public. So I get a NullPointerException on the validate method. What I am doing wrong?
<>validator
my.customValidator < validator-id > < / validator id >
> class validator < org.company.jsf.validator.CustomValidator < / validator-class >
< property >
> property name < theDao < / property-name >
> class property < #{theDao} < / class property >
< / property >
< / validator >
Thank you
Dave
I expect 'property-class' classname real being with a complete package of your DAO. It is not a managed bean named "theDAO" JSF, so you can't inject. But why not just build in your support bean, I wonder?
If it's really a JSF managed bean somehow, you would inject it like this:
theDAO
#{theDAO}
So, using the value attribute.
Tags: Java
Similar Questions
-
11g ws client proxy and Stub does not recognize the property (policy)
Hello
I did a web service in 11g with a security policy and has been at wls and generate a proxy web service with java oracle.j2ee.ws.tools.wsa.Main - genProxy
When I try to add security in proxy ws client I had this error Stub does not recognize the property: weblogic.wsee.security.wss.CredentialProviderList
or this javax.xml.rpc.JAXRPCException error: Stub does not recognize the property: weblogic.wsee.security.bst.serverEncryptCert
Without policies, everything works and credProviders has valid values.
Thanks Edwin
Code of WS
@WebService
@Policy (uri = "policy:Wssp1.2-2007-Wss1.0-UsernameToken-Plain-X509-Basic256.xml")
public class CreditCheck2 {}
@WebMethod
public String echo (String s) {}
return s;
}
}
client proxy WS
private nl.ordina.ws.client.CreditCheck2 _port;
Public CreditCheck2PortClient() throws Exception {}
ServiceFactory factory = new ServiceFactoryImpl();
_port = ((nl.ordina.ws.client.CreditCheck2Service) factory.loadService (nl.ordina.ws.client.CreditCheck2Service.class)) .getCreditCheck2Port ();
}
/**
@param args
*/
Public Shared Sub main (String [] args) {}
try {}
nl.ordina.ws.client.CreditCheck2PortClient myPort = new nl.ordina.ws.client.CreditCheck2PortClient ();
System.out.println ("calling" + myPort.getEndpoint ());
String username = "weblogic";
String password = "weblogic";
String clientKeyStore = "d:/oc4jssl.jks";
String clientKeyStorePass = "Welcome";
String clientKeyAlias = "oc4jssl";
String clientKeyPass = "Welcome";
String serverCertFile = "d:/demoidentity.cer";
List CredProviders = new ArrayList();
X509Certificate serverCert = (X509Certificate), CertUtils.getCertificate (serverCertFile);
CredentialProvider cp = new ClientBSTCredentialProvider (clientKeyStore,
clientKeyStorePass,
clientKeyAlias,
clientKeyPass,
"JKS"
serverCert);
credProviders.add (cp);
CP = new ClientUNTCredentialProvider (username, password);
credProviders.add (cp);
Heel heel = myPort._port (heel);
stub._setProperty (WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);
stub._setProperty (StubPropertyBSTCredProv.SERVER_ENCRYPT_CERT, CertUtils.getCertificate (serverCertFile));
stub._setProperty (WSSecurityContext.TRUST_MANAGER,
new TrustManager() {}
{public boolean certificateCallback (X509Certificate [] string, int validateErr)
Returns true;
}
} );
Add your own code here
} catch (Exception ex) {}
ex.printStackTrace ();
}
}JDeveloper gives you the opportunity to select the type of proxy you want to generate.
You have found this exception because you try to use the heel on a proxy of JAX - WS.
You must either use a JAX - RPC proxy, if you want to use the same code
OR
If you want to use JAX - WS proxy, you must change your code for:
Import javax.xml.ws.BindingProvider;
:Card
rc = (port) .getRequestContext ((BindingProvider));
RC.put (WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);whenever you use something like:
stub._setProperty (WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credProviders);
Because your service is JAX - WS, I suggest you create JAX - WS only proxy and change your code and try.
In the case of JAX - WS, you don't need
Heel heel = myPort._port (heel); -
I have a dell studio with vista, I shot it today and the far right 1/4 of my screen has disappeared, its like everything kind of himself downplayed a little and does not use the entire screen. I didn't change anything or add programs. someone has an idea?
Hi musicwatkins
Did you the latest changes on the computer?You can check if changing the resolution of the screen helps you solve the problem. See below for links-
http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution
http://Windows.Microsoft.com/en-us/Windows-Vista/getting-the-best-display-on-your-monitor
You can also check if the setting parameters of monitor, referring to the manual of the monitor will help you.
I hope this helps.
-
Customer service does not meet the United States relative to the Compact Z3 repair
Hello and happy new year! I was wondering if anyone has experience with sending in a Compact Z3 for repair/replacement under warranty in the United States. I live chatted and called several times and I can't get any information on the status of my repair or when I get my phone back. I wonder if you guys could get some advice on what to do next.
My Z3 Compact suddenly started having battery problems (first similar to this: http://talk.sonymobile.com/t5/Xperia-Z3-Compact/Battery-levels-jumping-randomly-and-not-charging/td-... and then it stuck at 50% and no loading or unloading). My phone is under warranty until 2017, so I called, got an RMA number and sent him into their repair center in Laredo, Texas. He arrived on 12/14, and here's the problem: no one can give me an update as to what is happening. Many cats live and e-mail gave no information. After a week, I called their customer service line and they said he was being sent to a Manager, who was supposed to send me an email in the next 24 to 48 hours, but didn't. After the second week, I called again, and it's the same thing (promised an email of a Manager, who I have not received).
I was told at the beginning that since my phone is an international model, they may have to order parts and could not give me an ETA, but they said that most of the repairs are completed within 14 working days. They had my phone for at least 10 working days now (and 2.5 weeks in total), and I really should hear a kind of update now. I'm trying to be patient because it's the holidays and I'm sure their technicians to repair a bit of time off the coast, but some communication would be the bare minimum of acceptable customer service. At the very least, if Sony does not include automatic updates, I should be able to get some info by calling, instead of this ridiculous evasive.
What else can I do to get information on the status of my claim?
I feel your pain. I had a similar lack of information when the screen back of my cracked Z3C randomly after 3 days of property. He was sent to Laredo. I never had an update... called at least twice to get an update and told me I would soon receive a response and how if yes or no the repair would be covered by the warranty.
Two weeks past, and all of a sudden I get a box from Sony with my phone repaired on the inside. No updates, no notification, no nothing.
TL, DR: expecting anything near decent service communication or client with this Sony repair center is little more dreaming.
We wish you the best of luck...
-Evan
-
Custom EventHandler does not update the reconciliation work in 11g r2
Hello world
I have three users of post process change custom eventhandlers.
These eventhandlers works entirely success when I change all attributes on change screen.
But these eventhandlers does not work after update of reconciliation (update succeeded).
Why update eventhandlers does not work after reconciliation?
Thank you.
Best regards.
Operations that use "Public BulkEventResult run (long arg0, long arg1, arg2 BulkOrchestration)"? --> Updates block as if you select more than 1 user in the advanced search and select the bulk edit options. Also the reconciliation events to use it even if it is a single user.
Operations that use "Public EventResult run (long processId, long eventId, orchestration of the Orchestration)"? --> Put attributes through the user interface when you save a user.
-Kevin
-
HypGetMemberInformation in VBA. Does not return the property values.
I tried to use HypGetMemberInformation in VBA to find the level of a member of the grid.
I continued to get zeros even for members who are not level 0 ones.
I went to test HypGetMemberInformation a test connected grid that has members in the first column (column A).
I packed a test routine I ran after you connect the grid manually:
Void TestMemberLevelFind()
Dim line As Integer
Dim MemberProperties Collection As
Dim vtMemberName As String
' Dim vtPropertyName As String
Dim vtPropertyValue As Long
Dim vtPropertyValueString As String
Dim ErrorCode as long
Dim ErrorMessage As String
Define MemberProperties = new Collection
MemberProperties.Add HYP_MI_NAME
MemberProperties.Add HYP_MI_DIM
MemberProperties.Add HYP_MI_LEVEL
MemberProperties.Add HYP_MI_GENERATION
MemberProperties.Add HYP_MI_PARENT_MEMBER_NAME
MemberProperties.Add HYP_MI_CHILD_MEMBER_NAME
MemberProperties.Add HYP_MI_PREVIOUS_MEMBER_NAME
MemberProperties.Add HYP_MI_NEXT_MEMBER_NAME
MemberProperties.Add HYP_MI_CONSOLIDATION
MemberProperties.Add HYP_MI_IS_TWO_PASS_CAL_MEMBER
MemberProperties.Add HYP_MI_IS_EXPENSE_MEMBER
MemberProperties.Add HYP_MI_CURRENCY_CONVERSION_TYPE
MemberProperties.Add HYP_MI_CURRENCY_CATEGORY
MemberProperties.Add HYP_MI_TIME_BALANCE_OPTION
MemberProperties.Add HYP_MI_TIME_BALANCE_SKIP_OPTION
MemberProperties.Add HYP_MI_SHARE_OPTION
MemberProperties.Add HYP_MI_STORAGE_CATEGORY
MemberProperties.Add HYP_MI_CHILD_COUNT
MemberProperties.Add HYP_MI_ATTRIBUTED
MemberProperties.Add HYP_MI_RELATIONAL_DESCENDANT_PRESENT
MemberProperties.Add HYP_MI_RELATIONAL_PARTITION_ENABLED
MemberProperties.Add HYP_MI_DEFAULT_ALIAS
MemberProperties.Add HYP_MI_HIERARCHY_TYPE
MemberProperties.Add HYP_MI_DIM_SOLVE_ORDER
MemberProperties.Add HYP_MI_IS_DUPLICATE_NAME
MemberProperties.Add HYP_MI_UNIQUE_NAME
MemberProperties.Add HYP_MI_ORIGINAL_MEMBER
MemberProperties.Add HYP_MI_IS_FLOW_TYPE
MemberProperties.Add HYP_MI_AGGREGATE_LEVEL
MemberProperties.Add HYP_MI_FORMAT_STRING
MemberProperties.Add HYP_MI_ATTRIBUTE_DIMENSIONS
MemberProperties.Add HYP_MI_ATTRIBUTE_MEMBERS
MemberProperties.Add HYP_MI_ATTRIBUTE_TYPES
MemberProperties.Add HYP_MI_ALIAS_NAMES
MemberProperties.Add HYP_MI_ALIAS_TABLES
MemberProperties.Add HYP_MI_FORMULA
MemberProperties.Add HYP_MI_COMMENT
MemberProperties.Add HYP_MI_LAST_FORMULA
MemberProperties.Add HYP_MI_UDAS
' For line 8 to 83 =
For row = 8-10
vtMemberName = ThisWorkbook.ActiveSheet.Cells (rank 1). Value
For each vtPropertyName in MemberProperties
Code of error = HypGetMemberInformation(ThisWorkbook.ActiveSheet.Name, vtMemberName, vtPropertyName, vtPropertyValue, vtPropertyValueString)
If ErrorCode = 0 Then
MsgBox _
"The worksheet name:" & ThisWorkbook.ActiveSheet.Name & Chr (13) & _ "."
"Member name:" & vtMemberName & Chr (13) & _ "."
"Property type:" & vtPropertyName & Chr (13) & _ "."
"Property value:" & vtPropertyValue & Chr (13) & _ "."
"The property string:" & vtPropertyValueString ".
On the other
ErrorMessage = GetReturnCodeMessage (ErrorCode)
MsgBox "SmartView API function HypGetMemberInformation returned an error message:" & Chr (13) & ErrorMessage, vbOKOnly, PrivateConnectionDescription
End If
Next
On the next row
End Sub
The routine produces no result expected.
Only of zeros.
For all properties and all members.
There must be something fundamentally wrong with my code.
The function arguments are correct with regard to the name of journal, the member name and property name.
Value of the property is always 0 and the property value string is always empty.
Two property value arguments are expected to be passed by reference, so I should get some useful information.
No error is generated so that the return error code is always 0.
I guess that some prerequisite so that this function is not satisfied, but what is?
Concerning
Problem solved.
The cause of all evil, as ususal, type mismatch...
Arguments by reference:
vtPropertyValue, vtPropertyValueString
must be declared as variants but returned it to the values are ARRAYS...
After the function call, to loop through these berries extract the real info returned!
In the case of unique value of parameters such as the level of Member just use index 0, for example:
vtPropertyValue (0)
The corrected code is less with parts modified trhe parked in Green:
Void TestMemberLevelFind()
Dim line As Integer
Dim index As Integer
Dim MemberProperties Collection As
Dim vtMemberName As String
Dim vtPropertyName As Variant
Dim vtPropertyValue As Variant
Dim vtPropertyValueString As Variant
Dim ErrorCode as long
Dim ErrorMessage As String
Define MemberProperties = new Collection
MemberProperties.Add HYP_MI_NAME
MemberProperties.Add HYP_MI_DIM
MemberProperties.Add HYP_MI_LEVEL
MemberProperties.Add HYP_MI_GENERATION
MemberProperties.Add HYP_MI_PARENT_MEMBER_NAME
MemberProperties.Add HYP_MI_CHILD_MEMBER_NAME
MemberProperties.Add HYP_MI_PREVIOUS_MEMBER_NAME
MemberProperties.Add HYP_MI_NEXT_MEMBER_NAME
MemberProperties.Add HYP_MI_CONSOLIDATION
MemberProperties.Add HYP_MI_IS_TWO_PASS_CAL_MEMBER
MemberProperties.Add HYP_MI_IS_EXPENSE_MEMBER
MemberProperties.Add HYP_MI_CURRENCY_CONVERSION_TYPE
MemberProperties.Add HYP_MI_CURRENCY_CATEGORY
MemberProperties.Add HYP_MI_TIME_BALANCE_OPTION
MemberProperties.Add HYP_MI_TIME_BALANCE_SKIP_OPTION
MemberProperties.Add HYP_MI_SHARE_OPTION
MemberProperties.Add HYP_MI_STORAGE_CATEGORY
MemberProperties.Add HYP_MI_CHILD_COUNT
MemberProperties.Add HYP_MI_ATTRIBUTED
MemberProperties.Add HYP_MI_RELATIONAL_DESCENDANT_PRESENT
MemberProperties.Add HYP_MI_RELATIONAL_PARTITION_ENABLED
MemberProperties.Add HYP_MI_DEFAULT_ALIAS
MemberProperties.Add HYP_MI_HIERARCHY_TYPE
MemberProperties.Add HYP_MI_DIM_SOLVE_ORDER
MemberProperties.Add HYP_MI_IS_DUPLICATE_NAME
MemberProperties.Add HYP_MI_UNIQUE_NAME
MemberProperties.Add HYP_MI_ORIGINAL_MEMBER
MemberProperties.Add HYP_MI_IS_FLOW_TYPE
MemberProperties.Add HYP_MI_AGGREGATE_LEVEL
MemberProperties.Add HYP_MI_FORMAT_STRING
MemberProperties.Add HYP_MI_ATTRIBUTE_DIMENSIONS
MemberProperties.Add HYP_MI_ATTRIBUTE_MEMBERS
MemberProperties.Add HYP_MI_ATTRIBUTE_TYPES
MemberProperties.Add HYP_MI_ALIAS_NAMES
MemberProperties.Add HYP_MI_ALIAS_TABLES
MemberProperties.Add HYP_MI_FORMULA
MemberProperties.Add HYP_MI_COMMENT
MemberProperties.Add HYP_MI_LAST_FORMULA
MemberProperties.Add HYP_MI_UDAS
' For line 8 to 83 =
For row = 8-10
vtMemberName = ThisWorkbook.ActiveSheet.Cells (rank 1). Value
For each vtPropertyName in MemberProperties
Code of error = HypGetMemberInformation (ThisWorkbook.ActiveSheet.Name, vtMemberName, vtPropertyName, vtPropertyValue, vtPropertyValueString)
If ErrorCode = 0 Then
If IsArray (vtPropertyValue) then
For index = LBound (vtPropertyValue) to UBound (vtPropertyValue)
MsgBox _
"The sheet name:" & ThisWorkbook.ActiveSheet.Name & Chr (13) & _ "."
"Member name:" & vtMemberName & Chr (13) & _ "."
"Property type:" & vtPropertyName & Chr (13) & _ "."
"Property" & index & "value table:" & vtPropertyValue (index) & Chr (13) & _
"Property" & index & "string array:" & vtPropertyValueString (index)
Next
On the other
MsgBox _
"The sheet name:" & ThisWorkbook.ActiveSheet.Name & Chr (13) & _ "."
"Member name:" & vtMemberName & Chr (13) & _ "."
"Property type:" & vtPropertyName & Chr (13) & _ "."
"Property value:" & vtPropertyValue & Chr (13) & _ "
"The property string:"& vtPropertyValueString"
End If
On the other
ErrorMessage = GetReturnCodeMessage (ErrorCode)
MsgBox "SmartView API function HypGetMemberInformation returned an error message:" & Chr (13) & ErrorMessage, vbOKOnly, PrivateConnectionDescription
End If
Next
On the next row
End Sub
Fortunately we can someone find this useful.
I wish documentation Oracle was a little clearer with more extensive code examples.
Gustaw
-
I have problem with a query as follows. It does not index when I keep a function on the left side of the comparison in which the condition.
But when I remove the function is using the index.
With BLC AS Name Null? Type ----------------------------------------- -------- ---------------------------- ID NOT NULL NUMBER MASTER_VALUE NOT NULL NUMBER(8) DESC_TEXT_ID NUMBER GVM VARCHAR2(50) MASTER_LOOKUP_ID NOT NULL NUMBER WORK_SECTION_ID NUMBER AUDIT_TRAIL_NO NUMBER SQL> SELECT COUNT(*) FROM BLC; COUNT(*) ---------- 7769 SQL> SELECT COUNT(DISTINCT(GVM)) "distinct" FROM BLC; distinct ---------- 1350 SQL> SELECT COUNT(*) "nulls" FROM BLC WHERE GVM IS NULL; nulls ---------- 6419 SQL> SELECT COLUMN_NAME,INDEX_NAME FROM DBA_IND_COLUMNS WHERE TABLE_NAME='BLC'; COLUMN_NAME INDEX_NAME ---------------------------------------- ------------------------------ MASTER_LOOKUP_ID LKPCDE_MSTLKP_FK_I WORK_SECTION_ID LKPCDE_WRKSEC_FK_I GVM LKPCDE_UK MASTER_VALUE LKPCDE_MASTERID_VALUE_UK MASTER_LOOKUP_ID LKPCDE_MASTERID_VALUE_UK ID LKPCDE_PK SQL> EXPLAIN PLAN FOR SELECT ID FROM BLC WHERE UPPER ( GVM) = 'MAIN_ORG'; Explained. SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY); PLAN_TABLE_OUTPUT -------------------------------------------------------------------------------- Plan hash value: 3196655606 -------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time| -------------------------------------------------------------------------------------- PLAN_TABLE_OUTPUT -------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 78 | 624 | 18 (0)| 00:00:01 | |* 1 | TABLE ACCESS FULL| BLC | 78 | 624 | 18 (0)| 00:00:01 | -------------------------------------------------------------------------------------- Predicate Information (identified by operation id): PLAN_TABLE_OUTPUT ----------------------------------------------------------------------------------------------------------------------------------- 1 - filter(UPPER("GVM")='MAIN_ORG') 13 rows selected. SQL> EXPLAIN PLAN FOR SELECT ID FROM BLC WHERE GVM = 'MAIN_ORG'; Explained. SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY); PLAN_TABLE_OUTPUT -------------------------------------------------------------------------------- Plan hash value: 1620245961 -------------------------------------------------------------------------------- ---------------- | Id | Operation | Name | Rows | Bytes | Cost (% CPU)| Time | -------------------------------------------------------------------------------- ---------------- PLAN_TABLE_OUTPUT -------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 1 | 8 | 2 (0)| 00:00:01 | | 1 | TABLE ACCESS BY INDEX ROWID| BLC | 1 | 8 | 2 (0)| 00:00:01 | |* 2 | INDEX UNIQUE SCAN | LKPCDE_UK | 1 | | 1 (0)| 00:00:01 | -------------------------------------------------------------------------------- ---------------- PLAN_TABLE_OUTPUT -------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 2 - access("GVM"='MAIN_ORG') 14 rows selected. SQL> EXPLAIN PLAN FOR SELECT /* INDEX(LKPCDE_UK) */ ID FROM BLC WHE RE UPPER ( GVM ) = 'MAIN_ORG'; Explained. SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY); PLAN_TABLE_OUTPUT -------------------------------------------------------------------------------- Plan hash value: 3196655606 -------------------------------------------------------------------------------- ------ | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | -------------------------------------------------------------------------------- ------ PLAN_TABLE_OUTPUT -------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 78 | 624 | 18 (0)| 00:0 0:01 | |* 1 | TABLE ACCESS FULL| BLC | 78 | 624 | 18 (0)| 00:0 0:01 | -------------------------------------------------------------------------------- ------ Predicate Information (identified by operation id): PLAN_TABLE_OUTPUT -------------------------------------------------------------------------------- --------------------------------------------------- 1 - filter(UPPER("GVM")='MAIN_ORG') 13 rows selected.
Please let me know how I can force it to use an index as it is causing the CPU usage.
I can't change the query in the application it is used in several places.
Thank you
And/or read: ORACLE-BASE - Oracle function index
-
Why Adobe does not use the codec x264vfw open source for things like. AVI?
Well we all know who wants to work with the x264vfw that does work in Premiere Elements.
But I think Adobe might have to operate with the open source x264vfw or AVC-Intra coding Manager.
I'm still wonder as to why it would work when I re - encode with another program to h264 in MP4 but again?
Adobe goes really easy and messing with us. because they say there is support for h264 but only for MP4 and the other...
Why they do not add. Support AVI, which goes to support of Adobe because I can't enter the livechat... because it is only of the week...
This Codec the H264, X 264 and STROKE-1 are the most used codecs today, in my opinion, so I don't know why they don't sit their dev on it.
It does not work on their $ 600 Application named Premiere Pro is something I do not understand...
For me its amazing if I'm honest.
Now, I want to know why adobe is such a service at this point.
They all scream it, but Adobe does nothing.
If someone knows a solution without re-encoding or FFMPEG, because it works well with my Variable rate in Premiere Elements let me know.
Also, I want a response from Adobe, why they do nothing.
I tried to put in plugins x264vfw .dll file or the folder, but the problem is not resolved.
I sit to keep quiet for a while behind that and see how much son he existing... and it is more frustrating.
ADOBE, it's time to do something!
Sergadra
As said, Adobe is the only one who can answer the type of questions you may have. And he does not here.
Out of curiosity, I ask "have you contacted other manufacturers of video editing software and have been able to get the.
Why answers to its marketing and strategy of the function defined for its current versions or future?
Adobe feature/bug report form and a wait and see seems to be your opportunity of Adobe in this respect. So, you wait and see
If your suggestion is coming in the next version. I'm not criticizing, just reporting what seems to be the 'what. '
RTA
-
Setting the query: optimizer does not use the index function
Hello
I have a request written by a developer that I can't change.
It is here that the condition:
OÙ ( UPPER(TRIM (CODFSC)) = UPPER (TRIM ( '01923980500'))
OR UPPER(TRIM (CODUIC)) = UPPER (TRIM ( '01923980500')))
There is an index on CODFSC and on CODUIC1.
the plan is:
Plan
INSTRUCTION SELECT ALL_ROWS cost: 9 194 bytes: 3 206 502 cardinality: 15 054
ACCESS FULL ANAGRAFICA cost TABLE TABLE 1: 9 194 bytes: 3 206 502 cardinality: 15 054
So I created two new index on SUPERIOR (TRIM ()CODFSC)) and SUPERIOR (TRIM ()CODUIC)) but the plan
complete analysis of STIL.
Modifing where condition in:
OÙ ( CODFSC = UPPER (TRIM ( '01923980500'))
OR CODUIC = UPPER (TRIM ( '01923980500')))
the plan is:
SELECT STATEMENT ALL_ROWSCost: 157 bytes: 426 cardinality: 2
CONCATENATION OF 5
TABLE ACCESS BY INDEX ROWID ANAGRAFICA cost TABLE 2: cardinality of 5 bytes: 213: 1
1 INDEX RANGE SCAN INDEX ANAGRAFICA_IDX01 cost: cardinality 3: 1
TABLE ACCESS BY INDEX ROWID ANAGRAFICA cost TABLE 4: cardinality 152 bytes: 213: 1
3 INDEX SKIP SCAN INDEX ANAGRAFICA_IDX02 cost: cardinality 1: 151
Why optimizer not use my funct index?
Thank you.
Franck,
I always forget that the default value for the GOLD expansion depends on a path indexed for each branch.
2 in your use of or_predicates (2) depends on the position of complex predicate which must be expanded. If you change the order of predicate 'State = 0' to display AFTER the complex predicate, you must change the indicator of "or_predicates (1).
Outside of the current state of undocumented indicator, it also introduces the disturbing thought that, for a more complex query, a change in the transformation may result in another set of query blocks generated with a different ranking of the predicates. Yet another case to ensure that if you suggest anything suggest you (or create a SQL database).
Concerning
Jonathan Lewis
-
Photoshop does not use the value amount of ram. Stuck at 6 GB
Hey guys, recently started having issues with photoshop do not receive the fixed amount of ram needed. I have it set to use 24 GB of Ram (I have 32 GB) tried a reset, tried to reset back to the factory, then put it back, nothing. The strange thing is that if I put it to use only 1 GB of ram, it is still idling to 6 GB. Advice on how to approach this would be greatly appreciated I during the execution of projects that require a lot of attention.
Thank you.
Mac or Win?
If you give complete and detailed information on your configuration and the matter in dispute, such as your platform (Mac or Win), exact versions of your operating system, Photoshop and bridge, specification of the machine, what troubleshooting steps you have taken so far, what you receive error messages if problems with opening files raw as the exact camera brand and model that generated the , etc, someone may be able to help.
Read this FAQ to get advice on how to ask your questions correctly to get faster and better answers:
http://forums.Adobe.com/thread/419981?TSTART=0
Thank you!
-
Performance problem on the SQL query that does not use the primary key index
Hello!
I have some performance issues on a single SQL query (Oracle 10 g).
I could solve the problem by using the INDEX indicator, but I would like to know WHY this is happening.
* Tables *.
create table jobs)
ID number (5) not null,
name varchar2 (100),
primary key constraint Job_PK (id)
)
/
-Record count: 298
create table Comp)
integer ID not null,
name varchar2 (100),
primary key constraint Comp_PK (id)
)
/
-Record count: 193
-Relation m: n
create table JobComp)
integer ID not null,
id_job integer not null,
id_comp integer not null,
primary key constraint JobComp_PK (id),
unique key constraint JobComp_UK (id_job, id_comp),
Constraint JobComp_FK_Job foreign key (id_job) refers to Job (id),
Constraint JobComp_FK_Comp foreign key (id_comp) makes reference Comp (id)
)
/
create index JobComp_IX_Comp on JobComp (Cod_Comp)
/
create index JobComp_IX_Job on JobComp (Cod_Job)
/
-Record count: 6431
* Ask *.
When I run this query, the execution plan shows the index using (JobComp_PK and JobComp_IX_Comp).
No problem.
Select JobComp.*
of JobComp
Join jobs
on Job.id = JobComp.id_job
where JobComp.id_comp = 134
/
-runs in 0.20 sec
But when I add the field 'name' of the work table the plan uses full access table to the table of work
Select JobComp.*, Job.name
of JobComp
Join jobs
on Job.id = JobComp.id_job
where JobComp.id_comp = 134
/
-runs in the 2.70 dry
With the help of the index
Select / * + INDEX (Job Job_PK) * /.
JobComp.*, Job.name
of JobComp
Join jobs
on Job.id = JobComp.id_job
where JobComp.id_comp = 134
/
-runs in 0.20 sec
* Doubt *.
This behavior is correct?
PS. : I tried to recalculate the statistics, but nothing changes:
analyze the job calculation table statistics.
/
change the statistical calculation of index Job_PK reconstruction;
/
Start
dbms_utility.analyze_schema (sys_context ('userenv', 'current_schema'), 'CALCULATE');
end;
/
[of]
Gustavo EhrhardtGus.EHR wrote:
Hello.
I'm sorry for the plan unformatted.
The execution time of the querys "without field name' and 'with the field name with suspicion" are equal.
He has no problem caching, because I get the plans of the sequence different from the querys and repeated the performance. The result is always the same.I don't think that there is no problem with oracle crossing LOOP IMBRIQUEE to the HASH JOIN when you include the field name and this should be the expected behavior. But it seems that your WORKING table has a degree of parallelism set against what is causing the query to run in parallel (as JOB table is now available with full table scan, instead of indexed access earlier). It could be that the parallel execution is contributor to extra Runtime.
(a) do you know why the degree of parallelism on the WORK table has been defined? Do you need it?You can see if the following query provides a better response time?
select /*+ NOPARALLEL(JOB) */ JobComp.*, Job.Name from JobComp join Job on Job.id = JobComp.id_job where JobComp.id_comp = 134
-
1.5.4 - SQL-spreadsheet SQL-Developer does not use the owner of the Table
In older versions of the sql developer, you can remove a table in the spreadsheet and was built a select query. With the new version 1.5.4 - owner of the table is ' % s ' and you must inform the owner of the table or the query does not work with tables of other users.
Is this a bug or is there the possibility to change the settings to delete tables in the SQL-worksheet with the owners of the table.You're DND from the node of the Table under the node of the other user? If so, I'm able to reproduce the problem you're talking about. Otherwise I still not got you problem clearly.
-
Why print does not use the default printer?
I have two main printers to use at home and whenever I print a web page, Firefox will automatically print using the default printer. If I select the default printer from the drop-down list, it works very well. I wouldn't select the printer by default every time I want to print.
Try of the reset described here for print.print_printer preference:
http://KB.mozillazine.org/Problems_printing_web_pages#Reset_printer -
Premiere Pro does not use the power of the nucleus for the rendering of chronology
I had PremierePro CS5.5 and i7 920 and nvidia GTX 295. When I edit my images (cineform) everything is fine because I use CUDA boost, but when I try to restore the timeline I have seen on my CPU and GPU that rendered monitor uses maybe about 10% of the power of all hearts (8 cores). How to use the full power of the carrots when I went to my calendar?
Project > project settings > general
-
My old macbook was cleared and taken off of me to the apple store in . I have received a new macbook and have since reinstalled Adobe CS6 when I tried the product license, serial number is not valid. How can I disable the old macbook if I did more access?
Pleeeeease help me solve this problem, because I urgently need the software - and I'm panicking a bit. I am a student and I can't afford to pay for the software! Technology has been a pain without end for me...
In this case, you must contact Adobe customer service. they will definitely check with the serial number and help you accordingly.
Click on the button still need help and select the Chat option.
Maybe you are looking for
-
I could find Air play in my iPad serial number F7 * P84. Model number is A1432
MY model number of iPad A1432 with serial number F7 * P84. I couldn't find Air play in my iPad < personal information under the direction of the host >
-
How can I synchronize the notes of macbook or imac with iphone 4?
Somehow more notes are not synchronized. How can I synchronize the notes of macbook or imac with iphone 4? I found the help of apple, to login to icloud for my iphone. As soon as I visit icloud. com that I am advised to implement the icloud on the ph
-
Message 'Unfair Machine' on Satellite M60 during the recovery procedure
Hello. I would be very grateful if someone could offer me a solution or a Board with reinstalling Windows from the Toshiba product recovery DVD. After obtaining the motherboard on my Toshiba M60 (code PSM60A-0C7OOD) replaced I get the machine wrong m
-
Cannot get into my laptop. I forgot my password.
I can't get into my laptop. I forgot my password even though it gave me a clue. A pop a box happen when I press reset password. "This feature requires removable media, like a USB flash drive. Please connect a USB FlashDrive and then try again" Can so
-
I'm recovering Pavilion dm4-3170se of my daughter. My daughter did not a recovery disk and has no recent backup of its set of data files. Problems (and what I've done so far) are quite parallels to what the user indicated in this post incredibly deta