Question about WebLogic query syntax
Hello,
I am using WebLogic Server 6.0, which came as part of the WebGain
Studio SE 4.5 development kit. My question regards the Web Logic query
syntax, which I have not yet mastered.
I am trying to create a finder method that takes a single argument
of type "char" and finds all matching fields of the column "keyword" in
which the argument is the first letter of keyword. That is, if I were
only looking for fields beginning with the letter "M", I'd use:
(like keyword 'M%')
However, I'm looking for all fields beginning with the first letter
defined by the first argument. Sadly, this syntax:
(like keyword '$0%')
doesn't seem to be working. Any suggestions on the correct syntax?
If this is not the right forum for this question, could someone
suggest an appropriate newsgroup?
Thanks, Dave
962466 wrote:
Hi all,
I have an issue I need help with. I have created a script for an automated partition create on a monthly basis. It creates a monthly partition containing all dates within the respective month. The script is essentially this:
ALTER TABLE SCHEMA.TABLE
ADD PARTITION &&1
VALUES LESS THAN (to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
TABLESPACE LARGE_DATA94 COMPRESS;
I continually get this error message "ORA-14019: partition bound element must be one of: string, datetime or interval literal, number, or MAXVALUE"
The variable &&2 is passing in character data for the first of the month (E.G. '01-SEP-12'). &&1 passes character data for the month in MONYY (AUG12) I can run this query:
select
(to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
from dual;
With the output of 20120801. I cannot understand why I am able to run this partition create statement by hardcoding 20120901 but passing it in as a variable I receive the error. Note that I am not having problems with the &&1 variable. If anyone has any ideas please let me know. Thanks!I don't understand why you are taking a string, converting it to a date, then converting the date BACK TO a string ... then trying to convert that string to a number.
What is the data type of the partitioning key? It appears that it is a NUMBER, but actually represents a DATE. If so, that is a fundamentally flawed design.
Similar Messages
-
Hello,
I have a question about Weblogic and would like someone to help me with it.
I created a JSP and everything was doing fine while i was testing it in Tomcat. But once I started the tests with Weblogic, it seemed Weblo wasn't accepting a class that i used to call from my JPS ( a sax parser). Instead of using my parser, Weblogic was using his default SAXParser, what causes problems to my JSP. Trying to solve this, I changed the classpath in Weblo and putted the jar of my parser in the beginning of the classpath, but it still didn't work. Does anyone have an idea of why Weblogic don't accept my parser and uses its default parser instead?
Thanks in advance!!
M@Gnaveen.g wrote:
How to get the path of the domain, where my application is running, in a java code?
For example, my domain path is "D:\bea\user_projects\domains\production". How to get this path dynamically?Please start a new topic instead of resurrecting an old and non-related thread and hijacking others' threads. -
I have a question about weblogic RMI , how can I resolve it.Thank you
I have a question about the weblogic RMI .
I have a program.web services+weblogic RMI +Data Sources When I run the program in the console application.it is ok.But When i run it with the web services(it 'is mean Get some parameter and run the different program).it's fail.The Exception is
cannot assign instance of yype weblogic.rmi.RMIServices_1033_WLStub to field demo.RMIServer_1033_WLStub.stubinfo of type weblogic.rmi.internal.StubInfo in instance of demo.RMIEsrver_1033_WLStub
how to resolve .Thank you.Hi Charles,
Parental Controls has always had problems with https sites, no idea if it's fixed in 10.9.x or not.
When you setup your Mac it shouldv'e made an admin account, are you not running from that account, or did you somehow change it to a Managed account??? -
Some question about the query designer
hello, dear all,
I am a new comer of here, and I am intersting in BI, but I have no basic knowledge about it.
so I just want someone could give me some advice about it.
our boss need I do the developer about the query designer, I just have searched in this forum. but nothing founded for I am a new comer here,
I heard there are some training document of the query designer, could someone give me the URL, thanks.Hi,
Query desinger is used to develop a Query, Query can be created on following data targets
-Info Cube
-DSO
Virtual data target
-MultiCube
-Infoset
-Multiprovider
We have 5 section in query designer
- Infoprovider : where we select the data target , on which report to be created
-Filter : to restrict value at infoprovider level ( if you want data for year 2008, for example)
-Free Characterstic : this allow you to drill down
-Columns : char/keyfigs to be display in columns can be added here
Row: key/char to be display in Rows can be added here
gv me ur mailid i will let u have Bex manual,
I would suggest , if you have any IDES ( training ) system , where you can log in and then go to RRMX,
and try to create new query and add any data target ( which is already created ) and then drag and drop the char/key fig to the required section ,
save it and execute it .....
if you play arround and see the output , that would help u to understand how to work with query designer.
Hope this helps
Sukhi
Edited by: Sukhvidner Singh on Nov 4, 2009 5:36 PM -
Question about weblogic-cmp-rdbms-jar.xml
WinNT 4.0 SP6, Weblogic 5.10
In the online documents, it says:
---- digest from the online documents ----
The following example finds all the EJBs in a table. It uses the
sample finder method signature:
public Enumeration findAllAccounts()
throws FinderException, RemoteException
The sample <finder> stanza uses an empty WLQL string:
<finder>
<method-name>findAllAccounts</method-name>
<finder-query></finder-query>
</finder>
---- End of digest ----
However I implement it in my sample EJB, call findAllAccounts in the
client JSP file, get a SQLException about "null after where".
How can i solve this problem?
Thanks in advance,
Paul Shen
Email: [email protected]
WWW: shensr.8m.comIn the DOCTYPE declaration, replace "weblogic-cmp-rdbms-jar" with
"weblogic-rdbms-jar".
Bob
"Jason" <[email protected]> wrote in message
news:[email protected]..
>
When I deploy my bean I get the following error:
While reading META-INF/weblogic-cmp-rdbms-jar.xml, the EntityEJB's pers
istence layer failed to deploy. The error was:
Error in descriptor line 7: Document root element "weblogic-rdbms-jar",must ma
tch DOCTYPE root "weblogic-cmp-rdbms-jar".
atweblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:302)
>
>
Here is my deployment descriptor: (weblogic-cmp-rdbms-jar.xml)
<?xml version="1.0"?>
<!DOCTYPE weblogic-cmp-rdbms-jar PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN'
'http://www.bea.com/servers/wls600/dtd/weblogic-rdbms20-persistence-600.dtd'
>
>
<weblogic-rdbms-jar>
<weblogic-rdbms-bean>
<ejb-name>MessageEJB</ejb-name>
<data-source-name>ora8lplxPoolDataSource</data-source-name>
<table-name>Messages</table-name>
<field-map>
<cmp-field>msg_id</cmp-field>
<dbms-column>msg_id</dbms-column>
</field-map>
<field-map>
<cmp-field>msg</cmp-field>
<dbms-column>msg</dbms-column>
</field-map>
<field-map>
<cmp-field>msg_date</cmp-field>
<dbms-column>msg_date</dbms-column>
</field-map>
</weblogic-rdbms-bean>
</weblogic-rdbms-jar> -
Hi all ,
I have small question related to bad query .
what is the affecting happens to database if there is lot of bad query , i know the performance issue is there what's other things .like archive log generated database time , IO , TMP tablespace , please give me information about it's .
thanks & regards.user11969912 wrote:
I have small question related to bad query . What do you consider a bad query? A bad query can be the result of poorly written and illogical SQL. It can be due to not using bind variables. It can be due to a on-optimal execution plan generated by the CBO. It can be due to poorly designed code that uses what seems to be a "good query", badly and in the wrong way (using bulk collection when a native SQL alone suffices, or hitting the very same data multiple times, etc).
what is the affecting happens to database if there is lot of bad query Each of these have a different impact on the database. A "bad query" can cause a snapshot-too-old error. A deadlock error. A shared pool memory allocation error. Can cause no error and simple increase I/O. Or increase CPU. Etc.
It is a lot more complex than what you seem to think, given your question. -
Question about the Query Optimizer
For an Excercise during my database lecture the following table
CREATE TABLE TASKS
"ID" NUMBER NOT NULL ENABLE,
"START_DATE" DATE,
"END_DATE" DATE,
"DESCRIPTION" VARCHAR2(50 BYTE)
) ;with about 1.5 Million Entries were given. In addition there was the following Query:
SELECT START_DATE, COUNT(START_DATE) FROM TASKS
GROUP BY START_DATE
ORDER BY START_DATE;And the Index:
create index blub on Tasks (start_date asc);The main excercise was to speed up queries with indexes. Because all data is accessed the optimizer ignores the index and just did a full table scan.
Here the QEP:
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 9343 | 74744 | 3423 (6)| 00:00:42 |
| 1 | SORT GROUP BY | | 9343 | 74744 | 3423 (6)| 00:00:42 |
| 2 | TABLE ACCESS FULL| TASKS | 1981K| 15M| 3276 (2)| 00:00:40 |
----------------------------------------------------------------------------Then we tried to force him to do the index with this query:
ALTER SESSION SET OPTIMIZER_MODE = FIRST_ROWS_1;
SELECT /* + INDEX (TASKS BLUB) */ START_DATE, COUNT(START_DATE) FROM TASKS
GROUP BY START_DATE
ORDER BY START_DATE;but again it ignored the index. The optimizer guide states clearly, that each time you access all data from a table it has to do a full scan.
So we tricked him in doing a fast index scan with this query:
create or replace function bla
return date deterministic is
ret date;
begin
select MIN(start_date) into ret from Tasks;
return ret;
end bla;
ALTER SESSION SET OPTIMIZER_MODE = FIRST_ROWS_1;
SELECT /* + INDEX (TASKS BLUB) */ START_DATE, COUNT(START_DATE) FROM TASKS
where start_date >= bla
GROUP BY START_DATE
ORDER BY START_DATE; now we got the following QEP:
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 8 | 3 (0)| 00:00:01 |
| 1 | SORT GROUP BY NOSORT| | 1 | 8 | 3 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | BLUB | 1 | 8 | 3 (0)| 00:00:01 |
----------------------------------------------------------------------------- So it do use the index.
Now to my two questions:
1. Why should it always do a full scan (because the optimizer documentation answer is a little bit unsatisfying)?
2. After looking at the difference between the costs (FS: 3276 IR: 3) and the time the system needs (FS: 9,6 sec IR: 4,45) why does the optimizer refuse the clearly better plan?
Thanks in advance,
Kai Gödde
Edited by: Kai Gödde on May 30, 2011 6:54 PM
Edited by: Kai Gödde on May 30, 2011 6:56 PMJohn Spencer mentioned already the most important point (the role of NULL values) but here are some minor additions:
* with the additional NOT NULL condition Oracle will do an INDEX FAST FULL SCAN (a multiblock scan of the index segment, similar to a FULL TABLE SCAN)
* with the additional NOT NULL condition you don't need a hint and Oracle will choose the IFFS access
* if the index was a bitmap index you would not need a NOT NULL condition because Oracle stores NULL-values in bitmap indexes (but you should not define bitmap indexes in an OLTP system because they bring massive locking issues)
* if the index would contain a second value the additional NOT NULL condition would also be needless
CREATE TABLE TASKS
"ID" NUMBER NOT NULL ENABLE,
"START_DATE" DATE,
"END_DATE" DATE,
"DESCRIPTION" VARCHAR2(50 BYTE)
insert into tasks
select rownum
, case when mod(rownum, 5) = 0 then null else sysdate - round(rownum/100) end
, case when mod(rownum, 4) = 0 then null else sysdate - round(rownum/50) end
, lpad('*', 50 , '*')
from dual
connect by level <= 1500000;
exec dbms_stats.gather_table_stats(user, 'TASKS')
-- the IFFS access without a hint:
create index blub on Tasks (start_date);
SELECT START_DATE
, COUNT(START_DATE)
FROM TASKS
WHERE START_DATE IS NOT NULL
GROUP BY START_DATE
ORDER BY START_DATE;
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 15001 | 102K| 1871 (16)| 00:00:10 |
| 1 | SORT GROUP BY | | 15001 | 102K| 1871 (16)| 00:00:10 |
|* 2 | INDEX FAST FULL SCAN| BLUB | 1200K| 8203K| 1631 (3)| 00:00:09 |
Statistiken
0 recursive calls
0 db block gets
3198 consistent gets
0 physical reads
0 redo size
378627 bytes sent via SQL*Net to client
11520 bytes received via SQL*Net from client
1002 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
15001 rows processed
-- the bitmap index
create bitmap index blub on tasks(START_DATE);
SELECT START_DATE
, COUNT(START_DATE)
FROM TASKS
GROUP BY START_DATE
ORDER BY START_DATE
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 15001 | 102K| 132 (1)| 00:00:01 |
| 1 | SORT GROUP BY NOSORT | | 15001 | 102K| 132 (1)| 00:00:01 |
| 2 | BITMAP CONVERSION TO ROWIDS| | 1500K| 10M| 132 (1)| 00:00:01 |
| 3 | BITMAP INDEX FULL SCAN | BLUB | | | | |
Statistiken
1 recursive calls
0 db block gets
1126 consistent gets
0 physical reads
0 redo size
378682 bytes sent via SQL*Net to client
11520 bytes received via SQL*Net from client
1002 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
15002 rows processed
-- the composite index
create index blub on tasks(START_DATE, 0);
SELECT START_DATE
, COUNT(START_DATE)
FROM TASKS
GROUP BY START_DATE
ORDER BY START_DATE;
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 15001 | 102K| 2400 (15)| 00:00:12 |
| 1 | SORT GROUP BY | | 15001 | 102K| 2400 (15)| 00:00:12 |
| 2 | INDEX FAST FULL SCAN| BLUB | 1500K| 10M| 2095 (3)| 00:00:11 |
Statistiken
0 recursive calls
0 db block gets
4120 consistent gets
0 physical reads
0 redo size
378682 bytes sent via SQL*Net to client
11520 bytes received via SQL*Net from client
1002 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
15002 rows processedRegards
Martin Preiss -
Question about weblogic 8.x client jar.
We have some rich client applications that uses our J2EE service hosted on our Weblogic instance using T3. The actual weblogic.jar take about 40Mo. We don't want to add this 40Mo to client applications.
We see in weblogic 8 lib directory some thin jar (wlclient.jar) but il client uses these jars we have this error (By the way, we use Spring framework 1.0.2):
DEBUG [main] JndiTemplate$1.doInContext(119) | Looking up JNDI object with name 'com.foo.positionservice.bean.PositionService'
DEBUG [main] AbstractJndiLocator.lookup(182) | Successfully looked up object with jndiName 'com.foo.positionservice.bean.PositionService': value=[com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000006ac000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000006000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c54000000000000000000000000000000000042454103000004d8000000000000000c726f756e642d726f62696e00010000000000003c636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636500000000020000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c5400000000000000000000000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e7061722d6d736c746573743032001b64000000a80042454108010300000000124d534c4d616e6167656453657276657234000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a303030303030303030303030303030300000000000043331380000000001424541280000001000000000000000004104c46f39b6126a00000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f7061722d6d736c7465737430323a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c540000000000000000000000000000000000000000000000000031896fa3]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PositionService' defined in (no description): Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Cannot create EJB proxy: EJB home [com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000006ac000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000006000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c54000000000000000000000000000000000042454103000004d8000000000000000c726f756e642d726f62696e00010000000000003c636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636500000000020000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c5400000000000000000000000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e7061722d6d736c746573743032001b64000000a80042454108010300000000124d534c4d616e6167656453657276657234000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a303030303030303030303030303030300000000000043331380000000001424541280000001000000000000000004104c46f39b6126a00000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f7061722d6d736c7465737430323a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c540000000000000000000000000000000000000000000000000031896fa3] has no no-arg create() method
org.springframework.beans.FatalBeanException: Cannot create EJB proxy: EJB home [com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1:IOR:000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000006ac000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000006000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c54000000000000000000000000000000000042454103000004d8000000000000000c726f756e642d726f62696e00010000000000003c636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636500000000020000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e31302e3235322e34392e313135001b64000000a80042454108010300000000124d534c4d616e6167656453657276657232000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000433313800000000014245412800000010000000000000000074a8daeef7d35d3900000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f31302e3235322e34392e3131353a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c5400000000000000000000000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a3030303030303030303030303030303000000000000100000000000001cc000102000000000e7061722d6d736c746573743032001b64000000a80042454108010300000000124d534c4d616e6167656453657276657234000000000000000000005b524d493a636f6d2e626e70706172696261732e6571642e6d736c2e706f736974696f6e736572766963652e6265616e2e506f736974696f6e5365727669636552656d6f7465486f6d653a303030303030303030303030303030300000000000043331380000000001424541280000001000000000000000004104c46f39b6126a00000005000000010000002c0000000000010020000000030001002000010001050100010001010000000003000101000001010905010001000000190000004e0000000000000046687474703a2f2f7061722d6d736c7465737430323a373031322f6265615f776c735f696e7465726e616c2f636c61737365732f506f736974696f6e2053657276696365402f0000000000001f000000040000000300000020000000040000000100000021000000580001000000000001000000000000002200000000004000000000000806066781020101010000001f0401000806066781020101010000000f7765626c6f67696344454641554c540000000000000000000000000000000000000000000000000031896fa3] has no no-arg create() method
It is working fine with weblogic.jar (40Mo)
Thx,
-emmanuelnaveen.g wrote:
How to get the path of the domain, where my application is running, in a java code?
For example, my domain path is "D:\bea\user_projects\domains\production". How to get this path dynamically?Please start a new topic instead of resurrecting an old and non-related thread and hijacking others' threads. -
Question about Resultant Query
Documentary Table
Doc_No Title Ranking YearReleased
1 Hoop Dreams A 1994
2 The Thin Blue Line B 2000
3 Surprise Me A 2004
4 Trouble the Water C 2008
5 Dark Days B 2000
6 Paris of Burning B 1991
7 Man on Wire A 2008
Please tell What will be the resultant relation that will be produced by the following SQL SELECT statement.
Query:
SELECT Doc_No, Title, YearReleased
FROM
Documentary
WHERE YearReleased <>‘2000’;
Please replyGhulam Yassen wrote:
I am asking about the relation after its output.
SELECT Doc_No, Title, YearReleased
FROM
Documentary
WHERE YearReleased ‘2000’;What do you mean with relation?
If you mean the output here you are:
WITH documentary AS
SELECT 1 Doc_no, 'Hoop Dreams' Title, 'A' Ranking, 1994 YearReleased FROM DUAL UNION
SELECT 2 Doc_no, 'The Thin Blue Line' Title, 'B' Ranking, 2000 YearReleased FROM DUAL UNION
SELECT 3 Doc_no, 'Surprise Me' Title, 'A' Ranking, 2004 YearReleased FROM DUAL UNION
SELECT 4 Doc_no, 'Trouble the Water' Title, 'C' Ranking, 2008 YearReleased FROM DUAL UNION
SELECT 5 Doc_no, 'Dark Days' Title, 'B' Ranking, 2000 YearReleased FROM DUAL UNION
SELECT 6 Doc_no, 'Paris of Burning' Title, 'B' Ranking, 1991 YearReleased FROM DUAL UNION
SELECT 7 Doc_no, 'Man on Wire' Title, 'A' Ranking, 2008 YearReleased FROM DUAL
SELECT doc_no, title, yearreleased
FROM documentary
WHERE yearreleased {noformat}<{noformat}{noformat}>{noformat} '2000';
DOC_NO TITLE YEARRELEASED
1 Hoop Dreams 1994
3 Surprise Me 2004
4 Trouble the Water 2008
6 Paris of Burning 1991
7 Man on Wire 2008
{code}
Regards.
Al
Edited by: Alberto Faenza on Jun 7, 2012 12:54 PM
Modified to show lt and gt signs -
Hi all,
I have created a rolequery and i made it as PUBLIC.
But when i go to fieldmapping and then selected the rolename radio button and when i tried to see the list in drop down box, i could not see my rolequery.
Did i miss anything?
Let me know if you do not understand the question.
Please help me.
Thank you.Hi,
In order to be able to select the rolequery in the dropdownlist, you have to create a new role. Preferably you copy an existing role, based on another existing rolwquery and name it like your rolequery.
When the role is created, add your role query to the role on the workflow routing page of the role. When this is done the role query will appear in the drop down list.
Kind regards,
Joris Verdonschot -
Question about different query results with wildcard
Hi, I'm working with a third party app on SQL Server 2000, and from what I can gather, programmed in C# & VisualFoxPro.
When we search with
Note contains 94949
we get 571 results, when we search with
Note contains 94949*
we get 575 results.
There should be at least a hundred different entries that start with "94949-1" so I expected the query with the wildcard to return something like 680 results, not an additional four rows.
Searching with
Note contains 94949-1*
got 483 results
Note contains 94949-10*
got 0 results
Could someone explain or point me to more documentation on the difference results we get?
ThanksHi Arnie, thanks for your response.
My situation is more basic than what appears in your example. Unfortunately, I am working solely through this application so I do not have access to the SQL to test out what you supplied, so my question is more of a need for an explanation of the search results. I do find lots of references to LIKE, Wildcards and pattern matching, but I don't find a way to explain to the users the best and most complete way to search. They mostly need a "this will always get us the results without missing anything" search technique and then to be able to select from a smaller group. I guess I need a basic course in understanding search results: how to get different ones and what they mean.
Using
Note contains 94949-'%'
returned one more result than when using an asterisk. I don't understand this difference.
Note contains 94949-'%1' or
Note contains 94949-'1%'
brings nothing nor does not using quotes. But there are hundreds of records which have the string starting with 94949-1 and a varying number of characters after that.
?Does the dash read not as a character in the string but as an expression?
When I use WITHIN 3 characters, I get too few results (eight). If I use AND, I get text unrelated to the account number I am looking for.
Again when I tried to narrow the search by adding one digit to the string to be matched, I did not get any results, but 500 results from the more general search is too much to scan by opening individual records.
Thanks for pondering this with me. -
Question about select query.
Hi,
i want to insert the result of query to a table,
all the fields are corresponding except one field.
is there a way to this or i need to do
insert ( f1 , f2 ....)
i did this way
INTO CORRESPONDING FIELDS OF TABLE It_Return_Date
but i have another field which i want to insert to table.
is it possible??
10Xlets say you are getting values from a table
select & into X_TAB1 from TAB1.
data : x_tab2 type table2.
x_tab2-newfield = 'new value'. "Populate that new field value
move corresponding X_TAB1 TO X_TAB2. "all other will copy here
then use X_TAB2 to insert to your TABLE2.
INSERT TABLE2 FROM X_TAB2.
it would be a good practice to use same structure of the table while you use Insert/modify etc.. commands.
else you can declare TABLES ZTABLE2.
MOVE CORRESPONDING ZTABLE1 TO ZTABLE2.
ZTABLE2-NEW_FIELD = <NEW VALUE>.
then use INSERT.
INSERT ZTABLE2.
Regards
srikanth
Message was edited by: Srikanth Kidambi -
More questions about WebLogic 7.0 clustering
Hi Folks,
I have weblogic 7.0 spX in my environment.
Machine A(7001) contains AdminServer and Machine B(7002),C(7002) are managed servers.The
entire configuration is in Machine A config.xml file.The config.xml file of Machine
B and C have only server information.
I created a cluster in Admin Box A and added Managed B and C into the cluster.Using
iPlanet as a web server,"Cluster Address" have machine B and C ip:port.
Q1: The cluster information is available in only AdminServer A config.xml file.If
the whole box(sun solaris) goes down, what will happen to managed servers and
cluster?
Q2:We deploy an .ear file in Admin Server A and restart the service.As per the
weblogic document, it should deploy the .ear automatically on managed box's.It
does.But I don't see the whole .ear file in Machine B and C.Instead I am seeing
the content of .ear file in exploded format.Why?
Thank You,
- Lara
Hi Lara,
There is patch available for this for 7.0 and this is fixed in sp2 and higher.
If you are in the lower version just go to ".internal" folder in the managed server
boxes and delete the console.war (after everytime you restart your mgd severs).
I know this is dirty. but this is a work around
Joe
"Lara Man" <[email protected]> wrote:
>
>Thanks, Aravind.
>
>I do not want to enable independence mode due to security reasons.Please
>check
>http://xforce.iss.net/xforce/xfdb/12567
>
>Any other way?
>
>"Aravind Krishnasamy" <[email protected]> wrote:
>>Weblogic has an option to enable MSI(Managed server independence). By
>>enabling this feature on your managed server b & c, admin server will
>>push
>>config.xml, fileRelam.properties, SerializedSystemIni.dat etc., to all
>>the
>>managed server. Make sure you enable this functionality on only instance
>>per
>>sun server.
>>
>>When the admin server goes it should not affect the fuctionality of
>running
>>MS, since as described before all the information are cached. You cannot
>>modify any configuration at this point of time. Due to MSI enabled you
>>should be able to restart the managed server.
>>
>>Aravind
>>
>>> 2) We explode it to get access to the .jar files inside.
>>>
>>> Sam
>>>
>>> Lara Man wrote:
>>> > Hi Folks,
>>> >
>>> > I have weblogic 7.0 spX in my environment.
>>> >
>>> > Machine A(7001) contains AdminServer and Machine B(7002),C(7002)
>>are
>>managed servers.The
>>> > entire configuration is in Machine A config.xml file.The config.xml
>>file
>>of Machine
>>> > B and C have only server information.
>>> >
>>> > I created a cluster in Admin Box A and added Managed B and C into
>>the
>>cluster.Using
>>> > iPlanet as a web server,"Cluster Address" have machine B and C ip:port.
>>> >
>>> > Q1: The cluster information is available in only AdminServer A
>>config.xml file.If
>>> > the whole box(sun solaris) goes down, what will happen to managed
>>servers and
>>> > cluster?
>>> >
>>> > Q2:We deploy an .ear file in Admin Server A and restart the service.As
>>per the
>>> > weblogic document, it should deploy the .ear automatically on managed
>>box's.It
>>> > does.But I don't see the whole .ear file in Machine B and C.Instead
>>I am
>>seeing
>>> > the content of .ear file in exploded format.Why?
>>> >
>>> > Thank You,
>>> >
>>> > - Lara
>>>
>>
>>
>
-
Question about infoset query with code
Hi experts.
I always appreciate your help. Today, I have some problem. I made infoset query using SQ01 and got some data. Those data include WBS no but some of them didn't. So I tried to put some code into the infoset query that any data has not WBS has some value, for example 'X', in WBS no field.
I needed to know what field or table I should control to display value 'X' in WBS no field in case that WBS field has no value.
I tried to put code at "END-OF-SELECTION(before display)" and control %dtab. But I met error message there is no such table %dtab. So, I define %dtab then during runtime, I also met error message %dtab has already been defiend.
How can I do? Is it impossible thing?? I'm wating for your answer.
regards.Hi, if you just want to fill the field if it is blank, you can do this in the Record Processing Section.
I'm not familar with the WBS number, so for this example, I will fill the BISMT in MARA during the "Recording Processing" Section.
if mara-bismt is initial.
mara-bismt = 'X'.
endif.
Regards,
Rich Heilman -
Question about caml query with UserID/ parameter (working outside of sharepoint )
I have to develop a custom view. I should take the current user and query it in List1 to obtain owned group names. Then I am supposed to query each group name in a List2 to obtain corresponding users. And In a new custom list view I should display those users..
Let's assume I'm working in a c# class in VS. Below is my initial code to fetche owned groups by the current user.
SPQuery query = new SPQuery();
query.ViewFields = @"<FieldRef Name='Title'/>";
query.Query = @"<Where><Eq><FieldRef Name='Title' /><Value Type='Integer'><UserID/></Value></Eq></Where>";
SPList lstUsers = web.Lists["Users"];
SPListItemCollection userItems = lstUsers.GetItems(query);
foreach (SPListItem myitem in userItems)
{Response.Write(myitem["Title"].ToString());}
The "<UserID/>" parameter in caml query does not work outside...
query.Query = @"<Where><Eq><FieldRef Name='Title' /><Value Type='Integer'><UserID/></Value></Eq></Where>";
How can I obtained the current logged user from outside of sharepoint?
Should I write my code somewhere other then a seperate vs c# class?
I appreciate any idea and suggestions....If you are quering a User ID of UserField, you need to add LookupId='True'/ to FieldRef
<Eq>
<FieldRef Name=Owner' LookupId='True'/>
<Value Type='User' >2</Value>
</Eq>
Thanks, Rocky Fernandes
Maybe you are looking for
-
Adobe Photoshop Elements 5 - Import to LR (60k images, success!)
I have been struggling to get an import of my PSE 5 library to successfully complete into Lightroom without crashing. Ready to give up I tried the following which worked like a charm: In Photoshop Elements 5: File -> Catalog -> Recover I ran the abov
-
Why a black screen upon exiting Reader 9?
I can open PDF files, read them, and prnt them. I am using Firefox as my browser. When I close the PDF screen, I get a black screen. I would think that the PDF reader should close and return me to the screen from whence I opened the PDF. I have to cl
-
What is Plan Reconciliation Report in Cost Center Reporting?
-
Enterprise Portal SAP Resources are not starting on Box2...
Dear SAP World, We implemented EP HA project using Two server boxes(2 server nodes). we are using first server box for SAP resources and second server box for Oracle DataBase resources. If i try to take SAP resources online on Box2 then SAP is failin
-
I would like to create an event inside another one that already exists, is there a way to do that? I want to create something like: An album called "Euro Trip" and inside this album other albuns called "Madrid, Barcelona, etc" By choosing "Divide eve