What is Oracle Java Class Type?

Hi,
I read a oaf coding stand document.it said that "Can not use database Java(Oracle Java Class Type)".do anyone know what is Oracle Java Class Type?
Thanks & Regards
binghao

Are you using the internal converer?
<af:inputText value="#{bindings.MyClobContent.inputValue}"
label="#{bindings.MyClobContent.hints.label}"
converter="oracle.genericDomain"
required="#{bindings.MyClobContent.hints.mandatory}"
columns="#{bindings.MyClobContent.hints.displayWidth}"
maximumLength="#{bindings.MyClobContent.hints.precision}"
shortDesc="#{bindings.MyClobContent.hints.tooltip}"
id="it2" rows="10">
<f:validator binding="#{bindings.MyClobContent.validator}"/>
</af:inputText>
If it does not work, create & use custom converters as mentioned in the above thread.
Thanks,
Navaneeth

Similar Messages

  • What's the Java Class Type corresponding 2 projectGantt's SubTasks Accessor

    Hi,
    I expose my java class as data control, and use the data control as a projectGantt. I get problem when i try to set the SubTask Accessor.
    I have a Fusion Web App, in the Model project, i write 2 java class: ( all the private fields has public gettors and settors which are omitted here)
    1
    public class GanttTask {
    private List<GanttTask> _subTaskList = new ArrayList<GanttTask>();
    2
    public class GanttDataControl {
    private List<GanttTask> _dataList;
    I expose the 2nd class: GanttDataControl.java as a data control by right click on it and select _"Create Data Control "_ from the drop down list.
    The data control creation is ok.
    I Drag&Drop the +"dataList"+ from the data control as a projectGantt, and only finish the data binding in the _"Tasks"_ tab.
    I run the page, the projectGantt shows ok with a FLAT(list) structure.
    I try to set the binding in _"Subtasks"_ tab.
    In the _"Subtasks Accessor"_ LOV, the +"subTaskList"+ appears in the LOV.
    I select it and finish the binding below it.
    I try to run the page again, the page cannot be showed and an error appears in JDeveloper:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    oracle.jbo.NoDefException: JBO-25058: Definition subTaskList of type Attribute is not found in ViewDefGanttTask1_7.
         at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:7100)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding.getRootNodeBinding(FacesGanttBinding.java:157)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getParent(RowDataManager.java:312)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getRowCount(RowDataManager.java:287)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding$GanttModel.getRowCount(FacesGanttBinding.java:465)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding$ProjectGanttModel.getRowCount(FacesGanttBinding.java:613)
         at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichProjectGanttRenderer.encodeGantt(RichProjectGanttRenderer.java:388)
         at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichGanttRenderer.encodeAll(RichGanttRenderer.java:1307)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:538)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1273)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <15-Feb-2012 11:46:59 o'clock CST> <Error> <HTTP> <BEA-101020> <[ServletContext@19732978[app:testGantt0214 module:testGantt0214-ViewController-context-root path:/testGantt0214-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.NoDefException: JBO-25058: Definition subTaskList of type Attribute is not found in ViewDefGanttTask1_7.
         at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:7100)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding.getRootNodeBinding(FacesGanttBinding.java:157)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getParent(RowDataManager.java:312)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getRowCount(RowDataManager.java:287)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding$GanttModel.getRowCount(FacesGanttBinding.java:465)
         Truncated. see log file for complete stacktrace
    >
    <15-Feb-2012 11:46:59 o'clock CST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 15-Feb-2012 11:46:59 o'clock CST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 15-Feb-2012 11:46:59 o'clock CST SERVER = DefaultServer MESSAGE = [ServletContext@19732978[app:testGantt0214 module:testGantt0214-ViewController-context-root path:/testGantt0214-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.NoDefException: JBO-25058: Definition subTaskList of type Attribute is not found in ViewDefGanttTask1_7.
         at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:7100)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding.getRootNodeBinding(FacesGanttBinding.java:157)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getParent(RowDataManager.java:312)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getRowCount(RowDataManager.java:287)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding$GanttModel.getRowCount(FacesGanttBinding.java:465)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding$ProjectGanttModel.getRowCount(FacesGanttBinding.java:613)
         at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichProjectGanttRenderer.encodeGantt(RichProjectGanttRenderer.java:388)
         at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichGanttRenderer.encodeAll(RichGanttRenderer.java:1307)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:538)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1273)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = Pen-PC TXID = CONTEXTID = 026fd69aaf53f3f5:-30631c41:1357f1e4b9d:-8000-0000000000000028 TIMESTAMP = 1329277619970
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000

    i try to manually add the subTaskList from the data control to the page's "Bindings", it doesnt work.
    I solve this problem by using VO & View Link. Add using AM to expose data control.
    In the SubTasks dropdown list, I notice that, there is an additional SubTasks accessor which is the accessor that i defined in the View Link.
    I use this accessor, problem solves!

  • Recursivity in Oracle Java Class Generator from XML

    I am about to start using Oracle XDK for marshalling/unmarshaling XML documents but
    I need to know if the generator will be able to create correctly the java classes
    from a DTD that is recursive :
    <!-- #[START] -->
    <!ELEMENT node ( date, symbol, node* ) >
    <!ATTLIST node
    name ID #REQUIRED
    ref IDREF #IMPLIED >
    <!ELEMENT date (#PCDATA) >
    <!ELEMENT symbol (#PCDATA) >
    <!-- #[END] -->
    and also, if given a recursive XML (e.g. one compliant with the DTD presented above)
    it will be able to parse correctly the XML into the java classes.
    cheers
    francesc

    well, after having had to try out myself this specific functionality of the
    product, I'm happy to say that YES it works and unlike JAXB
    (maybe I didn't try hard enough with SUN JAXB) it allows recursivity of complex types.
    However, I'm not so happy with the lack of replies in this unattended (or so it seems!) forum
    cheers

  • Extending the oracle java classes for PJCs - Help!

    In developer6 (forms) - I am trying to create my own version of
    certain forms components, without much look.
    I have created an item in forms, ie. Checkbox, in the
    'Implementation Class' field I called my java class.
    My code 'extends VCheckbox' and I have created my own paint()
    mthoed.
    Whilst it does call and run my code there are several problems.
    Mainly being that I cannot change the size the component - I have
    seen the demo source code - and the examples of what I am trying
    to do are less than simple (read: less than useless).
    I dont not want a java bean. The forms help says I should be able
    to extend the above class okay - but doesnt say what limitations
    there are or what functionality there is in the oracle.forms.ui
    classes.
    Has anyone else actually achieved anything other than JavaBean
    components?
    null

    : Have you seen the RolloverButton example ?
    : It is under Forms documentation in TechNet
    : and is quite advanced.
    No, have search Dev6 manuals, can not find this by searching
    Technet either - can you specify (provide URL)?
    I am trying to re-implement the VCheckbox using Smoking/No
    Smoking images. I can create the images, but the toggling action
    does not work when the component size is greater than the
    original subclassed component.
    None of the examples show creating components of sizes that
    differ from the subclass.
    Surely I only need to override paint() method?
    Code fragment:
    import ....
    public class ImageToggler extends VCheckbox {
    // ... does initialisation of images ....
    // ... Images are 32x32 ...
    public void paint( Graphics g ) {
    if ( getState() == true ) {
    g.drawImage( ysSmoke.getImage(), 0, 0,
    ysSmoke.getIconWidth(),
    ysSmoke.getIconHeight(), this );
    } else {
    g.drawImage( noSmoke.getImage(), 0, 0,
    noSmoke.getIconWidth(),
    noSmoke.getIconHeight(), this );
    null

  • Javadoc for oracle java classes

    Hi there!
    Is there anywhere a Javadoc for all Oracle Java Packages? I've found a Javadoc for oracle.forms.Jdapi, but it would be useful to get a Javadoc for all Oracle classes
    thx
    Christian

    Hi,
    some of teh JavDocs are contained in the JDeveloper online help, others are available in the documentation
    http://download-uk.oracle.com/docs/cd/B31017_01/web.htm
    If you are aftre Forms related Javadocs, the Oracle Forms UI docs are not published
    Frank

  • SQL user defined type mapping with Java Class type

    SECRET_TAB_TYPE is userdefined type in SQL Schema. but accessing this way it is giving invalid column type error(see code below )??
    I have made a class with same name attributes as in SQL Type
    Connection con = DriverManager.getConnection(URL,Username, Password );
    java.util.Map map = con.getTypeMap();
    map.put("SchemaName.SECRET_TAB_TYPE",Class.forName("SECRET_TAB_TYPE"));
    CallableStatement pstmt = con.prepareCall( "{ call smartapi.FetchSharedSecret(?,?,?,?,?,?) }" );
    pstmt.setString(1,"SM");
    pstmt.setString(2,"BT");
    pstmt.setString(3,"COM");
    pstmt.registerOutParameter(4, Types.JAVA_OBJECT);//
    pstmt.registerOutParameter(5,Types.VARCHAR);
    pstmt.executeQuery();
    secret_tab=(SECRET_TAB_TYPE)pstmt.getObject(4);
    message= pstmt.getString(5);

    STATS_T_TEST_
    docs.oracle.com/cd/B19306_01/server.102/b14200/functions157.htm 
    STATS_T_TEST_ONE: A one-sample t-test
    STATS_T_TEST_PAIRED: A two-sample, paired t-test (also known as a crossed t-test)
    STATS_T_TEST_INDEP: A t-test of two independent groups with the same variance (pooled variances)
    STATS_T_TEST_INDEPU: A t-test of two independent groups with unequal variance (unpooled variances)

  • Customization of generated Java class names

    Hi,
    I could not find any documentation on how to customize names of the generated
    Java classes/types. In Castor, you can do it with a simple mapping, is it possible
    with XMLBeans?
    Thanks,
    Marina

    Hi, Steve,
    thanks for your reply!
    I have tried to add an xsdconfig file, but when I run the following command:
    C:\Java\XMLBeans\xkit\bin\scomp -src . -srconly order.xsd
    with the xsdconfig file in the current directory , nothing happens - the xsdconfig
    file is ignored and Java files are generated in exactly same way as they were
    without the xsdconfig file...
    Here is the content of my xsdconfig file - it is very simple, for test purposes:
    <xb:config xmlns:order="http://order"
    xmlns:xb="http://www.bea.com/2002/09/xbean/config">
    <xb:namespace uri="http://order">
    <xb:package>neptune.neptunelib</xb:package>
    </xb:namespace>
    <xb:qname name="order:order" javaname="OrderDO"/>
    <xb:qname name="order:shippingID" javaname="ShippingInfoDO"/>
    <xb:qname name="order:addressInfo" javaname="AddressInfoDO"/>
    <xb:qname name="order:destination" javaname="DestinationDO"/>
    </xb:config>
    I'm not sure about the namespace part - currently, my order.xsd has no namespace
    or URI assigned. I asked BEA's customer support about this and the answer was:
    'use anything, the URI does not matter'. Well, I did use "anything" but I'm not
    sure this is correct...
    Thanks,
    Marina
    "Steve Traut" <[email protected]> wrote:
    Marina -- You can do this by creating an xsdconfig file and including
    it
    when you compile your XSD files. The xsdconfig file maps schema types
    to
    generated Java type names.
    If you're using WebLogic Workshop, the following topic should give you
    what
    you need:
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howGuideXMLBeansTypeNaming.html
    If you're using Ant, I can provide a topic that will be available soon.
    Please send email if you'd like information on the Ant task.
    Steve
    "Marina Popova" <[email protected]> wrote in message
    news:3f8c468c$[email protected]..
    Hi,
    I could not find any documentation on how to customize names of thegenerated
    Java classes/types. In Castor, you can do it with a simple mapping,is it
    possible
    with XMLBeans?
    Thanks,
    Marina

  • Oracle Java Classess

    I posted a thread on Metalink to ask about Oracle java classes to extend the functionality of fields on my form and the functionality of the calendar. Here is the thread link:
    http://metalink.oracle.com/metalink/plsql/for_main.fetchMessage?p_message_id=663574.995&p_forum_id=31&p_after_post=N&p_forum_scope=a&p_forum_time=30&p_myThread=1&p_expandAll=1
    The last post from Oracle was to post here. Basically my question is where can I find information about Oracle's Java classes, so that I can extend the functionality of my fields? The demos have functionality like the multiselect and limiting what characters can be typed into fields. I have started adding some functionality to the Calendar required for my application and would like to get all the class information for the classes in that demo also.
    TIA
    Stephen

    Hi
    I am looking for the exact same information.
    I have implemented a PJC which extends VButton. I would like to know what other methods and properties are available with VButton and how to use them. I can see the other methods in jdeveloper but have no idea on their use - I'm fumbling around in the dark.
    Is it still the case that this information is not available?
    thanks
    paul schweiger

  • Container Object in Java Class

    Hello ,
    I have a Mapping program using java class type (Java SAX in this case).  I need to access some Runtime constants and the mapping trace object.
    In message mapping is simple. We can use the container object that is pass to a UDF and the GlobalContainer Object.
    But how can I access the  Runtime constants  and mapping trace without a container object ?.
    Any ideas...?
    Thanks in advance.
    Yuvan D.

    in Your java mapping class
    you should import import com.sap.aii.mapping.api.*;
    public void execute(InputStream input, OutputStream output)
            throws StreamTransformationException {
            AbstractTrace trace = null;
            String RESULT = new String();
            trace =
                (AbstractTrace) param.get(
                    StreamTransformationConstants.MAPPING_TRACE);
    trace.addInfo(doc.toString());
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm

  • NetBean - java class add to JFrame form?

    i have already type my own class using 'java class type' . The problem is, now i wanted to add a new class using the GUI in netbeans, so i create a JFrame using GUI in netbean, how do i connect the 'java class type' with the 'JFrame Form type' in netbean?
    I'll be able to call a frame to another frame if i using both JFrame form type. The problem came in when i try to link the java class i just mention above. Please help.

    karhong,
    Sorry mate, your question is impossible to interpret. Try asking your question again in different words... and include your code, and error any message(s)...
    ... and read the Formatting tips before you post.
    ... and this is a Java coding forum... so you might have better luck posting this one on a netbeans specific forum like JGuru's Netbeans Forum.

  • How to make a java class act as an cache

    Imagine
    i have a simple java class which establishes a connection to a DB and has a getter method which returns this DBConnection
    Now i want this class to be loaded forever in jvm, i mean, once it starts and establishes connection it remains loaded , and then returns the dbconnection who ever calls its geter method.
    So i am wondering what kind of java class do i write that behaves like an cache.
    and how would the other classes call this getter method of my class, i mean they cant instantiate it i guess , coz then it creates a new object , i mean i m confused , hope someone provides a soultion
    tahnks

    1) A class should do relatively litte. It's object-oriented programming. If you feel the urge like making it all static, maybe you can use a singleton, which is accessible using a static method.
    2) Nothing what you described matches the term "cache"
    3) And what you actually want it a connection pool. There should be several examples on the web.

  • Java primitive types??

    What r the Java primitive types??What is it for?

    What exam or job interview are you studying for exactly? One day it's strange questions on EJB, an another JSF, on another some question about Servlets demonstrating a lack of fundamental understanding of web services and today primitives?
    Please give due consideration to actually learning Java properly and not just random bits and pieces. Your current style is not working for you as can be seen from the constant utter confusion of many of your questions and posts.

  • Java value types

    What basically is java value types..
    where is this used,, if we say java value types what
    does it refer???
    Thanks
    Arul

    I'm not sure what you mean. Maybe this is it:
    http://java.sun.com/docs/books/jls/second_edition/html/typesValues.doc.html#11128

  • How to return Values from Oracle Object Type to Java Class Object

    Hello,
    i have created an Oracle Object Types in the Database. Then i created Java classes with "jpub" of these types. Here is an example of the type.
    CREATE OR REPLACE TYPE person_type AS OBJECT
    ID NUMBER,
    vorname VARCHAR2(30),
    nachname VARCHAR2(30),
    geburtstag DATE,
    CONSTRUCTOR FUNCTION person_type RETURN SELF AS RESULT,
    CONSTRUCTOR FUNCTION person_type(p_id NUMBER) RETURN SELF AS RESULT,
    CONSTRUCTOR FUNCTION person_type(p_vorname VARCHAR2,
    p_nachname VARCHAR2,
    p_geburtstag DATE) RETURN SELF AS RESULT,
    MEMBER FUNCTION object_exists(p_id NUMBER) RETURN BOOLEAN,
    MEMBER PROCEDURE load_object(p_id NUMBER),
    MEMBER PROCEDURE save_object,
    MEMBER PROCEDURE insert_object,
    MEMBER PROCEDURE update_object,
    MEMBER PROCEDURE delete_object
    MEMBER PROCEDURE load_object(p_id NUMBER) IS
    BEGIN
    SELECT p.id, p.vorname, p.nachname, p.geburtstag
    INTO SELF.ID, SELF.vorname, self.nachname, SELF.geburtstag
    FROM person p
    WHERE p.id = p_id;
    END;
    My problem is, that if i use the member function "load_object" from my java app it doesnt return the selected values to the java class and i dont know why. I use the java class like this:
    PersonObjectType p = new PersonObjectType();
    p.load_object(4);
    There is a reocrd in the database with id = 4 and the function will execute successful. But if i try to use "p.getVorname()" i always get "NULL". Can someone tell me how to do that?
    Thanks a lot.
    Edited by: NTbc on 13.07.2010 15:36
    Edited by: NTbc on 13.07.2010 15:36

    CallableStatement =
    "DECLARE
    a person_type;
    BEGIN
    a.load_object(4);
    ? := a;
    END;"
    And register as an out parameter.
    Edited by: michael76 on 14.07.2010 05:01

  • Using oracle.sql.BLOB data type in Java Class to pass in a Blob

    All,
    I'm trying to pass in a BLOB from PL/SQL to a Java Class, but the BLOB isn't passed correctly.
    When I check the length of the BLOB in PL/SQL its different from the length of the BLOB in java.
    I'm using DB 11g and the ojdbc5.jar file in my java classes.
    The java function uses the oracle.sql.BLOB type to get the parameter.
    The java class is loaded into the DB and called via a PL/SQL function.
    Kind regards,
    Nathalie

    The question is indeed a little ambigious defined ;o)
    When I pass the BLOB to the java method and invoke BLOB.getBytes() and then get the length of the BLOB in java the length of the BLOB is bigger than in PL/SQL.
    When I use the method 'getBinaryStream' and write this to a buffer, the code works.
    I will log a tar regarding the getBytes()-method to ask for more detailed information regarding the methods provided using the JDBC Drivers.
    Kind regards,
    Nathalie

Maybe you are looking for

  • Webservice to RFC:Msg not coming to XI

    hi all,            I am doing a soap to rfc scenario.I have created a synchronous outbound interface and mapped to a bapi which again gives a response.In config i created a business service for soap and a system for rfc and created the respective com

  • Control of maxon dc motor

    Hello everybody, I am new here and I am new with Labview. My project is a single link manipulator attached to a DC motor with epos2 50/5 controller connected to pc using usb. The goal of my study is to develop a control strategy to make the outputpos

  • YOUR SITE IS DOWN!

    No one can use my forms. What's the deal?

  • New View

    Hi Guys, I need to create the new view in Material master record. Apart from standard views , we required to create a view like MT system view at company code level in material master. Thanks Rosh

  • Using Applescript to crop images in Photoshop

    Hi I came across this thread in the archive http://discussions.apple.com/thread.jspa?threadID=1557555 It contains a script for cropping any image to a square image which is great but what I want is to crop the image to any size I want. I think the re