Fetching embedded collection attributes

Hi guys,
I want to retreive a collection attribute of an object in Oci. Say, i have following types:
CREATE TYPE a AS VARRAY(10) OF NUMBER
CREATE TYPE b AS OBJECT( aa NUMBER, ab a)
CREATE TABLE c ( aaa b )
Now i have following query in my OCI-Application: SELECT aaa FROM c;
Since I don't know the types of the objects at compile time, I'm doing some stuff with OCIDescribeAny & friends to get the datatypes of the different objects. Everything went's fine until I want to access the attribute ab of type b. After succesfully getting the value of the attribute with OCIObjectGetAttr I cast the dvoid* I got from this function to OCIColl* and pass it to OCIIterCreate to create an iterator in order to access the collection elements. At this point however, OCI either delivers an invalid iterator, or even worse, crashes.
Everything wents fine if I have a embedded object attribute which is not an collection.
So, what am I'm doing wrong? Any suggestions?
Thanks a lot in advance!

Hi guys,
I want to retreive a collection attribute of an object in Oci. Say, i have following types:
CREATE TYPE a AS VARRAY(10) OF NUMBER
CREATE TYPE b AS OBJECT( aa NUMBER, ab a)
CREATE TABLE c ( aaa b )
Now i have following query in my OCI-Application: SELECT aaa FROM c;
Since I don't know the types of the objects at compile time, I'm doing some stuff with OCIDescribeAny & friends to get the datatypes of the different objects. Everything went's fine until I want to access the attribute ab of type b. After succesfully getting the value of the attribute with OCIObjectGetAttr I cast the dvoid* I got from this function to OCIColl* and pass it to OCIIterCreate to create an iterator in order to access the collection elements. At this point however, OCI either delivers an invalid iterator, or even worse, crashes.
Everything wents fine if I have a embedded object attribute which is not an collection.
So, what am I'm doing wrong? Any suggestions?
Thanks a lot in advance!

