Top Link 10.1.3 is it possible to define hierarchical queries in jdev

Is it possible to define a hierarchical query in a named query in the mapping workbench (jdev 10.1.3) or we have to do it dynamically with the java api ?
Any example is welcome.
Best regards

i didn't find the method that return the readallquery object i need from my named query
i'm doing something wrong ?
public class FlexTreeSetHierarchicalClause
  public static void setHierarchicalClause(oracle.toplink.descriptors.ClassDescriptor descriptor)
    // instantiante expression builder to build the expressions
    ExpressionBuilder expressionBuilder = new ExpressionBuilder();
    // Specifies a START WITH expression
    Expression startExpr = expressionBuilder.get("Flextree").get("flexitemI").equal(expressionBuilder.get("Flextreenode").get("flexitemparentI"));
    // Specifies a CONNECT BY expression
    Expression connectBy = expressionBuilder.get("Flextreenode").get("flexitemchildI").equal(expressionBuilder.get("Flextreenode").get("flexitemparentI"));
    //Specifies an ORDER SIBLINGS BY vector
    Vector order = new Vector();
    order.addElement(expressionBuilder.get("Flextreenode").get("flexitemchildI").get("flextext").get("label"));
    // get the readallobject to add the hierarchical clause
    DatabaseQuery dq = descriptor.getQueryManager().getQuery("getFlexTreeByName");
    ReadAllQuery raq = descriptor.getQueryManager().getReadAllQuery();
    // add the hierarchical clause
    raq.setHierarchicalQueryClause(startExpr, connectBy, order);

