How create HTML-list with hierarchical query?
Hello all!
I have table HIE (name,id,par) with hierarchical structure (par=id)
As sample:
select name
FROM hie
CONNECT BY PRIOR id=par
START WITH par=0
Root
Branch 1
Lief 11
Lief 12
Bracnh 2
I need to create html-list from this table.
How can I select from that table the structured output with TAGs "UL" "LI":
<ul><li>root
<ul>
<li>branch 1
<ul>
<li>lief11</li>
<li>lief12</li>
</ul>
</li></ul>
<ul>
<li>branch 2</li></ul>
</li></ul>
Sql-Guru, please, help!
Message was edited by:
natalia.demidchick
Message was edited by:
natalia.demidchick
Message was edited by:
natalia.demidchick
Message was edited by:
natalia.demidchick
Message was edited by:
natalia.demidchick
Yes there was a mistake
Try this. It should be good
Processing ...
CREATE TABLE TAB_A AS (
SELECT 'ROOT' AS NAME,1 AS ID,NULL AS PARENT FROM DUAL
UNION ALL
SELECT 'BRANCH1' AS NAME,2 AS ID,1 AS PARENT FROM DUAL
UNION ALL
SELECT 'BRANCH2' AS NAME,3 AS ID,2 AS PARENT FROM DUAL
UNION ALL
SELECT 'LIEF1' AS NAME,4 AS ID,2 AS PARENT FROM DUAL
UNION ALL
SELECT 'LIEF2' AS NAME,5 AS ID,2 AS PARENT FROM DUAL
UNION ALL
SELECT 'BRANCH3' AS NAME,6 AS ID,1 AS PARENT FROM DUAL
UNION ALL
SELECT 'LIEF3' AS NAME,7 AS ID,2 AS PARENT FROM DUAL
UNION ALL
SELECT 'BRANCH5' AS NAME,8 AS ID,1 AS PARENT FROM DUAL
UNION ALL
SELECT 'LIEF4' AS NAME,9 AS ID,8 AS PARENT FROM DUAL
UNION ALL
SELECT 'LIEF5' AS NAME,10 AS ID,3 AS PARENT FROM DUAL
UNION ALL
SELECT 'LIEF6' AS NAME,11 AS ID,3 AS PARENT FROM DUAL
Processing ...
SELECT *
FROM TAB_A
Query finished, retrieving results...
NAME ID PARENT
ROOT 1
BRANCH1 2 1
BRANCH2 3 2
LIEF1 4 2
LIEF2 5 2
BRANCH3 6 1
LIEF3 7 2
BRANCH5 8 1
LIEF4 9 8
LIEF5 10 3
LIEF6 11 3
11 row(s) retrieved
Processing ...
CREATE GLOBAL TEMPORARY TABLE TEMP_TAB AS (
SELECT LEVEL AS LV,ROWNUM AS RN,A.*
FROM TAB_A A
WHERE (1=0)
START WITH PARENT IS NULL
CONNECT BY PRIOR ID = PARENT
Processing ...
INSERT INTO TEMP_TAB
SELECT LEVEL AS LV,ROWNUM AS RN,A.*
FROM TAB_A A
START WITH PARENT IS NULL
CONNECT BY PRIOR ID = PARENT
11 row(s) inserted
Processing ...
SELECT *
FROM TEMP_TAB
Query finished, retrieving results...
LV RN NAME ID PARENT
1 1 ROOT 1
2 2 BRANCH1 2 1
3 3 BRANCH2 3 2
4 4 LIEF5 10 3
4 5 LIEF6 11 3
3 6 LIEF1 4 2
3 7 LIEF2 5 2
3 8 LIEF3 7 2
2 9 BRANCH3 6 1
2 10 BRANCH5 8 1
3 11 LIEF4 9 8
11 row(s) retrieved
Processing ...
SELECT --LV,RN,1+(NVL(LAG(LV) OVER ( ORDER BY RN ASC),0)-LV+1) step,
--lead(LV) OVER ( ORDER BY RN ASC NULLS LAST) next_lev,
decode (lv-1,nvl(LAG(LV) OVER ( ORDER BY RN ASC),0),'<UL>','')||
'<LI>'||NAME||'</LI>'||
replace(
RPAD(chr(10),1+(lv-NVL(lead(LV) OVER ( ORDER BY RN ASC),0))*5,'</UL>'),
chr(10),
) AS HTML
FROM TEMP_TAB A
ORDER BY RN ASC
Query finished, retrieving results...
HTML
<UL><LI>ROOT</LI>
<UL><LI>BRANCH1</LI>
<UL><LI>BRANCH2</LI>
<UL><LI>LIEF5</LI>
<LI>LIEF6</LI></UL>
<LI>LIEF1</LI>
<LI>LIEF2</LI>
<LI>LIEF3</LI></UL>
<LI>BRANCH3</LI>
<LI>BRANCH5</LI>
<UL><LI>LIEF4</LI></UL></UL></UL>
11 row(s) retrieved
Processing ...
DROP TABLE TAB_A PURGE
Processing ...
DROP TABLE TEMP_TAB
SELECT LV,RN,1+(NVL(LAG(LV) OVER ( ORDER BY RN ASC),0)-LV+1) step,
lead(LV) OVER ( ORDER BY RN ASC NULLS LAST) next_lev,
decode (lv-1,nvl(LAG(LV) OVER ( ORDER BY RN ASC),0),'<UL>','')||
'<LI>'||NAME||'</LI>'||
replace(
RPAD(chr(10),1+(lv-NVL(lead(LV) OVER ( ORDER BY RN ASC),0))*5,'</UL>'),
chr(10),
) AS HTML
FROM TEMP_TAB A
ORDER BY RN ASC
/Bye Alessandro
Similar Messages
-
How to create a list with customised listItem
I want to create a list with 2 icons and text. I want to display one icon at the left, one icon to the right and text at center. Everytime my icon images might change. I want to know how create this type of list.
Ok, I managed to create a Text Bullet "Chapter" in level 1 but how can I join the numbering at level 2 on the same line ?
Pierre -
Creating Target group with Bi Query
Hi,
I am trying to create Target group with BI query, for that I created one query on real time info cube with 0BPARTNER, 0BP_GUID and selected all navigational attributes. In the query info object properties u2013 Advance setting I selecting u201C Values from Master Data Tableu201D & Access Type u201C Master Datau201D , In query Property u2013 selected u201C Allow External Access to Queryu201D
In CRM while creating Data source I can see the In objects selected in the query u2013 selected Business partner info object as 0BP_GUID ,In the attribute list I just selected one item Industry code against the above data source, while running the Segment Builder when I selected the industry code it gives me 0 business partner where as I am having 20 BP with that Industry code.
I appreciate your help ASAP.
Regards,
Rajiv JainHi Rajiv
I have the same issue with my BI Query. Hope you have resolved by now, if you have please do let me know.
What we have done is, created a BI Query and used this query in in CRM datasource, then created some filters where i can see the objects in the query while creating filters in Attributes List. But when we use these filters to create Target group, its not resulting any results in the query, i mean not brining any values on segmentation area. This issue is only in Production as we have already tested in Test and passed without any problems. But in Production we have this issue, i m not sure why this is happening, i spoke to BW team regarding this and they are not sure eitherl. If you know could you please let me know
Thank you in advance
Regards
shankar -
Creating Select List with multiple columns
I want to create a select list with multiple columns. I followed the demo application model described in the by Denes Kubicek (Currently my reference for APEX !!)
The code is as follows:
CREATE OR REPLACE FUNCTION getcrops(p_cropid IN NUMBER)
RETURN VARCHAR2
IS
v_cropid VARCHAR2 (400);
v_fcode VARCHAR2 (400);
v_product VARCHAR2 (400);
v_var VARCHAR2 (400);
v_fname VARCHAR2 (400);
v_acres VARCHAR2 (400);
v_style_start VARCHAR2 (400);
v_style_end VARCHAR2 (400);
v_return VARCHAR2 (400);
BEGIN
FOR c IN (select "CROP"."CROPID" as "CROP ID",
"CROP"."FIELDCODE" as "FIELD CODE",
"CARROTPRODUCTLIST"."CARROTPRODUCTNAME" as "PRODUCT",
"VARIETYLIST"."VARIETYNAME" as "VARIETY",
"FIELD"."FIELDNAME" as "FIELD NAME",
"CROP"."SIZEINACRES" as "ACRES"
from "FIELD" "FIELD",
"CARROTPRODUCTLIST" "CARROTPRODUCTLIST",
"VARIETYLIST" "VARIETYLIST",
"CROP" "CROP"
where "CROP"."CARROTPRODUCTTYPE"="CARROTPRODUCTLIST"."CARROTPRODUCTID"
and "CROP"."VARIETYID"="VARIETYLIST"."VARIETYLISTID"
and "CROP"."FIELDID"="FIELD"."FIELDID")
LOOP
v_cropid := TO_CHAR (c.'CROP ID', 'FML999G999G999G999G990');
v_fcode := c.'FIELD CODE';
v_product := c.'PRODUCT';
v_var := c.'VARIETY';
v_fname :=c.'FIELD NAME';
v_acres :=c.'ACRES';
FOR i IN 1 .. 12 - LENGTH (c."CROP ID")
LOOP
v_cropid := v_cropid || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'FIELD CODE')
LOOP
v_fcode := v_fcode || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'PRODUCT')
LOOP
v_product := v_product || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'VARIETY')
LOOP
v_var := v_var || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'FIELD NAME')
LOOP
v_fname := v_fname || ' ';
END LOOP;
FOR i IN 1 .. 12 - LENGTH (c.'ACRES')
LOOP
v_acres := v_acres || ' ';
END LOOP;
v_return := v_cropid || v_fcode || v_product || v_var || v_fname || v_acres;
END LOOP;
RETURN v_return;
END;
I created this anonymous Pl/SQL function at a application level ..Then I followed up to create a select list with a function inside. However I could not create select list with the command suggested in the demo which is
select getcrops(cropid) d, cropid r from crop;
APEX (2.1) returns a error message. What am I missing ? Should the function be called from somewhere else after creating a regular select list..? Where the functions (Pl/SQL) should be ideally stored for application level access..? and for across application level access ? How can I check the function works good. Help is appreciated.Still really one column.
If they need to be independent then you've got to have three selection lists.
% -
How to convert SQL Server hierarchical query (CTE) to Oracle?
How to convert SQL Server hierarchical query (CTE) to Oracle?
WITH cte (col1, col2) AS
SELECT col1, col2
FROM dbo.[tb1]
WHERE col1 = 12
UNION ALL
SELECT c.col1, c.col2
FROM dbo.[tb1] AS c INNER JOIN cte AS p ON c.col2 = p.col1
DELETE a
FROM dbo.[tb1] AS a INNER JOIN cte AS b
ON a.col1 = b.col1See: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_10002.htm#i2129904
Ah, just spotted it's a delete statement - you won't be able to do it using subquery factoring in Oracle.
I had a go at trying to convert for you, but notice that you reference the cte from inside the cte... I can only assume you have a table called cte too...
DELETE FROM dbo.tb1
WHERE col1 = 12
OR col2 IN (SELECT col1 FROM cte)
Edited by: Boneist on 22-Jun-2009 09:19 -
Creating a list with different row sizes...
I'm new to AS 3.0 and CS4 and I've been getting up to speed
on all of it. I've used the List component before with my own
CellRenderer. I now need to create a list with different row
heights. The List component is great and does everything that I
want but it requires all rows to be the same height.
I'm unsure of where to go. Creating my own class seems like a
lot of work. The TileList and Grid components don't allow different
sized (and dynamically changing) row heights either. Is there some
base class (SelectableList? BaseScrollPane?) that I should extend
or do I need to just bite the bullet and write it all from scratch?
I need each row to have it's own height and interaction with
a row could change the height of the row. The main use is a list of
data. If the user clicks in an item, it turns the display into
something they can edit (which will need more height).
Thanks for any thoughts on a direction I should think about.
By the way, I really like that AS 3.0 is much more consistent of a
programming language than previous MX versions that I've used.
We're doing a lot of AS/Flash/AIR work with it and it's turning
into a wonderful environment...Any ideas about this??
-
Problem with Hierarchical query
Gurus,
I have a problem with hierarchical query, which I am pasting below.
select sys_connect_by_path (Fname,'/')"PATH",Fname,id,level
,(SELECT COUNT(ID)-1 FROM (SELECT CONNECT_BY_ROOT LNAME LNAME,ID FROM CMT_PERSON
START WITH ID = 'emplo000000000126009'
CONNECT BY PRIOR ID=MANAGER_ID)
GROUP BY FNAME)"COUNT"
from CMT_PERSON
WHERE
LEVEL <= 4
----And ID='emplo000000000001877'
CONNECT BY PRIOR id=manager_id
----AND NOT LEVEL > 3
START WITH ID='emplo000000000126009'
As per the result, count is getting repeated for all the levels. That is, count is coming 16100 for every level, Can you please help where exactly I am going wrong
RegardsYou do not say anything about what count you want to get?
A wild guess could be:
select
sys_connect_by_path (p1.fname, '/') "PATH",
p1.fname,
p1.id,
level,
(select count (id) - 1
from
(select connect_by_root p2.lname lname, p2.id
from cmt_person p2
start with p2.id = p1.id
connect by prior p2.id = p2.manager_id)
) "COUNT"
from cmt_person p1
where level <= 4
connect by prior p1.id = p1.manager_id
start with p1.id = 'emplo000000000126009';Since your inner query simply starts with the hardcoded employee id, naturally it will give you the same count.
My guess is your inner query should start with the person id from the outer query?
If that is not the case - please state in plain english what you are trying to accomplish ;-)
(Oh, and please paste code within tags so we can read it more easily...) -
How create and work with Z output to meet the client requirment?
hi gurus,
I am SD functional consultant and need ur help
Please explain me how create and work with Z output .
How we arrange and change the fields in header and footer
where and how we do changes in Layouts setting and SAP scripts to meet the user requirments.
pls forward functional or Tech spec of Z output
points will be rewarded
thanx & regards
shabnumHi shabnum ,
I hope you can do it.
Goto SE71, enter form name--> click change
1) click in page window command button, Identify the header and footer window
2) single click on Header window and click change button(pencil symbol)
3) identify the fields and change order of the fields
I hope this will help to solve your issue
Regards,
SaiRam -
How create a DLL with module python?
Hello,
I am a beginner in TestStand,
I would like to know, how create a DLL with module Python? because for create a sequence, we must own a DLL.
Thank you for your answer
Vincent
Solved!
Go to Solution.Hello,
I would like use TestStand with Python module. So I believe, we must use a DLL for execute a test, I'm wrong because I can use .exe for realize a test.
Now I know how use TestStand with Python module but I have a mistake. I wonder which is error 255?
Whereas I use .exe in Language C, I have no error.
Thank you for your anwser.
Vincent
Attachments:
Setup_Test.jpg 244 KB
Report.jpg 258 KB -
How create and work with Z output to meet user req
hi gurus,
I am SD functional consultant and need ur help
Please explain me how create and work with Z output .
How we arrange and change the fields in header and footer
where and how we do changes in Layouts setting and SAP scripts to meet the user requirments.
pls forward functional or Tech spec of Z output
points will be rewarded
thanx & regards
shabnumHi
From SPRO do the all steps.
Goto SD-> BASIC functions->Output control->Output determination->Output determination by condition technique->Maintain Output determination for sales documents
Here define all like access sequences, Output types, condition tables and assign them to Program and Forms.
From SE71 copy the script to a Zscript and to modify it to suit your requirements and the same Zscript has to be assigned to Output type, Program in NACE transaction.
Reward points if useful
Regards
Anji -
Create a list with associated workflow from a list template.
Hi,
I have a calendar list with two workflows and I saved it as list template. Also I have an event receiver which creates a list based in this list template I created, but I noticed that the list is created without workflows. If I create the list
using the list template using SharePoint it does it with the workflows but my event receiver does not.
Here is my code:
if
(list == null){
web.AllowUnsafeUpdates =
true;
var lstTemp = web.Site.GetCustomListTemplates(web);
var template = lstTemp[listTemplate];
var listId = web.Lists.Add(listName,
string.Empty, template);
list = web.Lists[listId];
list.Title = listName;
list.OnQuickLaunch =
false;
list.Update();
web.AllowUnsafeUpdates =
false;
Thanks anyway.Hi,
According to my understanding, you have a list template contains workflow, you can create a new list with this template from UI. However, when create a list with this
template in Event Receiver, the workflow is missing.
I tried to reproduce by creating a list template contains an OOTB Approval workflow, then use an Event Receiver to create a list with this template, it turned out
that the workflow is attached to the newly created list.
I would suggest that you create another Event Receiver with the code snippet below to see if it is an issue of Event Receiver:
public override void ItemAdded(SPItemEventProperties properties)
base.ItemAdded(properties);
createListWithTemplateWithWF(properties);
public static void createListWithTemplateWithWF(SPItemEventProperties properties)
using (SPSite site = properties.Site)
using (SPWeb web = site.RootWeb)
SPListTemplateCollection listTemplates = site.GetCustomListTemplates(web);
SPListTemplate listTemplate = listTemplates["ListTemplate_List001_withWF"];
web.Lists.Add("List005", "List005", listTemplate);
Feel free to reply with the test result or if there any questions about this.
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
Hi, i'm trying to create a list with a PDV(Portal Data Viewer) iview but when i try to run the iview preview, the system's response is an error message:
Run-time portal error
Request elaboration error for:
iView : pcd:portal_content/it.capgemini_italy/itl_capgemini.test_pdv/itl.capgemini.PDV_Test
Component name: PortalDataViewer.XMLTemplate
com.sapportals.pct.util.pdv.PDVService.
Exception id: 02:45_29/09/04_0061
See the details for the exception ID in the log file
Does anibody has some advices to resolve the problem ?
Best regards,
NiK.Hi Detlev,
I send you the error log:
Sep 30, 2004 3:02:36 PM # Client_Thread_24 Fatal Exception ID:03:02_30/09/04_0122
com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Component : pcd:portal_content/it.capgemini_italy/itl_capgemini.test_pdv/itl.capgemini.iviewPDVtest
Component class : com.sapportals.pct.util.pdv.PDVComponent
User : gsette
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:863)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:311)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:143)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:195)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:589)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:143)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:195)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:644)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:209)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1245)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Caused by: java.lang.ClassCastException: com.sapportals.pct.util.pdv.PDVService
at com.sapportals.pct.util.pdv.PDVDynPage.doInitialization(PDVDynPage.java:92)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:94)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:143)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:195)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:589)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:143)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:195)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:644)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:209)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1245)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Do you have any idea about it?
Thanks.
Nick. -
How create data store with PermSize 512MB on WIN32?
Hi!
How create data store with PermSize > 512MB on WIN32? If I set PermSize > 512MB on WIN32, then data store becomes invalid.Thanks for the details. As I mentioned, due to issues with the way Windows manages memory and address space it is generally not possible to create a datastore larger than around 700 Mb on WIN32. Sometimes you may be lucky and get close to 1 GB but usually not. The issue is as follows; on Windows, a TimesTen datastore is a shared mapping created from memory backed by the paging file. This shared mapping must be mapped into the process address space as a contiguous range of addresses. So, if you have a 1 GB datastore then your process needs to have a contiguous 1 GB range of addresses free in order to be able to connect to (map) the datastore. Unfortunately the default behaviour of Windows is to map DLLs into a process address space all over the place and any process that uses any significant number of DLLs is very unlikely to have a contiguous free address range larger than 500-700 Mb.
This problem does not exist with other O/S such as Unix or Linux nor does it exist with 64-bit Windows. So, if you need to use a cache or datastore larger than around 700 Mb you need to use either 64-it Windows or another O/S. Note that even on 32-bit Linux/Unix TimesTen datastores are limited to a maximum size of 2 GB. If you need more than 2 GB you need to use a 64-bit O/S.
Chris -
Mr . Steven By ADF : how refresh country list with city list
Mr . Steven By ADF : how refresh country list with city list
if you have combo box(in Jdev : single select list)
two list ==> first one : country list
==> second one: city list
when select country from (country list) i want the city
list refresh and have only the city that in selected country .
note :
countryName and cityName are attribute in a view that have two table (country_table , city_table)Hi, I've tried this solution, the only problem is that my navigation controls are inserted in a form that is linked to a table.
Let me give you an example:
I have a form binded to a table say Problem
and in that form i have to linked drop lists named Category and Sub category.
The problem is that if I use the example, there's no way to link my problem field with the navigation control.
The other problem is that when I change the value of the Category list, it validates the form and I do not want it to be validated.
Can you help me.
Thx -
how create 1 dvd with 2 file
As you probably know, DVD creation in Compressor and FCPX is very limited – and it only accommodates single tracks.
But there is no reason why you can't put multiple movies on a single timeline in FCP. Separate them with inserted gaps and add chapter markers to provide some level of navigation among them.
Good luck.
Russ
Maybe you are looking for
-
New Install of CS5.5 - installs all but InDesign
With apologies for the long text below - I've attempted twice to install CS5.5 on my computer and each time it will load completely, except for InDesign. Here are the error codes and warnings - and I've submitted a package of information via the Supp
-
Runtime exception for Date format
Hi, Scenario : RFC to IDOC found the error in my payload : RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZORDERS06/IDOC/E1EDK03/DATUM. The message is: Unparseable date: "2008-05-19" at c
-
IPad crashed after attempting to install iOS 5.1
I attempted to update my iPad to iOS 5.1. When I did, I got a blue screen. I can not start my iPad, and it appears to have crashed. It won't even start up enough to restore. Any ideas?
-
Consumming java webservices in coldfusion
could somebody show me how to consume this webservice from within coldfusion? http://www.ripedev.com/webservices/ZipCode.asmx?WSDL" right now I invoke it as follows: <cfinvoke webservice=" http://www.ripedev.com/webservices/ZipCode.asmx?WSDL" method=
-
Max. available screen size for DVD
Hi! i´m making a SD-pproject and the actual PAL-size is 720x576. I gave the dvd to a friend an he told me that some letters from the menu are cropped?? which size can i take to be sure that evertything is accessable!? best greetings, max