Put common functionality in EJB or not?
There is a java program at my job which generates an HTML form "<form>...</form>" based on some criteria it received. This program is written as Stateless Session Bean. Lets call it "HTML Form Generator".
Now the module I am working on needs to call the "HTML Form Generator". My module has couple of Stateless Session Beans from where I needs to call the "HTML Form Generator".
Right now I am doing EJB to EJB call which is giving me the following warning in JBoss:
11:13:02,070 WARN [TxConnectionManager] Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure.
Any way to resolve this issue? I am thinking that the "HTML Form Generator" dont have to be in an EJB. Instead it can be in normal classes. What advantages I going to loose any thing if I recommend this approach?
Thanks
We have some rules which I cannot clasify whether
they belong in business layer or presentationlayer.
For example I have a rule that if the Status of arow
displayed is "Approved" or "Not Approved" thenmake
the whole row read-only. Now it appears to me a
business rule but the businees layer is sendingDTOs
to presentation layer. How can I sepcify suchtypes
of rule so that presentation layer knows what todo?
In your DTO bean, put in a method isReadOnly(). Your
business layer sets the value, and your view layer
interprets it and acts accordingly.Thanks. This makes sense. But there are some times complex rules: like if control 1's value is A then the control 2's value can only be C,D else X,Y,Z. OR if the User is not a Manager then hide the employee's Baes Rate. Stuff like that.
If one property in DTO bean represents one column of the web page then there can be potentially numerous proprties of that column. Does that mean every property in DTO bean is another class?
Another concern I have is how the DTO will match up with the HTML. Let me explain:
Suppose we have two different test cases: one is Employee and another one is Shift. We create EmployeeDTO and Shift DTO.
The business layer will create Lists of specific DTO type. So in 1st test case the business layer will return a List of EmployeeDTO type. In 2nd test case the business layer will return a List of ShiftDTO type.
Suppose the HTML Generator class have 1 method to generate HTML:
public String generateHTML(String pageName, List list);
where pageName is the name of the Page as defined in the database. Now I have 2 concerns:
1) how to know that which control in database belongs to which property in class?
2) when looping through the List and converting it to specific type will be a problem. How will i know that i have to convert to EmployeeDTO in first test case and ShiftDTO in second test case?
Thanks
Similar Messages
-
I have just sought to update my lightroom and am now unable to access the develop function and get a note stating that I have reduced functionality what it this about and how do I get my product back
Hi there
I have version 5.7 and every time I opened it I was told that updates are available and to click on the icon to access these. Instead it just took me to the
adobe page with nowhere visible to update. I then sought to download lightroom cc and this is when I could not access the 'develop' section due to reduced
functionality It was apparent that my photos had been put in cc but no way to access them unless I wanted to subscribe.
I have since remedied the problem as my original lightroom 5.7 icon is still available on the desktop and have gone back to that. I do feel that this is a bit
of a rip off and an unnecessary waste of my time though.
Thank you for your prompt reply by the way.
Carlo
Message Received: May 04 2015, 04:52 PM
From: "dj_paige" <[email protected]>
To: "Carlo Bragagnolo" <[email protected]>
Cc:
Subject: I have just sought to update my lightroom and am now unable to access the develop function and get a note stating that I have
reduced functionality what it this about and how do I get my product back
dj_paige created the discussion
"I have just sought to update my lightroom and am now unable to access the develop function and get a note stating that I have reduced functionality what it
this about and how do I get my product back"
To view the discussion, visit: https://forums.adobe.com/message/7510559#7510559
> -
How can we create a common function for 2 or more java card applets?
I have 2 java card applets. They use one common function. But i don't know how to set up it. Anybody knows it, please help me. Please show me step by step to do it. Thank you.
When insert below line of code in the Test_Class_1.java and Test_Class_2, the Project will be failed:
byte aP1 = Test_common_function.GetP1((byte)0x02);
byte aP1 = Test_common_function.GetP1((byte)0x01);
Here is the source code:
Test_Class_2.java
package Test_Class_2;
import Test_common_function.Test_common_function;
import javacard.framework.APDU;
import javacard.framework.Applet;
public class Test_Class_2 extends Applet
public static void install(byte[] bArray, short bOffset, byte bLength)
// GP-compliant JavaCard applet registration
new Test_Class_2().register(bArray, (short) (bOffset + 1),
bArray[bOffset]);
public void process(APDU apdu)
byte aP1 = Test_common_function.GetP1((byte)0x02);
}Test_Class_1.java
package Test_Class_1;
import Test_common_function.Test_common_function;
import javacard.framework.APDU;
import javacard.framework.Applet;
public class Test_Class_1 extends Applet
public static void install(byte[] bArray, short bOffset, byte bLength)
// GP-compliant JavaCard applet registration
new Test_Class_1().register(bArray, (short) (bOffset + 1),
bArray[bOffset]);
public void process(APDU apdu)
byte aP1 = Test_common_function.GetP1((byte)0x02);
}Test_common_function.java
package Test_common_function;
import javacard.framework.APDU;
import javacard.framework.ISO7816;
import javacard.framework.Applet;
import javacard.framework.ISOException;
public class Test_common_function extends Applet
public static void install(byte[] bArray, short bOffset, byte bLength)
// GP-compliant JavaCard applet registration
new Test_common_function().register(bArray,
(short) (bOffset + 1), bArray[bOffset]);
public void process(APDU apdu)
// Good practice: Return 9000 on SELECT
if (selectingApplet())
return;
byte[] buf = apdu.getBuffer();
switch (buf[ISO7816.OFFSET_INS])
case (byte) 0x00:
break;
default:
// good practice: If you don't know the INStruction, say so:
ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
public static byte bP1_Class1 = (byte)0x90;
public static byte bP1_Class2 = (byte)0x90;
public static byte GetP1(byte idclass)
return idclass == (byte)0x01? bP1_Class1:bP1_Class2;
}and here is the trace log (in case of failure)
cm> /term "Remote|localhost:60351"
--Opening terminal
/card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
--Waiting for card...
ATR=3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 ;.....1.EJCOPv24
31 B7 1.
IOCTL().
ATR:
T = 1
=> 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
(578768 nsec)
<= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65 oe...........Y.e
01 FF 9F 6E 06 47 91 01 17 33 00 73 4A 06 07 2A ...n.G...3.sJ..*
86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B .H..k.`...*.H..k
02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64 ....c...*.H..k.d
0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09 ...*.H..k...e...
2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01 +...Hd...f...+..
04 01 2A 02 6E 01 02 90 00 ..*.n....
Status: No Error
cm> set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
cm> init-update 255
=> 80 50 00 00 08 37 0D D8 24 C9 C8 32 53 00 .P...7..$..2S.
(1829 usec)
<= 00 00 DE 81 34 18 39 B7 09 70 FF 02 00 00 3D 02 ....4.9..p....=.
9C 31 C7 89 7A 8E 57 44 05 A7 67 C7 90 00 .1..z.WD..g...
Status: No Error
cm> ext-auth plain
=> 84 82 00 00 10 D8 BE 91 A3 94 E8 34 18 42 28 F6 ...........4.B(.
74 EE 50 06 29 t.P.)
(1683 usec)
<= 90 00 ..
Status: No Error
cm> delete -r 01020304050102
=> 80 E4 00 80 09 4F 07 01 02 03 04 05 01 02 00 .....O.........
(833593 nsec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Ignoring expected error
cm> delete -r 01020304050103
=> 80 E4 00 80 09 4F 07 01 02 03 04 05 01 03 00 .....O.........
(769014 nsec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Ignoring expected error
cm> delete -r 010203040501
=> 80 E4 00 80 08 4F 06 01 02 03 04 05 01 00 .....O........
(734456 nsec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Ignoring expected error
cm> upload -c -d -b 250 "D:\WorkSpace\Test_Common_Funcation\bin\Test_common_function\javacard\Test_common_function.cap"
=> 80 E6 02 00 13 06 01 02 03 04 05 01 08 A0 00 00 ................
00 03 00 00 00 00 00 00 00 .........
(1864 usec)
<= 00 90 00 ...
Status: No Error
Start loading Header.cap (44 byte)
=> 80 E8 00 00 2C C4 82 03 E3 01 00 25 DE CA FF ED ....,......%....
02 02 04 00 01 06 01 02 03 04 05 01 14 54 65 73 .............Tes
74 5F 63 6F 6D 6D 6F 6E 5F 66 75 6E 63 74 69 6F t_common_functio
6E 00 n.
(1607 usec)
<= 00 90 00 ...
Status: No Error
Header.cap loaded (44 byte)
Start loading Directory.cap (36 byte)
=> 80 E8 00 01 24 02 00 21 00 25 00 21 00 0C 00 0B ....$..!.%.!....
00 26 00 0E 00 4C 00 0C 00 0D 00 00 00 6F 02 5D .&...L.......o.]
00 02 00 00 00 00 01 01 00 00 ..........
(1368 usec)
<= 00 90 00 ...
Status: No Error
Directory.cap loaded (36 byte)
Start loading Import.cap (14 byte)
=> 80 E8 00 02 0E 04 00 0B 01 03 01 07 A0 00 00 00 ................
62 01 01 00 b...
(1096 usec)
<= 00 90 00 ...
Status: No Error
Import.cap loaded (14 byte)
Start loading Applet.cap (15 byte)
=> 80 E8 00 03 0F 03 00 0C 01 08 01 02 03 04 05 01 ................
01 01 00 08 00 .....
(1188 usec)
<= 00 90 00 ...
Status: No Error
Applet.cap loaded (15 byte)
Start loading Class.cap (17 byte)
=> 80 E8 00 04 11 06 00 0E 00 00 00 80 03 00 FF 00 ................
07 01 00 00 00 1C 00 .......
(1457 usec)
<= 00 90 00 ...
Status: No Error
Class.cap loaded (17 byte)
Start loading Method.cap (79 byte)
=> 80 E8 00 05 4F 07 00 4C 00 01 10 18 8C 00 02 7A ....O..L.......z
05 30 8F 00 08 3D 8C 00 00 18 1D 04 41 18 1D 25 .0...=......A..%
8B 00 01 7A 02 21 18 8B 00 06 60 03 7A 19 8B 00 ...z.!....`.z...
04 2D 1A 04 25 73 00 09 00 00 00 00 00 0F 11 6D .-..%s.........m
00 8D 00 07 7A 02 10 1C 04 6B 07 7C 00 03 70 05 ....z....k.|..p.
7C 00 05 78 00 |..x.
(1101 usec)
<= 00 90 00 ...
Status: No Error
Method.cap loaded (79 byte)
Start loading StaticField.cap (15 byte)
=> 80 E8 00 06 0F 08 00 0C 00 02 00 00 00 00 00 00 ................
00 02 90 90 00 .....
(1069 usec)
<= 00 90 00 ...
Status: No Error
StaticField.cap loaded (15 byte)
Start loading ConstantPool.cap (41 byte)
=> 80 E8 00 07 29 05 00 26 00 09 06 00 00 01 03 80 ....)..&........
03 02 06 80 03 00 05 00 00 00 03 80 0A 01 05 00 ................
00 01 03 80 03 03 06 80 07 01 01 00 02 00 00 ...............
(3134 usec)
<= 00 90 00 ...
Status: No Error
ConstantPool.cap loaded (41 byte)
Start loading RefLocation.cap (16 byte)
=> 80 E8 00 08 10 09 00 0D 00 00 00 09 05 06 04 0A ................
07 07 13 0A 05 00 ......
(2067 usec)
<= 00 90 00 ...
Status: No Error
RefLocation.cap loaded (16 byte)
Start loading Descriptor.cap (114 byte)
=> 80 E8 00 09 72 0B 00 6F 01 00 01 00 02 00 00 02 ....r..o........
00 04 00 09 00 00 00 80 03 01 09 00 00 01 80 03 ................
00 81 00 01 00 14 00 05 00 00 00 00 01 09 00 08 ................
00 16 00 12 00 00 00 00 07 01 00 1C 00 19 00 1F ................
00 00 00 00 02 09 00 3D 00 1D 00 0D 00 00 00 00 .......=........
00 09 00 14 00 16 00 14 00 1F 00 21 00 1F 00 23 ...........!...#
00 25 FF FF 01 10 04 B4 31 06 68 00 A1 02 33 01 .%......1.h...3.
30 01 B0 01 20 02 41 00 0... .A.
(1344 usec)
<= 00 90 00 ...
Status: No Error
Descriptor.cap loaded (114 byte)
Start loading Debug.cap (608 byte)
=> 80 E8 00 0A FA 0C 02 5D 00 1A 00 29 54 65 73 74 .......]...)Test
5F 63 6F 6D 6D 6F 6E 5F 66 75 6E 63 74 69 6F 6E _common_function
2F 54 65 73 74 5F 63 6F 6D 6D 6F 6E 5F 66 75 6E /Test_common_fun
63 74 69 6F 6E 00 19 6A 61 76 61 63 61 72 64 2F ction..javacard/
66 72 61 6D 65 77 6F 72 6B 2F 41 70 70 6C 65 74 framework/Applet
00 19 54 65 73 74 5F 63 6F 6D 6D 6F 6E 5F 66 75 ..Test_common_fu
6E 63 74 69 6F 6E 2E 6A 61 76 61 00 0A 62 50 31 nction.java..bP1
5F 43 6C 61 73 73 31 00 01 42 00 0A 62 50 31 5F _Class1..B..bP1_
43 6C 61 73 73 32 00 06 3C 69 6E 69 74 3E 00 03 Class2..<init>..
28 29 56 00 04 74 68 69 73 00 2B 4C 54 65 73 74 ()V..this.+LTest
5F 63 6F 6D 6D 6F 6E 5F 66 75 6E 63 74 69 6F 6E _common_function
2F 54 65 73 74 5F 63 6F 6D 6D 6F 6E 5F 66 75 6E /Test_common_fun
63 74 69 6F 6E 3B 00 07 69 6E 73 74 61 6C 6C 00 ction;..install.
07 28 5B 42 53 42 29 56 00 06 62 41 72 72 61 79 .([BSB)V..bArray
00 02 5B 42 00 07 62 4F 66 66 73 65 74 00 01 53 ..[B..bOffset..S
00 07 62 4C 65 6E 67 74 68 00 07 70 72 6F 63 00 ..bLength..proc.
(937268 nsec)
<= 00 90 00 ...
Status: No Error
=> 80 E8 00 0B FA 65 73 73 00 1C 28 4C 6A 61 76 61 .....ess..(Ljava
63 61 72 64 2F 66 72 61 6D 65 77 6F 72 6B 2F 41 card/framework/A
50 44 55 3B 29 56 00 04 61 70 64 75 00 19 4C 6A PDU;)V..apdu..Lj
61 76 61 63 61 72 64 2F 66 72 61 6D 65 77 6F 72 avacard/framewor
6B 2F 41 50 44 55 3B 00 03 62 75 66 00 05 47 65 k/APDU;..buf..Ge
74 50 31 00 04 28 42 29 42 00 07 69 64 63 6C 61 tP1..(B)B..idcla
73 73 00 14 54 65 73 74 5F 63 6F 6D 6D 6F 6E 5F ss..Test_common_
66 75 6E 63 74 69 6F 6E 00 19 00 01 00 00 00 01 function........
00 02 00 01 00 02 00 00 02 00 04 00 03 00 04 00 ................
09 00 00 00 00 00 05 00 04 00 09 00 00 00 01 00 ................
06 00 07 00 01 00 01 02 00 05 00 01 00 01 00 00 ................
08 00 09 00 00 00 05 00 00 00 04 00 0F 00 0A 00 ................
0B 00 09 00 08 02 00 12 00 03 00 04 00 00 0C 00 ................
0D 00 00 00 12 01 00 0E 00 0F 00 00 00 12 02 00 ................
10 00 04 00 00 00 12 00 00 00 07 00 14 00 08 00 ................
0D 00 15 00 0E 00 10 00 14 00 11 00 11 00 16 00 ................
(785421 nsec)
<= 00 90 00 ...
Status: No Error
=> 80 E8 80 0C 6C 00 11 00 12 00 01 00 1C 02 00 1F ....l...........
00 03 00 06 00 00 08 00 09 00 00 00 1F 01 00 13 ................
00 14 00 00 00 1F 02 00 15 00 0D 00 0C 00 13 00 ................
00 00 05 00 1B 00 06 00 06 00 1D 00 07 00 0B 00 ................
20 00 0C 00 17 00 21 00 18 00 1D 00 27 00 1E 00 .....!.....'...
1E 00 29 00 16 00 17 00 09 00 3D 02 00 0D 00 01 ..).......=.....
00 01 00 00 18 00 04 00 00 00 0D 00 00 00 0C 00 ................
2F 00 /.
(1986 usec)
<= 00 90 00 ...
Status: No Error
Debug.cap loaded (608 byte)
Load report:
999 bytes loaded in 0.0 seconds
effective code size on card:
+ package AID 6
+ applet AIDs 15
+ classes 17
+ methods 79
+ statics 2
+ exports 0
overall 119 bytes
cm> install -i 0102030405010101 -q C9#() 010203040501 0102030405010101
=> 80 E6 0C 00 1F 06 01 02 03 04 05 01 08 01 02 03 ................
04 05 01 01 01 08 01 02 03 04 05 01 01 01 01 00 ................
02 C9 00 00 00 .....
(2346 usec)
<= 00 90 00 ...
Status: No Error
cm> upload -c -d -b 250 "D:\WorkSpace\Test_Common_Funcation\bin\Test_Class_2\javacard\Test_Class_2.cap"
jcshell: Cannot read <D:\WorkSpace\Test_Common_Funcation\bin\Test_Class_2\javacard\Test_Class_2.cap>: java.io.FileNotFoundException: D:\WorkSpace\Test_Common_Funcation\bin\Test_Class_2\javacard\Test_Class_2.cap (The system cannot find the path specified)
cm> install -i 0102030405010303 -q C9#() 01020304050103 0102030405010303
=> 80 E6 0C 00 20 07 01 02 03 04 05 01 03 08 01 02 .... ...........
03 04 05 01 03 03 08 01 02 03 04 05 01 03 03 01 ................
00 02 C9 00 00 00 ......
(1231 usec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Unexpected error; aborting executionThank very much!
Edited by: WhoKnows on Apr 20, 2012 9:32 PM -
Hi All,
I am getting error while executing oDATA service from SAP Netweaver Gateway
Error details:
RFC call ended with "Communication Failure" exception (Function call failed; could not find the function
I am using SAP NG 740
Project is created in Gateway system using SEGW having Map to Datasource option used.
in SPRO manage alias, I had seleted Local App option. Screen attached
I had tried all troubleshooting like delete and add service and alias in "/IWFND_MAINT_SERVICE".
but still getting same error for all service.
Kindly advise.
Regards
VivekHello Vivek,
Service builder would have also generated code for RFC Exception handling to catch exceptions raised when communication fails between your GW and BE for some reasons.
Handling is done for 1. System Failure 2. Communication Failure & 3. Business Failure;
Put a BP in your DPC or DP_EXT class where exception code is written to check what exactly is has caused communication failure.
Check if that RFC is existing in that destination or not.
For your reference : Code would be something like this. Put BP here and check the problem.
* Error and exception handling
IF lv_subrc <> 0.
* Execute the RFC exception handling process
me->/iwbep/if_sb_dpc_comm_services~rfc_exception_handling(
EXPORTING
iv_subrc = lv_subrc
iv_exp_message_text = lv_exc_msg ).
ENDIF.
Go inside this method and check to get info on what has to be done to resolve issue.
Check carefully what has gone wrong and fix it accordingly.
No need of adding service & deleting as problem is not because of that.
Regards,
Ashwin -
Where to put properties files in EJB?
is there a good standard place to put properties files for EJB?
files. i wanted to jar everything together in a single
ejb jar, and need to know if there is a standard or
good place to keep those properties files so that
whenever i move the ejb jar i dont have to worry about
the paths to find those properties files.??? Both of my suggestions allow what you want. Neither one requires knowing any kind of file path. For example, packaging a properties files as my/fancy/data.properties entry in a jar will allow loading it as Properties ps = new Properties();
ps.load (getClass().getResource("/my/fancy/data.properties").openStream(); (better code would also close() the stream in a finally block)
The above depends on how the jar was packaged, not on its actual disk location.
What's more, Class.getResource() also allows for package name-relative resource lookup which is convenient sometimes: http://www.javaworld.com/javaworld/javaqa/2002-11/02-qa-1122-resources.html -
I put the password in my Ipod and now I am trying to put it again but it is not working....I tried to connect with the Itunes and it is not working because to the Itunes work with my Ipod, I need the password first, which I do not know. In my Ipod is showing "Ipod is disable, connect to Itunes". I was trying to connect but I can't...what should I do ?
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: How to back up
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
Users of imovie experience a lot of problems and crying for help and no one at Apple did not respond
I do not understand how a company like Apple puts experts to help users
Please note that anonymous experts in Internet offer their help for moneyUsers of imovie experience a lot of problems and crying for help and no one at Apple did not respond
I do not understand how a company like Apple puts experts to help users
Please note that anonymous experts in Internet offer their help for money -
I put some programe in icloud but not my account how can i re enstole again in my iphone but in my account in apple plese help my
Please help me??????
-
When using TODATE function MDX query is not correctly generated
Essbase 9.3.1.2 and OBIEE 10.1.3.4.1.
When using TODATE function MDX query is not correctly generated.
This leads to unexpected values not only on cumulative columns in report (generated with TODATE), but also other columns (calculated with AGO function or directly read from cube) have incorrect values.
The problem occurs when you filter on a column that is not in the select list. If you filter on just one level of dimension, results are fine. You can filter on multiple dimensions as long as you filter on just one level of each dimension.
If you filter on two or more levels of one dimension, than results are not correct. In some cases results for TODATE column are all zeros, in some cases it is a random value returned by Essbase (same random value for all rows of that column), and in some cases BI Server returns an error:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. Essbase Error: Network error [10054]: Cannot Send Data (HY000).
Here is generated MDX code:
With
set [Grupe proizvoda2] as '{[Grupe proizvoda].[N4]}'
set [Grupe proizvoda4] as 'Generate([Grupe proizvoda2], Descendants([Grupe proizvoda].currentmember, [Grupe proizvoda].Generations(4), leaves))'
set [Segmentacija2] as '{[Segmentacija].[RETAIL]}'
set [Segmentacija4] as 'Filter(Generate({[Segmentacija2]}, Descendants([Segmentacija].currentmember, [Segmentacija].Generations(4),SELF), ALL), ([Segmentacija].CurrentMember IS [Segmentacija].[AFFLUENT]))'
set [Vrijeme3] as '{[Vrijeme].[MJESEC_4_2009]}'
member [Segmentacija].[SegmentacijaCustomGroup]as 'Sum([Segmentacija4])', SOLVE_ORDER = AGGREGATION_SOLVEORDER
member [Accounts].[MS1] as '(ParallelPeriod([Vrijeme].[Gen3,Vrijeme],2,[Vrijeme].currentmember), [Accounts].[Trosak kapitala])'
member [Accounts].[MS2] as '(ParallelPeriod([Vrijeme].[Gen3,Vrijeme],1,[Vrijeme].currentmember), [Accounts].[Trosak kapitala])'
member [Accounts].[MS3] as 'AGGREGATE({PeriodsToDate([Vrijeme].[Gen2,Vrijeme],[Vrijeme].currentmember)}, [Accounts].[Trosak kapitala])'
select
{ [Accounts].[Trosak kapitala],
[Accounts].[MS1],
[Accounts].[MS2],
[Accounts].[MS3]
} on columns,
NON EMPTY {crossjoin ({[Grupe proizvoda4]},{[Vrijeme3]})} properties ANCESTOR_NAMES, GEN_NUMBER on rows
from [NISE.NISE]
where ([Segmentacija].[SegmentacijaCustomGroup])
If you remove part with TODATE function, the results are fine. If you leave TODATE function, OBIEE returns an error mentioned above. If you manually modify variable SOLVE_ORDER and set value to, for example, 100 instead of AGGREGATION_SOLVEORDER, results are OK.
In all cases when this variable was modified in generated MDX, and query manually executed on Essabse, results were OK. This variable seems to be the possible problem.Hi,
Version is
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
Sorry, in my last post i forgot to mention that i already created a function based index but still it is not using because, there is a UNIQUE constraint on that column.
Thanks -
I have a Iphone 4 gsm (8f190) and it will not connect to itunes and when i put it in recovery itunes will not work. It won't show up when plugged into the computer. Only charges when plugged in the wall or a car charger. I've tried everything imaginable but I can't get the phone to register in iTunes at all.. The phone won't even reset.. when i try and reset EVERYTHING on the phone the apple logo with the progress bar starts to come up but the progress never moves.. PLEASE help me.. I'm at my wits end with this phone and I'm ready to just trash it.
martinfromdevon wrote:
Warning to iPhone users. Do not start the update of the iPhone software using iTunes.
Nonsense, and very misleading advice. I've updated iPhone 3G, 3Gs,and 4 through itunes many times, never had a problem once, not with one single update in nearly 5 years of iPhones. Of course, I've never jailbroken my phones either. Hack your phone and have update problems? I've got news for you, the problems are not a result of iTunes or Apple's updates. -
I have a Iphone 4 gsm (8f190) and it will not connect to itunes and when i put it in recovery itunes will not work. It won't show up when plugged into the computer. Only charges when plugged in the wall or a car charger. I've tried everything imaginable but I can't get the phone to register in iTunes at all.. The phone won't even reset.. when i try and reset EVERYTHING on the phone the apple logo with the progress bar starts to come up but the progress never moves.. PLEASE help me.. I'm at my wits end with this phone and I'm ready to just trash it.
Dude you have a jailbroken phone as stated in your first post, no need to do a second post.
As per the forum term of service you can't get help here. Use google.
that's the downfall of jailbreaking your phone. -
I upgraded my 3 yr old iMac to Snow Leopard (OS X 10.6) and now my HP C4150 Scanning function doesn't work (not recognized). I downloaded updated Drivers from the HP site and installed them, but still no joy. Any suggestions?
aspaceman,
Perhaps I owe you an apology. Having re-read that downloading from HP was unsuccessful I feel uncomfortable. Can I suggest you update your 10.6 system (as noted in your profile) to 10.6.8 (if it is not already there) by using the
Mac OS X 10.6.8 Update Combo v1.1 combo update plus any software updates that then apply. -
My iphone is gray or black it is functioning but you can not see the screen so I can not call or text or anything, I have a child that is very ill and I have to have access to a phone at all times can someone help me? It happened one other time when I plugged it in to my to listen to music. I know it is working it said something on voice control. I tried the press the circle button and the top button but the screen only turned white?
Try the following:
- A reset. Nothing is lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Restore from backup
- Restore to factory settings/new iPod.
If you still have the problem that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order -
I re-set password using specific user ID but when I put new password in it does not say incorrect password it just spins and spins never accepting it. What is the problem?
Update on my problem connecting in Itunes with my Airport Express. Not sure if anything I tried made a difference
but I finally got the Pop up window saying this device requires a Password. I entered the password and I can once again use the Airport Express as a remote speaker. -
I launched Muse today and it said there was an updated available. I installed it and then made a few small changes to my 5 page website. Then i exported the HTML and uploaded it to my server.
But now when i try browsing the site in Chrome, I get the following error message:
MuseJSAssert: Error calling selector function:ReferenceError: Spry is not defined.
The only changes I made were adding some text to a few pages and adding metadata info to each page and when viewing the exported HTML locally (prior to uploading) it all behaves as it should...no error messages.
Any ideas why its doing this? or more importantly, any suggestions on how to stop it from doing this? It wasn't doing this yesterday prior to me making these small changes.
Here's the URL: www.gardensbytheseaursery.com
Thanks in advance.
JakeThis error would occur if not all the files for the site we're uploaded.
The 2.0 update includes numerous improvements in the generated HTML, CSS and JavaScript, so while you may have directly changed only certain pages, if you're using an external FTP client all the exported files and folders need to be uploaded. (The new built-in FTP support automatically only generates and uploads files that have changed since the previous upload.)
Maybe you are looking for
-
Hi, I am currently using NetWeaver Developer Studio version 7.2 SP 0 and NetWeaver CE version 7.2 SP 0. I have this issue where I am able to get the EAR, Web Dynpro components but when I'm trying to deploy a process I am not able to, and I'm getting
-
Acrobat 9.0 pro extended: copying / pasting highlights to word
Hi there I've highlighted a number of paragraphs in a document, thinking that I would then just be able to quickly select the highlights and copy and paste them into a word doc. But although I can select a highlight, I can't copy / paste it :-/ Any h
-
Unable to open indt file in CS6
I am very new to InDesign, and I was sent a template file created in CS5 that I am unable to open. This is the error I am getting. Any advice or solutions are very much welcome! I haven't been able to determine what kind of plug ins are needed.
-
Error won't let me access another class(has got me tearing my hair off)
Alright peeps, so basically i have 2 buttons in the mainfraime class. The first button leads to the contestant's page and the second to the voters page. The first button works and directs the user to the PasswordDemo page, but to the hell of me i can
-
Database applet error in web browser
hi to all i have query in applet. MY APPLET IS USING ODBC AND CONNECTING TO ACCES. I HAVE CREATED POLICY FILE SO THAT I CAN DISPLAY APPLET IN APPLETVIEWER. APPLET RUNS FINE IS APPLETVIEWER WITH FOLLOWING COMMANDLINE Appletviewer -jDJava.security.poli