Similar Messages

  • Custom Styled Top Link Bar Sharepoint Foundation 2013

    I want to be able to style the top link bar with some custom CSS but I am unable to find any guides that walk me through the process. I could use a step by step guide. I have sharepoint designer and I know how to open the master page for editing. I've
    tried to link an external CSS page but I still am not quite getting the results I want. I only get part of the CSS to apply. Please help

    Hi,
    Please check the following article about how to style the top navigation with custom css.
    http://msdn.microsoft.com/en-us/library/office/dn205275(v=office.15).aspx
    Here is a good article  for branding top navigation in SP 2013 ,by explaining  the top navigation related style elements :
    http://sharepoint.rackspace.com/branding-top-navigation-in-sharepoint-2013
    Regards,
    If a post answers your question, please click Mark
    As Answer on that post and Vote
    as Helpful
    subhash reddy

  • SharePoint 2013 Foundation Top Link Bar wrong selected page when no navigation match

    Hello,
    I've got the following issue.
    At one of my clients we are working on a public web site based on SharePoint 2013 Foundation (yes I know... Foundation...). I've branded the Top Nav Bar and ran into a problem.
    When I navigate to one of the pages in the Top Link Bar the selected item is marked as "Selected", great! But when I navigate to one of the pages that is not added in the Top Link Bar the first item is marked as "Selected", not so great.
    For example when I navigate to /Pages/About.aspx the first item /Pages/Home.aspx is selected.
    Can you help me out?

    Hi,
    Could you give me more detailed information about this issue?
    Could you give me a Screenshot about this issue?
    In addition, there is an articles about customizing the top link bar, please have a look at:
    http://msdn.microsoft.com/en-us/library/office/gg252669(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/gg277254(v=office.14).aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Back-to-Top Link in BW Report in Portal

    Hi,
    I'm trying to determine the best way to insert a back-to-top link in a BW Report. The Reports are displayed in the Portal as an iView or External Service depending on other factors.
    Portal is EP5 SP5, BW 3.0B and using the Web Application Designer to create the Portal Report.
    Would like a link at the bottom of the report which takes the user back to the top. Similar to what is seen on most pages. Using simple Bookmark and link does not seem to work.
    Thanks
    Paul

    Hi Paul,
    Have you tried the simple:
    <a name="top"></a>
    <a href="#top">Back to Top</a>

  • Open Link in New Window Option Not Working in Top Link Bar

    Hello,
    We have a 'Popular Links' section in our Top Link Bar for our intranet site that contains a list of frequently used links. Since most of these links navigate to sites outside of SharePoint, we would like these to open in a new tab or window when clicked. 
    I've enabled the 'Open Link in New Window' option under Site Navigation Settings for each link, however when a user clicks the links that have had this option enabled the content is still loaded in the current tab.
    Is this the correct set of steps to enable this content, or is there a better way to accomplish this that actually works?
    **SharePoint Server Publishing Infrastructure has been activated.

    You can try deactivating Minimal Download Strategy feature present under "Manage Site Features"....

  • Why Using Top Link is best in DB Adapter?

    Hi All,
    Can any one suggest , Why Using Top Link (Build-in Insert, Select etc. operation) is best in DB Adapter over using custom query?
    Thanks

    Hi Vikky,
    for insert/select it depends on what kind of user you are. TopLink lets you browse and click on a tables and have everything generated for you. If you are more a DBA or show me the SQL type then you can just type SQL directly.
    Some advantages of TopLink would be:
    -The range of SQL generated by TopLink is limited, but if you hard code complex SQL into your service you need to maintain it.
    -TopLink can generate at runtime the correct SQL for a given database, making switching from say DB2 to Oracle easy.
    -The merge operation will compare the input XML to the columns on the database and update only what has changed. It can also do a sparse merge. If only 4 columns in the XML were set, only those 4 columns in the database will be updated.
    -For inbound polling the strategy used (LogicalDelete, Sequencing Table, etc) is a configuration property and then at runtime multiple SQL statements are generated. The SQL also takes advantage of advanced syntax like the Oracle-only FOR UPDATE SKIP LOCKED, writing it all yourself may be tedious and error prone.
    -The main benefit of TopLink is when you go beyond thinking about a single table. If you import multiple related tables at once, TopLink will generate the SQL to select from and maintain multiple tables, establish a commit order, and generate a hierarchical XSD. With custom SQL the matching XSD is always flat. I.e. if you just need to insert an emp you could get away with custom SQL. If you need to insert a dept and emps, I would use TopLink.
    -This is also when the intermediary abstraction of an object/table makes more sense, as you only need to import a complex relational schema once, then generate inserts, selects, etc.
    So I hope that helps. They are each equally viable and can do something that the other can't. Where you see an overlap I would go with personal preference.
    Thanks
    Steve

  • How do I get the top links in the search results page to display the folder?

    In the search results page, if you click on the top link from each result, it only brings up the description. Not much use as a link, so was wondering how you display the folder from this link.

    Is this for the general public or just for you?  If it is for the general public then insert this code at the top of the page:
    <TITLE>---</TITLE>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    </HEAD>
    And also at the end of the file after the closing body tag:
    </BODY>
    <HEAD>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    </HEAD>
    </HTML>
    It is unorthodox but it works.

  • Trying to add a Word Press blog to my Dreamweaver site through a linked tab... is it possible?

    Trying to add a Word Press blog to my Dreamweaver site through a linked tab... is it possible?  My client wants a blog on his website that I am curently creating in Dreamweaver and I am clueless on how to manually create one using a DB... so is it possible to use a menubar link to go to a wordpress page that would contain the blog?  Please help.
    Thanks,
    TIffany

    Be sure to install WP files inside a separate folder on the domain.  
    yourdomain.com/blog/wp
    http://codex.wordpress.org/Installing_WordPress
    Link to blog:
    <a href="http://yourdomain.com/blog/wp/index.php">Link to Blog</a>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Bug in Data control generation against top link xml mapping class

    I encountered serious problem when generating data control from a revised version of our xml schema (top link classes).
    We change the structure by inserting element representing a node before the element that occurs more than once.
    The structure is now
    <xs:element name="classification-language-list">
    <xs:annotation>
    <xs:documentation xml:lang="fr">Liste des langues supportées par la classification</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="false">
    <xs:sequence>
    <xs:element name="classification-language" type="classification-languageType" maxOccurs="unbounded">
    <xs:annotation>
    <xs:documentation xml:lang="fr">Langue gerée par la classification</xs:documentation>
    </xs:annotation>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    As you can see the element that represent the list is not inherited from a type. It is described locally in the schema. This mean that top link generate a class in the parent implementation class. In our case classification-language-list is defined in the interface ClassificationType.java and in the class ClassificationTypeImpl.java.
    The data control xml file for Classification class is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="10.1.3.39.14"
    id="Classification"
    BeanClass="classification.toplinkInterface.Classification"
    Package="classification.toplinkInterface" isJavaBased="true">
    <Attribute Name="schemaVersion" Type="java.lang.String"/>
    <AccessorAttribute id="classificationCategoryList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationCategoryListType"/>
    <AccessorAttribute id="classificationEntryList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationEntryListType"/>
    <AccessorAttribute id="classificationExternalSystemList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationExternalSystemListType"/>
    <AccessorAttribute id="classificationLanguageList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationLanguageListType"/>
    <AccessorAttribute id="classificationNameList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationNameListType"/>
    <AccessorAttribute id="classificationVersionList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationVersionListType"/>
    </JavaBean>
    The data control xml file for ClassificationLanguageListType class is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="10.1.3.39.14"
    id="ClassificationLanguageListType"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationLanguageListType"
    Package="classification.toplinkInterface.ClassificationType"
    isJavaBased="true">
    <Attribute Name="schemaVersion" Type="java.lang.String"/>
    <AccessorAttribute id="classificationCategoryList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationCategoryListType"/>
    <AccessorAttribute id="classificationEntryList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationEntryListType"/>
    <AccessorAttribute id="classificationExternalSystemList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationExternalSystemListType"/>
    <AccessorAttribute id="classificationLanguageList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationLanguageListType"/>
    <AccessorAttribute id="classificationNameList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationNameListType"/>
    <AccessorAttribute id="classificationVersionList" IsCollection="false"
    BeanClass="classification.toplinkInterface.ClassificationType.ClassificationVersionListType"/>
    </JavaBean>
    This last data control definition is completely wrong.
    Here is the corresponding interface in ClassificationType.java:
    public interface ClassificationLanguageListType
    java.util.List<ClassificationLanguageType> getClassificationLanguage();
    The type was added manually.
    Here is the corresponding interface
    public interface ClassificationLanguageType
    public void setClassificationLanguageCode(java.lang.String value);
    public java.lang.String getClassificationLanguageCode();
    public void setClassificationLanguageLabel(java.lang.String value);
    public java.lang.String getClassificationLanguageLabel();
    It seem like a big bug ... in data control generation

    Solve the problem by generating a data control for the implementation class also. This will cause the data control xml file to be created for the java class also (if not only the interface will have a data control xml file generated).

  • Top link in ipad not Working

    Hi
    I am using a Window scrollTo() Method to go to the specified area in the ipad safari browser, but the top link is not working. When i click on the link nothing happens.
    Please help!!
    -Sandip

    Change this
    <img src="../images/CITacoma_logo_page.png" alt="C.I. Shenanigans"" width="318" height="113" hspace="25" vspace="25" border="0" align="right" /></a></div>
    to this without the extra quotes:
    <img src="../images/CITacoma_logo_page.png" alt="C.I. Shenanigans" width="318" height="113" hspace="25" vspace="25" border="0" align="right" /></a></div>
    Nancy O.

  • Cannot connect with SQL Server driver using Top Link with ADF/JSF

    I have a TopLink/ADF/JSF project that I'm starting using JDeveloper 10.1.3. The database is MS SQL Server. I went through and created all of the Top Link mappings, etc. but when I try to run my project under the OC4J instance built in to JDeveloper I get the error message below. I've tried putting SelectMethod=cursor everywhere I can think of, but nothing seems to help?
    Log Dump:
    [TopLink Info]: 2006.06.16 02:49:46.253--ServerSession(1679)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--TopLink, version: Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)
    [TopLink Config]: 2006.06.16 02:49:46.269--ServerSession(1679)--Connection(1680)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--connecting(DatabaseLogin(
    platform=>SQLServerPlatform
    user name=> "zeke"
    connector=>JNDIConnector datasource name=>jdbc/ZekeDB
    [TopLink Severe]: 2006.06.16 02:49:48.925--ServerSession(1679)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]JTA is not support when selectMethod=direct. Switch to selectMethod=cursor.Error Code: 0
    at oracle.toplink.exceptions.TopLinkException.<init>(TopLinkException.java:46)
    at oracle.toplink.exceptions.DatabaseException.<init>(DatabaseException.java:51)
    at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:276)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:115)
    at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
    at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:197)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:221)
    at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:273)
    at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:81)
    at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:304)
    at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:431)
    at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:511)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:317)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:372)
    at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:103)
    at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:82)
    at oracle.toplink.util.SessionFactory.acquireSession(SessionFactory.java:114)
    at com.mascocs.web.monitor.admin.datamodel.ZekeAdminSessionFacadeBean.findAllApps(ZekeAdminSessionFacadeBean.java:128)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:55)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    at ZekeAdminSessionFacadeLocal_StatelessSessionBeanWrapper0.findAllApps(ZekeAdminSessionFacadeLocal_StatelessSessionBeanWrapper0.java:165)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:504)
    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1796)
    at oracle.adf.model.generic.DCGenericDataControl.invokeMethod(DCGenericDataControl.java:248)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:216)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1287)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
    at oracle.adf.model.generic.DCGenericDataControl.invokeOperation(DCGenericDataControl.java:266)
    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:318)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:625)
    at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:160)
    at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:542)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1420)
    at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1403)
    at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:2641)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2484)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2257)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:104)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
    at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:331)
    at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:97)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]JTA is not support when selectMethod=direct. Switch to selectMethod=cursor.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbcx.sqlserver.SQLServerDataSource.getXAConnection(Unknown Source)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:237)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:199)
    at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1333)
    at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:324)
    at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:95)
    at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1449)
    at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:782)
    at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1532)
    at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1477)
    at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1423)
    at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:244)
    at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:198)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:197)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:140)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:112)
    ... 77 more
    2006-06-16 14:49:48.941 ERROR J2EE EJB8006 [ZekeAdminSessionFacade:public java.util.List com.mascocs.web.monitor.admin.datamodel.ZekeAdminSessionFacadeBean.findAllApps()] exception occurred during method invocation: javax.ejb.EJBException: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]JTA is not support when selectMethod=direct. Switch to selectMethod=cursor.Error Code: 0; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]JTA is not support when selectMethod=direct. Switch to selectMethod=cursor.Error Code: 0
    2006-06-16 14:49:50.816 WARNING rowIterator is null
    2006-06-16 14:49:50.831 WARNING rowIterator is null
    Process exited.

    I'm not sure on the error, but you may be able to pass the "selectMethod" and "cursor" as a JDBC property in your connection pool. Since this is a DataSource / JTA issue you may want to post it to the general OC4J forum.
    Otherwise as a workaround you could instead use a non-JTA DataSouce, or use TopLink internal connection pooling, or try another JDBC driver.

  • Top Link error 17002 The Network Adapter could not establish the connection

    I have installed an application developped in an another environnement.
    I have created the database schema in my own database.
    I have created a database connection to this schema.
    I have reconciled the schema using this connection (so the database and the connection are available and correct from jdeveloper)
    I have updated the Mapping to use the new connection and new generated the mapping status report without any errors
    and i still have this error ! The Network Adapter could not establish the connection when i access any jsp document containing data from the database.
    I check and recheck everything and all is correct ... sure something is wrong somewhere ... where is the question ...

    Sorry I think you didn't read the thread or you read it too fast !
    I'm not a beginner and I know what the problem is but all the settings are correct in jdev and the database and the listener are running ... i'm able to browse the tables, seeing data reconciling objects with the database connection referenced in the top link descriptor
    It seem that top link is using something else and i don't understand from where it took the connection description.

  • Top Link Special Considerations in moving to Cost Based Optimizer....

    Our current application architecture consists of running a Java based application with Oracle 9i as the database and toplink as the object relational mapping tool. This is a hosted application about 5 years old with stringent SLA requirements and high availability needs. We are currently using Rule Based Optimizer (RBO) mode and do not collect statistics for the schemas. We are planning a move to Cost Based Optimizer (CBO)
    What are the special considerations we need to be aware of from moving RBO to CBO from top link perspective. Is top link code optimized for one mode over the other ?. What special parameter settings are needed ?. Any of your experience in moving Top Link based applications to RBO and best practices will be very much appreciated.
    -Thanks
    Ganesan Maha

    Ganesan,
    Over the 10 years we have been delivering TopLink I do not recall any issues with customizing TopLink for either approach. You do have the ability to customize how the SQL is generated and even replace the generated SQL with custom queries should you need to. This will not require application changes but simply modifications to the TopLink metadata.
    As of 9.0.4 you can also provide hints in the TopLink query and expression framework that will be generated into the SQL to assist the optimizer.
    Doug

  • Strange behavior in the top link bar and open in a new tab

    Hello,
    I am having a strange behavior in the top link bar. Every element in the menu has the "open in a new tab"-option checked and is working fine but is not working at all in a sub site which inherit the menu. 
    I have look at the code thinking that the menu in the sub site did't get the target="_blank" but is there.
    Anyone who knows what can be happening?
    Thanks!!!! 
    Discusion actualizada

    No worries, I found the problem.
    Strange but Minimal download strategy feature cause the problem. I unactivated it and everything works fine.
    Discusion actualizada

  • Top link bar tab not highlighted when subsite beneath subsite active

    Scenario: All sites in a site collection share the same top link bar for consistent global navigation.
    Site A (top-level)
        Site A1 (2nd level)
            Site A1a (3rd level)
        Site A2 (2nd level)
        etc.
    Problem:  When site A1 is active, tab "A1" is highlighted.  When site A1a is active, no tabs are highlighted.  And the bread crumbs do not include site "A1."  So the user has no context to where they are in the site taxonomy.
    In MOSS 2007 the behavior is different.  Tab "A1" is highlighted when site A1 or any of its subsites is active.  So when site A1a is active, tab "A1" is highlighted and the user knows where they are.  This is good.
    Question: How can I make SharePoint 2010 highlight the top link bar tabs in a similar manner to MOSS 2007?

    I activated the "SharePoint Server Publishing Infrastructure" site collection feature, still it didn't work for me.
    I have Custom Top navigation bar in my project.
    Eg :   AAA   BBB   CCC   DDD
    When i am into CCC site , if i create sites under this at three levels say. : 
    CCC > CC1 > CC2 > CC3 > CC4
    The top navigation bar does not get highlighted when i am into CC4 site.
    Actuly the top naviagtion bar should look like this :
    Eg :   AAA   BBB   CCC   DDD
    But it does not get highlighted and it shows normal like this . Eg :  
    AAA   BBB   CCC   DDD
    Please suggest some solution for the same. Why Navigation does not work at this level.
    Regards ,
    Avinash

