ProxyHistory returns strange results
Hi,
I am trying to programmatically access the mailbox into which I most recently proxied via the GUI.
From what I understand, a call to Groupwise.Account.Application.ProxyHistory should return a collection of mailboxes into which I recently proxied via the Groupwise GUI. When I iterate over the returned collection, some of the mailboxes are missing or are replaced by other mailboxes in the list.
For example, my Proxy list on the Groupwise GUI shows:
Me
Proxy...
1. UserA
2. UserB
3. UserC
4. UserD
5. UserE
6. UserF
7. UserG
8. UserH
9. UserI
A call to the ProxyHistory function returns:
1. Me
2. Me
3. Me
4. UserD
5. UserE
6. UserE
7. UserG
8. UserG
9. UserG
Is this discrepancy a known issue? Is there a workaround for this problem?
Thank you,
M
There's no such method
There's
getProxyListRequest
If that's what you mean. But no method called ProxyHistory
OTOH, there's such an animal in OBJECT API. Perhaps you should post on
that forum.
On 7/20/2010 12:05 PM, MK wrote:
> Hi,
> I am trying to programmatically access the mailbox into which I most
> recently proxied via the GUI.
> From what I understand, a call to
> Groupwise.Account.Application.ProxyHistory should return a collection of
> mailboxes into which I recently proxied via the Groupwise GUI. When I
> iterate over the returned collection, some of the mailboxes are missing
> or are replaced by other mailboxes in the list.
> For example, my Proxy list on the Groupwise GUI shows:
> Me
> Proxy...
> 1. UserA
> 2. UserB
> 3. UserC
> 4. UserD
> 5. UserE
> 6. UserF
> 7. UserG
> 8. UserH
> 9. UserI
> A call to the ProxyHistory function returns:
> 1. Me
> 2. Me
> 3. Me
> 4. UserD
> 5. UserE
> 6. UserE
> 7. UserG
> 8. UserG
> 9. UserG
> Is this discrepancy a known issue? Is there a workaround for this problem?
> Thank you,
> M
Similar Messages
-
Help - count function returns strange results
hi everyone,
here's my scenario: i'm trying to get the NUMBER OF REPORTS and NUMBER OF
IMAGES GROUP BY MONTH from the two tables below.
REPORT
reportid(*primary key)
date
IMAGE
reportid(*foreign key referring to report's table)
image
sample output:
MONTH NO.OF REPORTS NO. OF IMAGES
feb 01 10 9
mar 01 12 8
my SQL goes like this:
select to_char(date, 'month-yy'),
count(REPORT.reportid), count(IMAGE.reportid)
from REPORT, IMAGE
where REPORT.reportid = IMAGE.reportid
group by to_char(date, 'month-yy')
the above sql yielded strange results, number of images is equal to the number of reports, which is of course wrong! as one report may or may not contain one or more image.
i dont know what's wrong with the above statement, but if i were to group it
by REPORTID and DAY rather than MONTH, then amazingly it works! what's
wrong with the count, why does it give me the same result if i group by
MONTH.
can anyone shed some light on this?try using the following example:
Table TEST_REPORT
RPTID RPTDATE
1 02-JAN-01
3 02-JAN-01
2 02-JAN-01
5 11-FEB-01
6 11-FEB-01
7 11-FEB-01
Table TEST_IMAGE
RPTID IM
1 1
2 1
3 1
SQL:
select to_char(rptdate,'MON-YYYY'),
sum(decode(a.rptid,null,0,1)) report_cnt,
sum(decode(b.rptid,null,0,1)) image_cnt
from test_report a, test_image b
where a.rptid = b.rptid(+)
group by to_char(rptdate,'MON-YYYY');
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by skcedric:
hi everyone,
here's my scenario: i'm trying to get the NUMBER OF REPORTS and NUMBER OF
IMAGES GROUP BY MONTH from the two tables below.
REPORT
reportid(*primary key)
date
IMAGE
reportid(*foreign key referring to report's table)
image
sample output:
MONTH NO.OF REPORTS NO. OF IMAGES
feb 01 10 9
mar 01 12 8
my SQL goes like this:
select to_char(date, 'month-yy'),
count(REPORT.reportid), count(IMAGE.reportid)
from REPORT, IMAGE
where REPORT.reportid = IMAGE.reportid
group by to_char(date, 'month-yy')
the above sql yielded strange results, number of images is equal to the number of reports, which is of course wrong! as one report may or may not contain one or more image.
i dont know what's wrong with the above statement, but if i were to group it
by REPORTID and DAY rather than MONTH, then amazingly it works! what's
wrong with the count, why does it give me the same result if i group by
MONTH.
can anyone shed some light on this? <HR></BLOCKQUOTE>
null -
ResultSet returning strange results for BIGINT datatype, using rs.getLong()
In a MySQL db I have a value of 10 for the BIGINT primary key column 'account', which is auto-incrementing.
The result of rs.getLong("account") is:
4.294967305E9
Not exactly the answer I was looking for. The other column, 'phoneNum', also a BIGINT, and also using rs.getLong("phoneNum") is returning correctly.
And ideas why?The number in question is 4,294,967,305. There was another thread here recently about MySQL using numbers that are just slightly above 2^32 (which is 4,294,967,296) in auto-increment columns.
-
[Solved] pacman -Qtdq is returning strange results - Please Help!
Hi guys,
I'm having an issue with the pacman command -
#pacman -Qtdq
It has been spitting out some VERY odd results. Here
[anders@Freki ~]$ pacman -Qtdq
abs
agave
alsa-utils
archlinux-artwork
arj
aspell-en
audacity
autoconf
automake
bacula
banshee
beanshell
bleachbit
bluefish
calibre
cryptsetup
dash
dosfstools
ekiga
expect
fakeroot
feh
file-roller
firefox
flex
gcalctool
gconf-editor
gedit
git
gksu
gnome-color-manager
gnome-disk-utility
gnome-media
gnome-nettool
gnome-power-manager
gnome-utils
gpart
gparted
grub2-bios
gstreamer0.10-bad-plugins
gtk-doc
handbrake
hardinfo
heirloom-mailx
hsqldb-java
hunspell-en
hyphen-en
icedtea-web
initscripts
inkscape
iputils
jfsutils
less
libdvdcss
libmspack
libmythes
libreoffice-base
libreoffice-calc
libreoffice-draw
libreoffice-extension-ct2n
libreoffice-extension-diagram
libreoffice-extension-google-docs
libreoffice-extension-hunart
libreoffice-extension-nlpsolver
libreoffice-extension-numbertext
libreoffice-extension-oooblogger
libreoffice-extension-pdfimport
libreoffice-extension-presentation-minimizer
libreoffice-extension-presenter-screen
libreoffice-extension-report-builder
libreoffice-extension-scripting-beanshell
libreoffice-extension-scripting-javascript
libreoffice-extension-scripting-python
libreoffice-extension-typo
libreoffice-extension-validator
libreoffice-extension-watch-window
libreoffice-extension-wiki-publisher
libreoffice-gnome
libreoffice-impress
libreoffice-math
libreoffice-sdk-doc
libreoffice-writer
libwpg
licenses
lm_sensors
logrotate
lucene
lvm2
man-db
man-pages
mdadm
mesa-demos
mousetweaks
mythes-en
nano
ntfsprogs
openshot
os-prober
pacman
parcellite
patch
pcmciautils
perl-passwd-md5
pkg-config
pstoedit
python2-gtkspell
python2-numpy
rdesktop
reiserfsprogs
samba
skype
skype-call-recorder
sound-juicer
soundconverter
subversion
sudo
syslog-ng
telepathy-butterfly
telepathy-gabble
telepathy-haze
telepathy-idle
telepathy-salut
telepathy-sofiasip
texlive-core
thunderbird
tomboy
tomoyo-tools
truecrypt
ufw
unace
unetbootin
uniconvertor
unrar
vala
vi
vigra
vino
virtualbox
virtualbox-additions
wgetpaste
which
wicd-gtk
xchat
xdotool
xf86-video-ati
xfsprogs
xorg-twm
xorg-utils
xorg-xclock
xorg-xinit
xsane-gimp
xscreensaver
xterm
I first noticed this when I removed lxde and awesome after I was done playing with them and pacman took out pkgs necessary to run gnome. As you can see some x pkgs are listed as orphans, along with things that were not orphans before, like abs and firefox. My orphan list used to be only a few items long because gwibber apparenly has some build items that are no longer needed after install like dee and vala.
I've tried reinstalling the listed pkgs, ALL of my installed pkgs, and nothing. It keeps reporting this same string of pkgs and it is making me afraid to remove xscreensaver (the one thing on the list I don't want to keep) because I am afriad of pacman taking out too many pkgs. Installs seem to be working just fine, and I only use pacman to install pkgs on this system, I always use
sudo pacman -S pkgname
or
sudo pacman -U /path/to/aur/pkg
and I only update via
sudo pacman -Syu
So is there any way to "rebuild" the dependancy tree that I don't know about? I looked thourgh the Wiki and did not see anything.
Could I have removed a pkg(s) that has broken Pacman's dependancy tree?
Is there any more info that you guys might need to help me out with this?
- Thanks for any help,
Anders H
Last edited by Anders H (2012-02-14 09:34:13)For some reason theses packages are installed as a dependency for another package, but they're not required by any package.
Can you post the output of e.g. 'pacman -Qi less'?
-D, --database
Modify the package database. This operation allows you to modify
certain attributes of the installed packages in pacman’s database.
At the moment, you can only change the install reason using
--asdeps and --asexplicit options.
[karol@black ~]$ pacman -Qi less
Name : less
Version : 444-3
URL : http://www.greenwoodsoftware.com/less
Licenses : GPL3
Groups : base
Provides : None
Depends On : ncurses pcre
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 220,00 KiB
Packager : Allan McRae <[email protected]>
Architecture : i686
Build Date : pon, 6 lut 2012, 03:25:08
Install Date : czw, 9 lut 2012, 21:09:29
Install Reason : Explicitly installed
Install Script : No
Description : A terminal based program for viewing text files
[karol@black ~]$ pacman -Qi less | grep -e "Required By" -e "Install Reason"
Required By : None
Install Reason : Explicitly installed
[karol@black ~]$ pacman -Qdt
[karol@black ~]$ pacman -D --asdeps less
less: install reason has been set to 'installed as dependency'
[karol@black ~]$ pacman -Qi less | grep -e "Required By" -e "Install Reason"
Required By : None
Install Reason : Installed as a dependency for another package
[karol@black ~]$ pacman -Qdt
less 444-3
I've changed the install reason and now 'less' shows up as an orphan. -
LibreOffice Calc - insertion of current date returns strange result
Hey,
When i want to insert the current date with the command TODAY() i get a result like this:
25.[~bu250i0t] Oktober 2011
The [~bu250i0t] is obviously what annoys me! How do i get it away?
CheersWhy the language? My mother tongue happens to be German, nothing wrong about that!
I just want to get rid of the digits and letters within the date...
Last edited by gunjah292 (2011-10-25 16:54:38) -
IsTransactionDirty returns strange results ?
Jclient, if I insert a record and then I call as follows:
boolean result = panelBinding.isTransactionDirty();
or
boolean result2 = panelBinding.findIterBinding("testIter").getApplicationModule().getTransaction().isDirty();
System.out.println(result + " " + result2);
Output:
true false
does anyone know why the results are not the same ?Jclient, if I insert a record and then I call as follows:
boolean result = panelBinding.isTransactionDirty();
or
boolean result2 = panelBinding.findIterBinding("testIter").getApplicationModule().getTransaction().isDirty();
System.out.println(result + " " + result2);
Output:
true false
does anyone know why the results are not the same ? -
Connect by in R2 return strange result.
Step to reproduce:
1.
create or replace type TST_OBJ_REC as object (
ID Integer,
Parent_ID Integer,
OValue Integer
);2.
create or replace type TST_OBJ_TBL as table of TST_OBJ_REC;3.
create table TST_TBL as select * from TABLE(TST_OBJ_TBL (
TST_OBJ_REC(ID => 1, Parent_ID => -1, OValue => 1),
TST_OBJ_REC(ID => 2, Parent_ID => 1, OValue => 2),
TST_OBJ_REC(ID => 3, Parent_ID => 2, OValue => 3)
));Query on table:
select * from tst_tbl a
connect by prior a.id = a.parent_id
start with a.id = 2All fine:
ID PARENT_ID OVALUE
2 1 2
3 2 3
Query from object:
select * from (TABLE(TST_OBJ_TBL (
TST_OBJ_REC(ID => 1, Parent_ID => -1, OValue => 1),
TST_OBJ_REC(ID => 2, Parent_ID => 1, OValue => 2),
TST_OBJ_REC(ID => 3, Parent_ID => 2, OValue => 3)
))) a
connect by prior a.id = a.parent_id
start with a.id = 2Result different !!
ID PARENT_ID OVALUE
2 1 null
3 2 null
select A.* from (TABLE(TST_OBJ_TBL (
TST_OBJ_REC(ID => 1, Parent_ID => -1, OValue => 1),
TST_OBJ_REC(ID => 2, Parent_ID => 1, OValue => 2),
TST_OBJ_REC(ID => 3, Parent_ID => 2, OValue => 3)
))) a
connect by prior a.id = a.parent_idstart with a.id = 2
ID PARENT_ID OVALUE
null null null
select A.*, connect_by_isleaf from (TABLE(TST_OBJ_TBL (
TST_OBJ_REC(ID => 1, Parent_ID => -1, OValue => 1),
TST_OBJ_REC(ID => 2, Parent_ID => 1, OValue => 2),
TST_OBJ_REC(ID => 3, Parent_ID => 2, OValue => 3)
))) a
connect by prior a.id = a.parent_id
start with a.id = 2ID PARENT_ID OVALUE connect_by_isleaf
null null null 1
And final
select id, parent_id, oValue, connect_by_isleaf from (TABLE(TST_OBJ_TBL (
TST_OBJ_REC(ID => 1, Parent_ID => -1, OValue => 1),
TST_OBJ_REC(ID => 2, Parent_ID => 1, OValue => 2),
TST_OBJ_REC(ID => 3, Parent_ID => 2, OValue => 3)
))) a
connect by prior a.id = a.parent_id
start with a.id = 2ID PARENT_ID OVALUE connect_by_isleaf
2 1 2 0
3 2 3 1
This behaviour normal ? In 11R1 All ok.
Edited by: D.Andreychik on 07.06.2010 7:38
Edited by: D.Andreychik on 07.06.2010 7:40Please read the FAQ and learn how to use tags to make your listing readable.
Then update your post so it will be properly formatted. Thank you. -
Strange result from insert into...select query
Hello guys,
I need your preciuos help for a question maybe simple, but that I can't explain by myself!
I have a query of "insert into...select" that, as I have explained in the title, returns a strange result. In facts, If I execute ONLY the SELECT statement the query returns the expected result (so 2 rows); instead If I execute the entire statement, that is the "insert into...select", the query returns 0 rows inserted!!
Following an example of the query:
INSERT
INTO TITOLI_ORI
COD_TITOLO_RICCONS ,
D_ESTRAZIONE ,
COD_SOCIETA ,
COD_PIANO_CONTABILE ,
COD_CONTO_CONTABILE ,
COD_RUBRICATO_STATISTICO_1 ,
COD_NDG ,
NUM_ESEGUITO ,
CUR_IMPORTO_RICCONS ,
CUR_IMPORTO_BICO ,
FLG_MODIFICATO ,
CUR_NON_ASSEGNATO ,
FLG_QUOTATO ,
COD_CATEG ,
TIP_COPERTURA ,
TIPTAS_TITOLO
SELECT NEWID,
'28-feb-2111',
COD_SOCIETA,
COD_PIANO_CONTABILE,
COD_CONTO_CONTABILE,
COD_RUBRICATO_STATISTICO_1,
COD_NDG,
NUM_ESEGUITO,
CUR_VAL_IMPEGNI,
'ABC' as CUR_IMPORTO_BICO,
0 as FLG_MODIFICATO,
NULL as CUR_NON_ASSEGNATO,
FLG_QUOTATO,
COD_CATEG,
TIP_COPERTURA,
TIP_TASSO
FROM
(SELECT S.COD_SOC AS COD_SOCIETA,
S.TIP_PIANO_CNTB AS COD_PIANO_CONTABILE,
S.COD_CONTO_CNTB AS COD_CONTO_CONTABILE,
S.COD_RUBR_STAT AS COD_RUBRICATO_STATISTICO_1,
TRC.COD_RAGGR_IAS AS COD_RAGGRUPPAMENTO_IAS,
TRC.COD_NDG AS COD_NDG,
TRC.COD_ESEG AS NUM_ESEGUITO,
CAST((TRC.IMP_PLUS_MINUS_VAL/TRC.IMP_CAMB) AS FLOAT) AS CUR_VAL_IMPEGNI,
TRC.TIP_QUOTAZ AS FLG_QUOTATO,
TRC.COD_CAT_TIT AS COD_CATEG,
TIP_COP AS TIP_COPERTURA,
T.TIP_TASSO AS TIP_TASSO
FROM S_SLD_CNTB S
INNER JOIN
(SELECT DISTINCT COD_SOC,
TIP_PIANO_CNTB,
COD_CONTO_CNTB,
COD_RUBR_STAT ,
COD_INTER_TIT AS COD_INTER
FROM S_COLLEG_CONTO_CNTB_TIT
WHERE COD_SOC = 'ME'
) CCC
ON S.COD_SOC = CCC.COD_SOC
AND S.TIP_PIANO_CNTB = CCC.TIP_PIANO_CNTB
AND S.COD_CONTO_CNTB = CCC.COD_CONTO_CNTB
AND S.COD_RUBR_STAT = CCC.COD_RUBR_STAT
INNER JOIN S_TIT_RICCONS TRC
ON CCC.COD_INTER = TRC.COD_INTER_TIT
AND CCC.COD_SOC = TRC.COD_SOC
AND TRC.COD_RAGGR_IAS = RTRIM('VALUE1 ')
AND TRC.COD_RAGGR_IAS NOT IN ('VALUE2')
AND TRC.DES_TIP_SLD_TIT_RICCONS IN ('VALUE3')
AND TRC.DES_MOV_TIT = RTRIM('VALUE4 ')
AND TRC.COD_CAT_TIT = RTRIM('VALUE4 ')
AND TRC.COD_INTER_TIT = RTRIM('VALUE5')
AND '28-feb-2011' = TRC.DAT_RIF
LEFT JOIN S_TIT T
ON T.COD_INTER_TIT = TRC.COD_INTER_TIT
AND T.COD_SOC = TRC.COD_SOC
AND '28-feb-2011' = T.DAT_RIF
INNER JOIN S_ANAG_SOGG AG
ON TRC.COD_NDG = AG.COD_NDG
AND AG.COD_SOC = TRC.COD_SOC
AND '28-feb-2011' = AG.DAT_RIF
WHERE S.DAT_RIF = '28-feb-2011'
AND (S.FLG_ANULL_BICO = 0
OR S.FLG_ANULL_BICO IS NULL)
AND S.COD_SOC = 'V6'
AND LENGTH(RTRIM(S.COD_CONTO_CNTB)) = 10
AND S.TIP_PIANO_CNTB = 'V7'
AND TRC.IMP_PLUS_MINUS_VAL < 0
AND SUBSTR(S.COD_CONTO_CNTB,1,7) IN (RTRIM('VALUE8 '))
Thanks a lotRight, I have executed this steps:
- I have changed the query with the select count(*)
- Changed the insert into with the select count(*)
- Executed the insert into
These are the result:
SQL> select count(*) from TITOLI_ORI2;
COUNT(*)
1
BUT:
SQL> select * from TITOLI_ORI2;
A
0
The insert into that I've modified is this:
INSERT INTO bsc.TITOLI_ORI2
select count(*)
FROM
(SELECT bsc.NEWID,
TO_DATE('28-feb-2111','DD-MON-YYYY') as data,
COD_SOCIETA,
COD_PIANO_CONTABILE,
COD_CONTO_CONTABILE,
COD_RUBRICATO_STATISTICO_1,
COD_NDG,
NUM_ESEGUITO,
CUR_VAL_IMPEGNI,
'ABC' AS CUR_IMPORTO_BICO,
0 AS FLG_MODIFICATO,
NULL CUR_NON_ASSEGNATO,
FLG_QUOTATO,
COD_CATEG,
TIP_COPERTURA,
TIP_TASSO
FROM
(SELECT S.COD_SOC AS COD_SOCIETA,
S.TIP_PIANO_CNTB AS COD_PIANO_CONTABILE,
S.COD_CONTO_CNTB AS COD_CONTO_CONTABILE,
S.COD_RUBR_STAT AS COD_RUBRICATO_STATISTICO_1,
TRC.COD_RAGGR_IAS AS COD_RAGGRUPPAMENTO_IAS,
TRC.COD_NDG AS COD_NDG,
TRC.COD_ESEG AS NUM_ESEGUITO,
CAST((TRC.IMP_PLUS_MINUS_VAL/TRC.IMP_CAMB) AS FLOAT) AS CUR_VAL_IMPEGNI,
TRC.TIP_QUOTAZ AS FLG_QUOTATO,
TRC.COD_CAT_TIT AS COD_CATEG,
TIP_COP AS TIP_COPERTURA,
T.TIP_TASSO AS TIP_TASSO
FROM bsc.S_SLD_CNTB S
INNER JOIN
(SELECT DISTINCT COD_SOC,
TIP_PIANO_CNTB,
COD_CONTO_CNTB,
COD_RUBR_STAT ,
COD_INTER_TIT AS COD_INTER
FROM bsc.S_COLLEG_CONTO_CNTB_TIT
WHERE COD_SOC = 'ME'
) CCC
ON S.COD_SOC = CCC.COD_SOC
AND S.TIP_PIANO_CNTB = CCC.TIP_PIANO_CNTB
AND S.COD_CONTO_CNTB = CCC.COD_CONTO_CNTB
AND S.COD_RUBR_STAT = CCC.COD_RUBR_STAT
INNER JOIN bsc.S_TIT_RICCONS TRC
ON CCC.COD_INTER = TRC.COD_INTER_TIT
AND CCC.COD_SOC = TRC.COD_SOC
AND TRC.COD_RAGGR_IAS = RTRIM('HFT ')
AND TRC.COD_RAGGR_IAS NOT IN ('GPO')
AND TRC.DES_TIP_SLD_TIT_RICCONS IN ('DISPONIBILI')
AND TRC.DES_MOV_TIT = RTRIM('CONSEGNARE ')
AND TRC.COD_CAT_TIT = RTRIM('OBBLIGAZIONE ')
AND TRC.COD_INTER_TIT = RTRIM('334058')
AND '28-feb-2011' = TRC.DAT_RIF
LEFT JOIN bsc.S_TIT T
ON T.COD_INTER_TIT = TRC.COD_INTER_TIT
AND T.COD_SOC = TRC.COD_SOC
AND '28-feb-2011' = T.DAT_RIF
INNER JOIN bsc.S_ANAG_SOGG AG
ON TRC.COD_NDG = AG.COD_NDG
AND AG.COD_SOC = TRC.COD_SOC
AND '28-feb-2011' = AG.DAT_RIF
WHERE S.DAT_RIF = '28-feb-2011'
AND (S.FLG_ANULL_BICO = 0
OR S.FLG_ANULL_BICO IS NULL)
AND S.COD_SOC = 'ME'
AND LENGTH(RTRIM(S.COD_CONTO_CNTB)) = 10
AND S.TIP_PIANO_CNTB = 'IS'
AND TRC.IMP_PLUS_MINUS_VAL < 0
AND SUBSTR(S.COD_CONTO_CNTB,1,7) IN (RTRIM('P044C11 '))
Another time the strange result returns!!
And I've created the table TITOLI_ORI2 as create table TITOLI_ORI2 (a number); to contain the number result of the query. -
Strange result using Oracle Text
Hello, I am receiving a strange exception with this sql query
SELECT * FROM gob_attachment
WHERE CONTAINS (gob_a_document, 'java') > 0
It's giving me
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
ORA-00942: table or view does not exist
29902. 00000 - "error in executing ODCIIndexStart() routine"
*Cause: The execution of ODCIIndexStart routine caused an error.
*Action: Examine the error messages produced by the indextype code and
take appropriate action.
After some googling I've disovered that problem could be in index, but I looked at the table and index seems ok to me.
Create script for index is looking like this
CREATE INDEX FTSI_GOB_A_DOCUMENT ON GOB_ATTACHMENT (GOB_A_DOCUMENT) INDEXTYPE IS CTXSYS.CONTEXT;
Only thing which is strange to me is that when I look to Edit Table in Table properties in SQL Developer I can see that Operational Status of index is FAILED. Does anyone know what does it mean?Maybe DB rights?
Edited by: 918345 on 2.3.2012 1:40
Edited by: 918345 on 2.3.2012 1:44No, I don't see any message related to this matter in there. I also tried to recreate the index and now the query is working, but it's not returning any results.
So I did this
drop index blob_index
create index blob_index on docs_mixedmedia(doc_contents) indextype is ctxsys.context
I've also discovered that we are storing unsupported datatype(DOCX), because it's supported from version 11 and we are running on 10g, could this lead to empty result of queries? -
Same Query returning different result (Different execution plan)
Hi all,
To day i have discovered a strange thing: a query that return a different result when using a different execution plan.
The query :
SELECT *
FROM schema.table@database a
WHERE column1 IN ('3')
AND column2 = '101'
AND EXISTS
(SELECT null
FROM schema.table2 c
WHERE a.column3 = SUBSTR (c.column1, 2, 12));where schema.table@database is a remote table.
when executed with the hint /*+ ordered use_nl(a c) */ these query return no result and its execution plan is :
Rows Row Source Operation
0 NESTED LOOPS (cr=31 r=0 w=0 time=4894659 us)
4323 SORT UNIQUE (cr=31 r=0 w=0 time=50835 us)
4336 TABLE ACCESS FULL TABLE2 (cr=31 r=0 w=0 time=7607 us)
0 REMOTE (cr=0 r=0 w=0 time=130536 us)When i changed the execution plan with the hint /*+ use_hash(c a) */
Rows Row Source Operation
3702 HASH JOIN SEMI (cr=35 r=0 w=0 time=497839 us)
22556 REMOTE (cr=0 r=0 w=0 time=401176 us)
4336 TABLE ACCESS FULL TABLE2 (cr=35 r=0 w=0 time=7709 us)It seem that when the execution plan have changed the remote query return no result.
It'is a bug or i have missed somthing ?
PS: The two table are no subject to insert or update statement.
Oracle version : 9.2.0.2.0
System version : HP-UX v1
Thanks.H.Mahmoud wrote:
Oracle version : 9.2.0.2.0
System version : HP-UX v1Hard to say. You're using a very old and deprecated version of the database, and one that was known to contain bugs.
9.2.0.7 was really the lowest version of 9i that was considered to be 'stable', but even so, it's old and lacking in many ways.
Consider upgrading to the latest database version at your earliest opportunity. (or at least apply patches up to the latest 9i version before querying if there is bugs in your really low buggy version) -
I have a Xquery statement that works as expected on Oracle 10.2.0.5 but does not return any results on Oracle 10.2.0.4.
Is this the result of a badly written query? A bug in 10.2.0.4?
Is there a way to rewrite the query so that is does work on 10.2.0.4?
Testcode:
declare
l_xml xmltype;
-- Select layers with TileMatrixSet EPSG:28992
cursor c_layer(p_xml xmltype) is
select t.*
from xmltable(xmlnamespaces(default 'http://www.opengis.net/wmts/1.0'
,'http://www.opengis.net/ows/1.1' as "ows"
,'http://schemas.opengis.net/gml' as "gml"
,'http://www.w3.org/1999/xlink' as "xlink"
,'http://www.w3.org/2001/XMLSchema-instance' as "xsi")
,'for $d in //Layer[TileMatrixSetLink/TileMatrixSet="EPSG:28992"] return $d' passing
p_xml columns title varchar2(100) path 'ows:Title'
,format varchar2(100) path 'Format'
,style xmltype path 'Style') as t;
begin
l_xml := xmltype.createxml('<?xml version="1.0" encoding="UTF-8"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd"
version="1.0.0">
<Contents>
<Layer>
<ows:Title>brtachtergrondkaart</ows:Title>
<ows:Identifier>brtachtergrondkaart</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
<Layer>
<ows:Title>top10nl</ows:Title>
<ows:Identifier>top10nl</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
<Layer>
<ows:Title>bgt</ows:Title>
<ows:Identifier>bgt</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
</Contents>
</Capabilities>');
for r_layer in c_layer(l_xml)
loop
dbms_output.put_line(r_layer.title);
end loop;
end;Result on 10.2.0.5:
brtachtergrondkaart
top10nl
bgtThis one's strange indeed.
I can reproduce on 10.2.0.4 and one of the following seems to fix it :
1) Specifying the column list in the SELECT, instead of t.* :
-- Select layers with TileMatrixSet EPSG:28992
cursor c_layer(p_xml xmltype) is
select t.title, t.format, t.style
from xmltable(or,
2) Using an extended FLWOR expression :
for $d in //Layer
where $d/TileMatrixSetLink/TileMatrixSet = "EPSG:28992"
return $dMaybe you've already noticed but the problem only occurs within a PL/SQL context.
The same query run from SQL is OK. -
Strange result about regular expressions
Hello everybody,
I write these codes to try regular expressions in Java, but there are some strang results. I read the reference like Sun Java Tutorials. however, I cann't find the problem.
Environnement:
WindowsXP Home + NetBeans IDE 5.0 + JDK 1.5
Input String:
"I write these codes to try regular expressions in Java, but it doesn't work. I read some reference like Sun Java Tutorials. Then, always cann't find the problem. Could you help me? Thanks."
My codes:
public static void main(String[] args) throws Exception, IOException {
P.rintln("Let's go!");
Date start = new Date();
if(args.length != 1) {
P.rintln("Input Error! Input format: java javaclass [directory path]");
System.exit(0);
StringBuffer sb = new StringBuffer();
String input = TextFile.read(args[0]);
sb = addSectionEelement(input, "re");
P.rintln(sb.toString());
P.rintln("Ok, it's over");
Date end = new Date();
System.out.println("It spends " + (end.getTime() - start.getTime()) + " ms.");
public static StringBuffer addSectionEelement(String input, String regex) {
Matcher m = Pattern.compile(regex).matcher(input);
StringBuffer sb = new StringBuffer();
int count = 0;
while(m.find()) {
count++;
P.rintln(m.group());
P.rintln("Found " + count + " fois.");
return sb;
Output:
run:
Let's go!
Found 0 fois.
Ok, it's over
It spends 16 ms.
BUILD SUCCESSFUL (total time: 0 seconds)
However if I change the Bold line by
sb = addSectionEelement(input, "r");
The resultats become:
run:
Let's go!
r
r
r
r
r
r
r
r
r
r
r
Found 11 fois.
Ok, it's over
It spends 15 ms.
BUILD SUCCESSFUL (total time: 0 seconds)
I have no idea about it. And you?
ThanksHi guys,
I re-examine the codes. In fact, it's the problem of encodings of the input file.
See u -
Any by Any returns inconsistant results
Hi All, hope someone can help.
Our system is BPC 5.1 MS, running on SQL 2005.
We have a strange issue where the standard Any by Any report provided with the installation is returning inconsistant results.
What is happening is that when I create an Any by Any report, the results in the table do not list all the possible values (i.e. the line/column headers [members] are there, but an amount does not appear in the intersection). The totals at the bottom & right are correct, showing what is in the system.
An evDRE report creating exactly the same layout will show all the values, so the problem is not in the system.
Does anyone have any idea what could be causing this?
Regards,
PeterHi Patrick,
Thanks for that SAPNote.
I think that the issue may be along these lines!
The Any by Any is using an evEXP to create it's expansion, the evEXP is referring to an MDX expression.
The problem comes in when looking at the MDX expression ...
1.) The SAPNote is referring to NESTED expansions ... this is not the case in the Any-by-Any
2.) The SAPNote is referring to Dimensions with multiple hierarchies ... but the Any-by-Any gives the same issue even if I choose 2 dimensions that both only have a single hierarchy.
The reason I think we may be on the right track, is that the lines that are missing are exactly the ones that would be expludes by "<>0" ... The problem is that the evEXP is only testing the TOP member chosen, & therefore misses out the ones where there may be values at a lower level, but they nett off.
The SAPNote says that:
"("&$I$24&".Currentmember,["&J25&"])<>0"
Should change to ...
"(["&$I$24&".H1].Currentmember,["&J25&"])<>0"
The Any-by-Any I have has:
"(["&$G$13&"],["&$E$17&"])<>0"
I have tried the following:
1.) Added in .CurrentMember ...
a.)
"(["&$G$13&"].CurrentMember,["&$E$17&"])<>0"
b.)
"(["&$G$13&".H1].CurrentMember,["&$E$17&"])<>0"
2.) Removed the square brackets ...
a.)
"("&$G$13&",["&$E$17&"])<>0"
b.)
"("&$G$13&","&$E$17&")<>0"
c.)
"(["&$G$13&"],"&$E$17&")<>0"
None of the options above work
Any ideas?
PS ... I see my greater than / less than operators are missing just before the zeroes ... they are there, I just can't get them to show on the HTML -
Hi, the code below maps some objects to a key and then buts that key in to a linked list. When I compile and run this program I get a strange result can you help me please(note that more code is involved)
public class Subsets {
//Vector v = new Vector();
Properties ht = new Properties();
LinkedList ll = new LinkedList();
ArrayList al1, al2, al3, al4, al5, al6, al7, al8;
String key = null;
String key2;
int intKey;
//Card cd[];
ArrayList newArr = null;
//Card vectArray[];
//Card cd1[], cd2[], cd3[], cd4[], cd5[], cd6[], cd7[], cd8[];
public ArrayList permutations(Hand dk, Hand comp){
for (int f=0; f < dk.getCardCount(); f++){
key = String.valueOf(dk.getCard(f).getValue());
al1 = new ArrayList();
al1.add(dk.getCard(f));
ll.add(ht.put(key,al1));
for (int s=f+1; s < dk.getCardCount(); s++){
key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue());
al2 = new ArrayList();
al2.add(dk.getCard(f));
al2.add(dk.getCard(s));
ll.add(ht.put(key, al2));
//v.addElement(ht.put(key,cd2));
for (int t=s+1; t < dk.getCardCount(); t++){
key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue());
al3 = new ArrayList();
al3.add(dk.getCard(f));
al3.add(dk.getCard(s));
al3.add(dk.getCard(t));
ll.add(ht.put(key,al3));
//v.addElement(ht.put(key,cd3));
for (int a=t+1; a < dk.getCardCount(); a++){
key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue()+dk.getCard(a).getValue());
al4 = new ArrayList();
al4.add(dk.getCard(f));
al4.add(dk.getCard(s));
al4.add(dk.getCard(t));
al4.add(dk.getCard(a));
ll.add(ht.put(key,al4));
//v.addElement(ht.put(key,cd4));
for (int b=a+1; b < dk.getCardCount(); b++){
key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue()+dk.getCard(a).getValue()+dk.getCard(b).getValue());
al5 = new ArrayList();
al5.add(dk.getCard(f));
al5.add(dk.getCard(s));
al5.add(dk.getCard(t));
al5.add(dk.getCard(a));
al5.add(dk.getCard(b));
ll.add(ht.put(key,al5));
//v.addElement(ht.put(key,cd5));
for (int c=b+1; c < dk.getCardCount(); c++){
key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue()+dk.getCard(a).getValue()+dk.getCard(b).getValue()+dk.getCard(c).getValue());
al6 = new ArrayList();
al6.add(dk.getCard(f));
al6.add(dk.getCard(s));
al6.add(dk.getCard(t));
al6.add(dk.getCard(a));
al6.add(dk.getCard(b));
al6.add(dk.getCard(c));
ll.add(ht.put(key,al6));
//v.addElement(ht.put(key,cd6));
for (int d=c+1; d < dk.getCardCount(); d++){
key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue()+dk.getCard(a).getValue()+dk.getCard(b).getValue()+dk.getCard(c).getValue()+dk.getCard(d).getValue());
al7 = new ArrayList();
al7.add(dk.getCard(f));
al7.add(dk.getCard(s));
al7.add(dk.getCard(t));
al7.add(dk.getCard(a));
al7.add(dk.getCard(b));
al7.add(dk.getCard(c));
al7.add(dk.getCard(d));
ll.add(ht.put(key,al7));
//v.addElement(ht.put(key,cd7));
for (int e=d+1; e < dk.getCardCount(); e++){
key = String.valueOf(dk.getCard(f).getValue()+dk.getCard(s).getValue()+dk.getCard(t).getValue()+dk.getCard(a).getValue()+dk.getCard(b).getValue()+dk.getCard(c).getValue()+dk.getCard(d).getValue()+dk.getCard(e).getValue());
al8 = new ArrayList();
al8.add(dk.getCard(f));
al8.add(dk.getCard(s));
al8.add(dk.getCard(t));
al8.add(dk.getCard(a));
al8.add(dk.getCard(b));
al8.add(dk.getCard(c));
al8.add(dk.getCard(d));
al8.add(dk.getCard(e));
ll.add(ht.put(key,al8));
//v.addElement(ht.put(key,cd8));
Iterator itr = ll.iterator();
first:{
while(itr.hasNext()){
// key2 = String.valueOf(itr.next());
//System.out.println("key2 : "+key2);
System.out.println("size "+ll.size());
System.out.println("next "+itr.next());
// intKey = Integer.parseInt(key2);
//for(int j=comp.getCardCount()-1; j>=0;j++){
// if(intKey == comp.getCard(j).getValue()){
// newArr = (ArrayList)ht.get(key2);
// break first;
if(!itr.hasNext()){
newArr = null;
newArr = (ArrayList)ht.get(key2);
return newArr;
the result that I get is as follows
Cards on the table are:
0. 6 of Hearts
1. 7 of Hearts
2. 4 of Spades
3. Jack of Spades
4. 7 of Spades
Its r's turn
size 31
next null
size 31
next null
size 31
next null
size 31
next null
size 31
next null
size 31
next null
size 31
next null
size 31
next null
size 31
next null
size 31
next null
size 31
next null
size 31
next [6 of Hearts, 7 of Hearts, 4 of Spades, Jack of Spades]
size 31
next [6 of Hearts, 7 of Hearts, 4 of Spades]
size 31
next null
size 31
next [6 of Hearts, 7 of Hearts, Jack of Spades]
size 31
next [6 of Hearts, 7 of Hearts]
size 31
next null
size 31
next null
size 31
next null
size 31
next null
size 31
next [6 of Hearts, 4 of Spades, Jack of Spades]
size 31
next null
size 31
next null
size 31
next [6 of Hearts, Jack of Spades]
size 31
next null
size 31
next null
size 31
next [7 of Hearts, 4 of Spades, Jack of Spades]
size 31
next [7 of Hearts, 4 of Spades]
size 31
next null
size 31
next [7 of Hearts, Jack of Spades]
size 31
next [7 of Hearts]
Exception in thread "main" java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:320)
at Subsets.permutations(Subsets.java:124)
at PlayScopa.computerTurn(PlayScopa.java:273)
at PlayScopa.scopaPlay(PlayScopa.java:133)
at PlayScopa.scopaStart(PlayScopa.java:89)
at MainApp.main(MainApp.java:29)
[u9zuh /home/stud3/csc99/u9zuh]$
why are there gaps here
not the for loops are as follows
for(){
......for(){
.............for(){
.....................etc.....It's telling you exactly where the problem is:
Exception in thread "main" java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:320)
at Subsets.permutations(Subsets.java:124)
at PlayScopa.computerTurn(PlayScopa.java:273)
at PlayScopa.scopaPlay(PlayScopa.java:133)
at PlayScopa.scopaStart(PlayScopa.java:89)
at MainApp.main(MainApp.java:29)
What code is at line 124 of Subsets?
When you figure out what line that is (use your IDE - Control-G often lets you type in a line number) look at the variables used on that line and see which one(s) hasn't been assigned a value. -
InfoSet - returns no result after transport
I realize I will not receive an answer to solve me problem, but hope someone can point me to how to determine my problem.
I have an InfoSet in our BI dev system that works fine. Previously, it was transported to our BI qas system and also worked fine. There was a data purge and reload, and since then it stopped retrieving data. There may have been a patch placed on the system, and changes to the InfoSet in dev which required adjusting the InfoSet.
What I have is the BI InfoSet working in dev, but not in qas. I have also created a duplicate of this InfoSet, and it returns no results. I have confirmed both my InfoProviders have reportable data, and the InoProviders have matching 0materials (which is the linked between them).
I'm open to any thoughts on what to check. I've ran RSISET in dev, recollected the InfoSet and transported it. The InfoSet still fails. It's puzzling why it works in dev but not qas.
Again, I'm open to any thoughts, however remote they might be.If your QA is open, then try to deactivate and re-activate the InfoSet.
Maybe you are looking for
-
Please help: installing FP 10.3.183.90 on iMac 10.5.8
Attempting to download Flash Player 10.3.189.90* on an iMac using Leopard (10.5.8); after multiple tries, have gotten to a point at which clicking the Install icon opens a window asking if I want to install (considering this a victory; something is h
-
I have an Ipad2 and my daughter has Iphone 4s and I would like to have all SMS and IMessages duplicated on the IPAD2 I was told I could do this by typing in the mobile phone number into the IPAD2 some where in the settings.
-
How do I save my .pdf files as .jpeg files?
How do I save my .pdf files as .jpeg files? Do this require Acrobat Pro? I don't need all of the bells and whistles, just the ability to save as .jpeg. Please advise.
-
Obfuscation error (The system cannot find the file specified)...
Hii....friends I extracted proguard.jar file in C:\WTK2.5.2\bin\ directory I edited the following enteries in ktools.properties file as following.... obfuscator.runner.class.name: com.sun.kvem.ktools.RunPro obfuscator.runner.classpath: C:\WTK2.5.2\bi
-
Is there any way in Mail to set up a template format (adding special statements to the bottom of each e-mail)so that these wouldn't have to been manually for each New Mail via "cut and paste"?