Similar Messages

  • How to do Collective Attribute Change Run ?

    Hello SDN s,
    How ya all ?
    I have maintained about 20 Master Data Attribute InfoPackages in a Process Chain. I planned to do a Collective Attribute Change Run, I dragged & dropped the ATTRIBUTE CHANGE RUN process from expanding the OTHER BW PROCESS TYPE created a Process Variant for that and here i got struck !!! ???
    What to give in the OBJECT TYPE & OBJECT NAME entries ? In the OBJECT TYPE InfoObject is there, but what about the OBJECT NAME ? what i should select ? It is a collective one.
    Faster Replies would make me to learn faster !!!
    Thanks !!!
    Best Regards....
    Sankar Kumar
    +91 98403 47141

    Hello BhaNu,
    How r u ?
    Happy to see your reply man, sorry Woman
    So u r saying that i have to maintain the entries for each and every InfoObject ??
    Suppose, if i load the attributes for 100 InfoObjects then i have to maintain the entries for all of them ?
    Best Regards....
    Sankar

  • Fetch a resource attribute using Last name

    Hi All,
    I need to fetch a resource attribute 'employeeID' from AD, all I know is only Last Name (I don't know the accountId). How can I acheive this?
    Is it possible through EXPRESS or do I need to write a java program.
    Please share your ideas.
    Thanks in advance

    It is possible (with XPRESS) but the search criteria of Last Name will result in lots of erroneous matches. If at all possible, find additional or alternative search criteria to narrow down the field.
    Here's some example code for retrieving results from an Active Directory resource. It was written to be used in the Form context (changes would be required if you were executing from a Workflow context).
                  <defvar name='results'>
                    <invoke name='getResourceObjects' class='com.waveset.ui.FormUtil'>
                      <ref>:display.session</ref>
                      <s>person</s>
                      <s>Active Directory Resource Adapter</s>
                      <map>
                        <s>searchContext</s>
                        <ref>baseDN</ref>
                        <s>searchAttrsToGet</s>
                        <List>
                          <String>cn</String>
                        </List>
                        <s>searchFilter</s>
                        <concat>
                          <s>(sn=</s>
                          <ref>lastnameValue</ref>
                          <s>)</s>
                        </concat>
                        <s>searchScope</s>
                        <s>oneLevel</s>
                      </map>
                    </invoke>
                  </defvar>baseDN specifies where in the AD tree to start searching (e.g. "cn=Users,dc=Acme,dc=com")
    lastnameValue is the lastname you're searching on (e.g. "Smith")
    results will be a List of the cn attributes that came back from the search (specified in the List under searchAttrsToGet). You need to put logic around the results to handle the List appropriately.
    Use standard LDAP-style search filters in the searchFilter section if you need to add additional qualifiers.
    Jason

  • How can I extract data from embedded collection??????

    I have 4 classes (class1, class2, class3, class4). Each of them contains properties, methods and a set (HashSet). The set declaration code is: private Set set1;
    The initialization occurs in the appropriate method (however I did declare and initialize as private Set set1= new HashSet(); without success). Each Set is declared and initialize in their own class. The insert and update method works perfectly well.
    When I load class1 object, I can see at runtime in the debug feature all properties data as well as all set elements (set1, set2, set3, and set4). I can extract the data from all properties belongs to the class1 as well as the set1 element. However I cannot extract the data from the set2, set 3 and set4. By writing the following �String s = class1.set1(). Property name;� and I will get the information. The problem that I have is that I cannot write the following �String s= class1.set1().set2().property name;� since set2 cannot be seen. What should I do to get the info from the other set collection???? The loading method provide an object that contains everything. This object is equal as class1 and the set are embedded one inside the other.
    Used hibernate and Struts.
    Could someone help???? Many thanks

    Are we talking about Java source code here or some weird expression language?
    Can you post a minimal, example Java program that demonstrates your problem?

  • I can't see some collection attributes in the DSAME

    Hi, this is the problem: i want to edit some collection type attributes like channelsHasFrame, channelsRow, channelsColumn... in a Container with the DSAME but the attributes didn't appears, if I try to create them, the DSAME warn me that all ready exists. The advance property for the attributes in the display profile has a false value. Why the attributes aren't displayed in the DSAME?

    That's the point I'm trying to tell. Account works weirdly. I bought so many apps with this id and I'm having a problem with some free apps. Free apps also have to appear on every account's purchases tabs (I tried with my friend's account on his MBP and it works as it has to be) but in my account don't. I'm using only one id on my computer and there is no chance to mixing up. I'm having this problem almost more than 1 year. I completely lost my Garageband, iMovie and iPhoto and I can't get them back to my account's purchases tab even I install them from store...

  • Arrays for collection attribute in html:options

    I would like to use an array with Struts' options tag,
    using the array index for the options' 'value' attributes.
    <html-el:select property="style" value="${listForm.style}">
    <html-el:options collection="styles" property="index" labelProperty="value"/>
    </html-el:select>
    "index" being the index into the array, and 'value' the String at styles[index].
    Is this possible?

    You can do this with the FormattedDataSet using the ##rowNum variable.
    steve - http://www.fdsapi.com - The easiest way to generate dynamic xml and html.

  • Fetch a session attribute without transfer it as parameter

    Hellow everyone, now I meet a greate problem:
    I put a session attribute with a code (as identifier) in HttpServletRequest,
    but do not know if there is any way to fetch it from request object in a none servlet/jsp class
    without transfer the HttpServletRequest object? for example, should I use some context object fetch it
    directly from context rather than from request object.

    Hi!
    If you want to fetch the session object without transfering the parameters, then you can try with the getAttributeNames() method of the HttpSession Interface.
    Try it out!
    If u face any problem mail me, here itself or else to my mail id : [email protected]
    Regards,
    dinesh

  • Base classes with Collection attributes

    I have a question. Suppose I have a base class A, an abstract base class
    to be exact, and subclasses B and C. Assume A has an attribute of
    Collection type, let's call it collectionImpl. Now I would like subclasses
    B and C to be able to have elements of different types along the lines of
    what I've outlined below.
    Strictly speaking, class A wouldn't have to be PC, since I primarily care
    of B and C but I wanted to show the structure.
    <class name="A" persistence-capable-superclass="A">
    <field name="collectionImpl">
    <collection element type="someType"/>
    </field>
    </class>
    <class name="B" persistence-capable-superclass="A">
    <field name="collectionImpl">
    <collection element type="someOtherType"/>
    </field>
    </class>
    So, how would one express this?
    Scott

    Understood. Now for bit more clarification. Given my earlier example, what
    if classes A, B and C implement the java.util.Collection interface. Does
    Kodo have in issue with that? I know Kodo has this ProxyCollection stuff
    but I don't really want to do that, nor do I think I really need to given
    what I'm trying to accomplish.
    The issue I'm having now is that the Kodo Enhancer is complaining that no
    element-type is declared when I have an attribute of class type B for
    example (implementing java.util.Collection) even though an element type is
    declared for the that actual Collection object held in the base class of B
    (A).
    <class name="A" requires-extent="false">
    <field name="impl">
    <collection element-type="SomeType"/>
    <extension vendor-name="kodo" key="ordered" value="true"/>
    </field>
    </class>
    <class name="B" persistence-capable-superclass="A"
    requires-extent="false"/>
    Class "A" extends java.util.AbstractSet, impl is an instance of
    java.util.Collection.
    All this was working quite well until I made some updates recently
    although the basic implementation is the same. Logically I don't know what
    I might have done to cause the new error message.
    I'm using v2.5.2 BTW.
    Scott
    Stephen Kim wrote:
    The one thing to note is that if you do not make A persistent capable,
    you cannot persist fields -declared- in A or query starting from A.
    Scott A. Leschke wrote:
    Can I acheive the same effect by making A be non-PC and provide a abstract
    protected method that will be used by a to access the collection
    implemented in the sub-classes as you suggest (ie. Collection
    getCollectionImpl())?
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Fetch a multivalued attribute using Data Bean

    Hello,
    I am trying to fetch employee user related information using Data Bean.
    Here employee has position as a multivalued attribute.
    Currently when I fetch record for an employee I get information only for one position.
    I want to fetch the whole list of position's assigned to this employee.
    Can any one please help me on how to achieve this?
    Thanks,
    Harshal

    Please read the Bookshelf on GetMVGBusComp.
    http://docs.oracle.com/cd/E14004_01/books/OIRef/OIRef_Interfaces_Reference11.html#wp1185173

  • XPath expression for fetching element names & attributes

    Hi out there!
    I�m trying to get a result set out of a xml schema, using XPath. The problem is, that any expression gets just a whole node set back, as it seems. The result I�d like to get would be the following. Imagine I got a schema like this:
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:r="http://recipes.org"
    targetNamespace="http://recipes.org"
    elementFormDefault="qualified">
    <element name="recipe">
    <complexType>
    <sequence>
    <element name="title" type="string"/>
    <element ref="r:ingredient" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="r:preparation"/>
    <element name="comment" minOccurs="0" type="string"/>
    <element name="nutrition">
    <complexType>
    <attribute name="protein" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="carbohydrates" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="fat" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="calories" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="alcohol" type="r:nonNegativeDecimal" use="optional"/>
    </complexType>
    </element>
    </sequence>
    </complexType>
    </element>
    </schema>
    Now, when I`m refering to the element <attribute name="protein" type="r:nonNegativeDecimal" use="required"/>, I would like to get all ancestors of it, which is not a big issue at all, but i`d just like to get their names and attributes, if they have some. So the result should be something like:
    <element name="recipe">
    <complexType>
    <sequence>
    <element name="nutrition">
    <complexType>
    </complexType>
    </element>
    </sequence>
    </complexType>
    </element>
    Any ideas anybody?
    Thanks in advance, Jens

    Well, I would use the org.apache.xpath.XPathAPI class and parse the input XML into a DOM document., and then utilize the single xpath expression //attribute[@name=protein]/ancestor::* to recover all ancestors (in a directal-tree-traversal order) of any node called "attribute" and with attr "name=protein" .
    Could it be?

  • Saving/fetching extended user attribute

    I recently got rid of all of my global.* attribute references because both in experience and in quite a lot of stated opinions here in the forum, it was the right thing to do.
    Everything is working great except my sole extended user attribute, which is basically an employee ID. It has a good IDMAttributeConfiguration and IDMObjectClassAttributeConfiguration defined in IDMSchemaConfiguration. In my active sync form I set accounts[Lighthouse].myAttributeName, and in the field directly after it I trace the value out to catalina.out so I can see that it's all good.
    But when I bring up the user in a view user form, myAttributeName is nowhere to be found as I look through all of the local variables via the debugger. In particular, none of these exist:
    accounts[Lighthouse].myAttributeName
    waveset.attributes.myAttributeName
    waveset.myAttributeName
    global.myAttributeName
    I'm running 8.0.0.4 (I'd like to get this last bit to production before I upgrade to 8.1.x). I've triple-checked to make sure there aren't typos.
    What am I forgetting? I feel like it must be something pretty basic...
    Thanks in advance, -Les
    Edited by: LesL on Apr 12, 2010 4:21 PM

    PaulHilchey wrote:
    I believe accounts[Lighthouse].myAttributeName should do what you want, but be sure you don't have any "global" references at all.
    If you've got even one global reference it would trigger the global propagation mechanism that could mess you up.Paul,The default tabbed user form pulls in IdentityContent from User Library, which uses "global" references for firstname, lastname, fullname, email, idmManager. Do you use the default IdentityContent, or you do replace the name fields with accounts[Lighthouse] references? When you update firstname (say) in activesync, do you refer to it in the global or accounts[Lighthouse] namespace?
    I discovered something else unexpected that feels related. In my IDM schema configuration, I had correctly formatted IDMAttributeConfiguration and IDMObjectClassAttributeConfiguration entries for my attribute, but I had inserted them alphabetically in the configurations. My attribute name begins with a "c", and it came at the top of the lists as presented in the XML source. In that state, my attribute was no longer listed in the Identity Manager Attributes in the Rule Argument pull down list when assigning a conditionally contained role. But when I moved the IDMAttributeConfiguration and IDMObjectClassAttributeConfiguration entries for my attribute to follow the entries for lastname (and restarted the app server), then my attribute became listed in the pulldown! How odd.
    I have reset my equivalent of IdentityContent to use "global" instead of "accounts[Lighthouse]" and have fixed most of the issues except for an odd race condition in activeSync. I did that before I made the schema configuration changes above, though, so more testing is required. I'll write back if I find out anything interesting.

  • (8I) COLLECTION TYPE 변경 방법

    제품 : SQL*PLUS
    작성날짜 : 1999-05-12
    COLLECTION TYPE 변경 방법
    =========================
    collection type은 attribute나 column의 데이타 타입으로
    사용된다. 이전에 정의한 collection type의 property를 변경해야
    하는 경우가 종종 발생하게 되는데 그 작업이 간단하지 않다.
    ALTER TYPE문은 spec이나 body를 재컴파일하거나, member를 추가
    하는 경우에는 사용할 수 있지만 현재 collection의 property를
    바꿀수는 없다. 만약 변경하려한다면 다음 에러가 날 것이다.
    ORA-22319: type attribute information altered in ALTER TYPE
    collection의 property 를 변경하기 위해서는 collection을 drop
    한 후, 다시 만들어야 하는데 참조하는 오브젝트가 존재하는 경우
    dependency 문제로 인해 collection type을 drop 할 수도 없다.
    ORA-02303: cannot drop or replace a type with type
    or table dependents
    즉, Oracle 8i 이전에는 collection의 attribute를 변경하려면
    parent table과 collection type을 모두 drop한 후, 재생성
    해야만 했다.
    그러나 Oracle 8i new feature인 ALTER TABLE DROP COLUM문을
    이용하여 parent table을 drop하지 않고도 collection type의
    attribute를 변경할 수 있게 되었다.
    다음은 parent table을 drop하지 않고 collection (nested table)을
    변경하는 예제이다.
    SQL> /* object type 선언 */
    SQL> create type object_type as object (
    col1 number,
    col2 varchar2(20));
    SQL> /* nested table type 선언*/
    SQL> create type object_ntable as table of object_type;
    SQL> /* parent table 생성 */
    SQL> create table master (
    col1 number primary key,
    col2_list object_ntable)
    nested table col2_list store as master_col2;
    SQL> insert into master values (1,
    object_ntable(object_type(1,'1'),
    object_type(1,'2'),
    object_type(1,'3')));
    SQL> insert into master values (2,
    object_ntable(object_type(2,'1'),
    object_type(2,'2'),
    object_type(2,'3')));
    SQL> commit;
    1. 기존에 저장된 collection data를 임시 table에 저장.
    SQL> create table temp_detail as
    select m.col1 "MASTER_COL1", n.col1, n.col2
    from master m, table(m.col2_list) n;
    SQL> select * from temp_detail;
    MASTER_COL1 COL1 COL2
    1 1 1
    1 1 2
    1 1 3
    2 2 1
    2 2 2
    2 2 3
    2. parent table의 nested table column을 drop 하기
    3. nested table type을 drop하기.
    4. object type을 drop하기.
    SQL> alter table master drop column col2_list;
    SQL> drop type object_ntable;
    SQL> drop type object_type;
    5. attribute을 변경한 object type을 재생성하기
    6. nested table type을 재생성하기.
    SQL> create type object_type as object (
    col1 number,
    col2 varchar2(30));
    SQL> create type object_ntable as table of object_type;
    7. parent table에 nested table column을 추가하기.
    SQL> alter table master add (col2_list object_ntable)
    nested table col2_list store as master_col2;
    8. 임시 테이블에 저장했던 data를 nested table에 저장하기.
    SQL> update master m
    set col2_list = (cast(multiset(
    select col1, col2
    from temp_detail
    where master_col1 = m.col1)
    as object_ntable))
    where col1 in
    (select distinct master_col1 from temp_detail);
    SQL> select * from master;
    COL1
    COL2_LIST(COL1, COL2)
    1
    OBJECT_NTABLE(OBJECT_TYPE(1, '1'), OBJECT_TYPE(1, '2'), OBJECT_TYPE(1, '3'))
    2
    OBJECT_NTABLE(OBJECT_TYPE(2, '1'), OBJECT_TYPE(2, '2'), OBJECT_TYPE(2, '3'))
    * TABLE(), DROP COLUMN 절은 Oracle 8i new features 이다.

    each member of the insert must be a collection, hope this eample helps;
    CREATE OR REPLACE PROCEDURE fast_way IS
    TYPE parent_rec IS RECORD (
    part_num dbms_sql.number_table,
    part_name dbms_sql.varchar2_table);
    p_rec parent_rec;
    CURSOR c IS
    SELECT part_num, part_name
    FROM parent;
    l_done BOOLEAN;
    BEGIN
    OPEN c;
    LOOP
    FETCH c BULK COLLECT INTO p_rec.part_num, p_rec.part_name
    LIMIT 500;
    l_done := c%notfound;
    FORALL i IN 1 .. p_rec.part_num.COUNT
    INSERT INTO child
    (part_num, part_name)
    VALUES
    (p_rec.part_num(i), p_rec.part_name(i));
    EXIT WHEN (l_done);
    END LOOP;
    COMMIT;
    CLOSE c;
    END fast_way;
    /

  • Wrong value for cursor%notfound while using bulk collect

    Hi,
    If the limit value is greater then the amount of rows which were fetched, then cursor attribute %NOTFOUND is TRUE.
    Why it's not FALSE because one value was fetched.
    I made a little example.
    The second procedure doesn't produce an output, but the first one does.
    SQL> CREATE TABLE testing AS SELECT 1 id FROM dual;
    Table created.
    SQL> DECLARE
      2    TYPE array IS TABLE OF testing.id%TYPE;
      3    l_data array;
      4
      5    CURSOR cur_test IS
      6      SELECT id FROM testing;
      7  BEGIN
      8    OPEN cur_test;
      9    LOOP
    10      FETCH cur_test BULK COLLECT INTO l_data <b>LIMIT 1</b>;
    11      EXIT WHEN cur_test%NOTFOUND;
    12      dbms_output.put_line('value='||l_data(1));
    13    END LOOP;
    14    CLOSE cur_test;
    15  END;
    16  /
    <b>value=1</b>
    PL/SQL procedure successfully completed.
    SQL> DECLARE
      2    TYPE array IS TABLE OF testing.id%TYPE;
      3    l_data array;
      4
      5    CURSOR cur_test IS
      6      SELECT id FROM testing;
      7  BEGIN
      8    OPEN cur_test;
      9    LOOP
    10      FETCH cur_test BULK COLLECT INTO l_data <b>LIMIT 10</b>;
    11      EXIT when cur_test%NOTFOUND;
    12      dbms_output.put_line('value='||l_data(1));
    13    END LOOP;
    14    CLOSE cur_test;
    15  END;
    16  /
    PL/SQL procedure successfully completed.
    SQL> spool off;
    Thanks
    Ants

    Why not bulk fetching only one time and not loop?
    I would say it is working as intended. %FOUND / %NOTFOUND only tells you if there are rows left to fetch. Good that you are now aware of it.
    Also think at possibilities like .FIRST, .LAST or SQL%BULK_ROWCOUNT
    From the oracle documentation: "%NOTFOUND Attribute
    This is a cursor attribute that can be appended to the name of a cursor or cursor variable. Before the first fetch from an open cursor, cursor_name%NOTFOUND yields NULL. Thereafter, it yields FALSE if the last fetch returned a row, or TRUE if the last fetch failed to return a row."

  • A series of questions on getting and doing some operations on VO attributes

    hi all,
    i am fresher working in OA framework...
    i have some basic doubt please clear them
    1.
    v get some parameters for the pages...what is that v get as a parameter.. in the navigated page we give this as URL...
    OA.jsp?page=oracle/apps/ak/employee/webui/EmpDetailsPG
    &employeeNumber={@EmployeeId}
    now what is this EmployeeId ..is this a VO attribute????or a page parameter..i guess it is VO attribute.. just clarify me this...
    2.
    how to assaign a VO attribute value to other VO attribute..
    i mean how to fetch the value of a VO attribute
    and assaign a value to VO attribute...
    can i use ..******VORowImpl class for this...can please tell me the syntax to fetch
    current vo attribute (say employee id).
    3.
    how to perform the arthemetic operations on VO attributes...
    like if i can calculate them by fetching there values and assigning them to local varaibles and storing the result to transient attribute...using set parameter???
    can i do this way??
    4.i have page table layout region and i have many rows in that ...i have a column say xyz now i want the sum of all xyz in all rows ...is that possible ..if it is how..????
    please help me out in this issues...so that i can proceed further with my work..im stuck otu here....if the solution r there in the devguide please tell me where it is ..i mean under which section...bcoz it 1400page document...

    Please refrain from posting the same questions in mutiple threads.
    Prior to posting the questions please try to search the devguide and the forum.
    Yes, the devguide is 1400 pages long, but most of the sections section titles are self-explanatory.

  • How to get the checked attribute of a checkbox item from a PL/SQL process?

    Hello,
    I have a simple static form with one checkbox linked to a LOV containing one single value. I use this checkbox just to enable/disable other fields via Javascript. I am interested to fetch the "checked" attribute of this checkbox (and not the value of the checkbox) from an After Submit PL/Sql page process, so that I can process only the enabled fields.
    I can already imagine a workaround where we may store via Javascript the checked attribute of this checkbox in an hidden page item and then getting it from there, but I would really like to avoid it, as it would add unnecessary complexity and I would have to add more code to keep the hidden item always in synch with the checkbox status.
    Is there something like the V('page_item') PL/Sql function that can get a different attribute from a page item (like the checked one from a checkbox) and not only its value?
    I searched the forum for an answer to my question, but I couldn't find anything related.
    Thanks a lot,
    Paolo

    Paolo,
    HTML checkboxes are POSTed only if they are checked. So if your "checked" value is 'Y', for example, then your after-submit process can check if the item's value is 'Y' or not. Of course, you must be careful to set that item to null (or some non-checked value) in session state during page rendering so that previous values are not retained.
    Scott

Maybe you are looking for

  • Does the Microsoft desktop 2000 work on the new Mac mini (2011)

    I was wondering; does Microsofts desktop 2000 wireless keyboard and mouse work with the new 2011 Mac Mini? It says it requires a disk installation for software or something like that, and the new mini doesn't have an optical drive.. Please answer as

  • Printing to PDF from Turbocad

    I have Adobe version 7 pro, Vista 64 bit and Turbocad version 15 and I am having trouble printing to PDF. First off, I have to print to PRN file because if I print to PDF it just locks up.  Sometimes printing to PRN works great and lots of times (lik

  • Group by and max

    I am having problem in contructing a query. I have table where I have to retrive records which have maximum version no only. There may be records with same name but with diffrent versions. here are the colums: status 0 means active and 1 means obsele

  • Bar chart display problem

    Hello, In a page bean, a code is written to produce a bar chart image. The chart image is successfully created in app server's local directory c:\mycharts What URL should be given to view this image from the browser. Since this image is created dynam

  • 4.2.0 version Authoring wizard Step 4 Nullpointer

    OHJ4.2.0 version. Authoring Wizard started. from bin directory Click to Step 4 of 10. Add a View. In the DataLocation, press Browse. now Press Cancel on the FileSelector dialog. Since the file is Null, it results in nullpointer. C:\Program Files\ohel