Maybe you are looking for

  • How can i Reset my ipod touch without the home-button

    My ipod Touch resseting all the Time with out showing the home display. An other problem is, that my guarantee is over and my home-button is not working. So what should i do? Buy a new one or is there a chance to reset my ipod without home-button? Pl

  • Why am I getting unauthorised emails into my account and can't remove

    I switched my domain from long term USA hosting, to 1and1 in UK and now have a problem with my Mozilla Thunderbird email client. I set up my email addresses only with no web page file uploads. I decided 1and1 were not for me, so I cancelled my accoun

  • AS3 load external swf problem, please help...

    Hey guys, I am really in need of an answer here. I would tremendously grateful if someone has the answer. I'll keep it simple and right to the point: 1. I have created "index.swf" in AS3. Has it's own "MainClass" class. 2. I created "holder.swf" whic

  • Audigy2ZS PlatiumPro Recording Cassette tape to CD or

    Dose anyone know what else I need and how to burn/record cassette tape voice lectures to CD or DVD to archi've. Have so far: Pentium 4, .8 CDRW DVDRW Audigy 2ZS PlatiumPro boomBox w/ audio in & out Certainnet

  • NI-DMM vs. IVI-DMM - Soft Front Panel

    Hello All,   I have been developing a testing application that will eventually use a PXI-4070 DMM (currently simulating it in NI MAX).  I had been using the IVI DMM functions, but ran into a problem when I couldn't do a diode test (diode test is appa