ORA-19228: XPST0008 -- undeclared identifier when using more then one var.

HI Gentlemen,
Given an XMLTYPE table with only one row. Under the root element there is a <header> and a <body> where the stuff inside the body has a different namespace. When I try to drill down with the statement in p.sql below, I always get
SQL> @c:\xsl\p
FROM z
FEHLER in Zeile 10:
ORA-19228: XPST0008 - nicht deklarierter Identifier: Präfix 'j' lokaler Name '' (undeclared identifier)
I also tried to insert a WHERE clause, it always complains with $j. When I am using only one variable, $i, it is OK. XML DB Developer's Guide has examples that are very close to this--they execute A1. CAn you help me where am I wrong?
Thank you very much, kind regards
Miklos HERBOLY
SELECT
   XMLQuery('xquery version "1.0"; (: :)
   declare namespace n1="urn:ehd/001"; (: :)
   declare namespace n2="urn:ehd/go/001"; (: :)
   for $i in /n1:ehd/n1:header
let $j := /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
   return $i,$j'
   PASSING xml_document
   RETURNING CONTENT) as ziffer
  FROM z
/

Hi Miklos,
You'll need parentheses to indicate that you're returning the sequence of $i and $j :
xquery version "1.0"; (: :)
declare namespace n1="urn:ehd/001"; (: :)
declare namespace n2="urn:ehd/go/001"; (: :)
for $i in /n1:ehd/n1:header
let $j := /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
return ($i, $j)or shorter version (if there's only one header per document) :
xquery version "1.0"; (: :)
declare namespace n1="urn:ehd/001"; (: :)
declare namespace n2="urn:ehd/go/001"; (: :)
  /n1:ehd/n1:header
, /n1:ehd/n1:body/n2:gnr_liste/n2:gnr
)

Similar Messages

  • When using more than one tab, once I have opened a pdf using firefox my laptop will not allow me to type or click in another tab unless I drag the pdf into it's own window?

    when using more than one tab, once I have opened a .pdf using firefox my laptop will not allow me to type or click in another tab unless I drag the .pdf into it's own window? not a major problem just irritating.

    I found the cause but no solution, it's actually a plugin that does that: divx plus weblpayer (it gets installed when you install DivX on your system), if you disable it and restart firefox it all works again. But I want that plugin... so DivX need to fix this, unless it is a Firefox bug in its own core... anyway these two together creates the problem.
    (I'm running Firefox 9.x on OSX Lion)
    I also wish firefox tab tear out tab worked more like chrome's tab tear out, much friendlier...

  • Using more then one table/view in same Report

    Hi,
    I am using Discoverer Plus Version 9.0.4.43.15.
    Is it possible to use more then one table/view in a report without the tables/views being joined in any way? It would be like using two different datasets in the same report without the datasets having anything to do with one another. Right now when I select items from the available tab I can only pick tables that relate to one another in some way.
    Or is it possible to use more the one table in the same report? Each table using a different query/view/table.
    Thanks

    Spence,
    try following type of query using set operator UNION / UNION ALL:
    select col1,col2
    from t1
    union all
    select col1,col2
    from t2
    If you don't have restrictions then this is the best way.

  • HOW DO I USE MORE THEN ONE ITUNES WITH MY IPHONE WITHOUT ERASING MY MUSIC?

    I have two different laptops with iTunes on it. I use both of them but my iPhone only works with one iTunes. I plug it into the computer and it says that my iPhone cannot use more then one iTunes. Is there a way I can use both or no?
    YES I AM CLICKING MANUELLY ADD SONGS TO MY iPhone.
    I just bought my iPhone about a week or so ago.
    Please help ASAP.

    I clone my library to a portable drive using SyncToy 2.1, a free tool from MS. I run this both at home & work so that I essentially have three identical copies of my library for backup redundacy, any of which I can use to update my iPods and my iPhone. I use iTunes Folder Watch occasionaly in case I've managed to download, for example, a podcast at one location but overwrite the library with a newer copy updated at the other. It can be done but you need to take considerable care...
    tt2

  • Rendering Error when using more than one DataSheetView on a Enterprise Wiki-Page

    Hi Experts,
    how to reproduce:
    Add two Custom Lists with some Fields (Add Lookup-Columns to both Lists).
    Add a DataSheetView to each List and mark it as Default-View
    Create a Enterprise Wiki-Page
    Add a WebPart (Custom-List-1)
    You will see the Content from List 1 as DataSheet-View (because it is the Default-View)
    Add another WebPart below the previous added WebPart (Custom-List-2)
    You will see the Content from List 2 as DataSheet-View (because it is the Default-View)
    Notice that the First DataSheet has faulty Rendering. The Lookup-Columns having more than one 'Arror-Down' Image and it is even on the left. If you click into different Column, different row you get the same.
    I can reproduce this behaviour anytime.
    Environment: SharePoint 2013 Enterprise, IE10
    If you use Development-Tools to identify first datarow of first DataSheet you can see that it has to do something with the related <Input>-Tags:
    <div class="combobox-placeholder" id="jsgrid_combobox" style="left: 27px; top: 32px; width: 117px; height: 29px; border-top-color: currentColor; border-right-color: currentColor; border-bottom-color: currentColor; border-left-color:
    currentColor; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; visibility: inherit; ; direction: ltr; min-width:
    117px; background-color: transparent;">
    <input class="cb-textbox " style="width: 156px; height: 25px;" dir="ltr" type="text"/><input tabindex="-1" title="Dropdown" class="combobox-img" style="height: 29px;"
    dir="ltr" type="button" value="▼"/><input class="cb-textbox " style="width: 84px; height: 25px;" dir="ltr" type="text"/><input tabindex="-1" title="Dropdown"
    class="combobox-img" style="height: 29px;" dir="ltr" type="button" value="▼"/>
    Please have a look into it. Current Workaround for me is to have a Default-ListView in first WebPart. But then Customer has to click the Edit-Button to Change the Item in the releated EditForm. This is a Show-Stopper here!
    With Best Regards,
    Ronny

    Hi Ronny,
    According to your description, the lookup column would render incorrectly when adding more than one datasheet view in the Enterprise Wiki page.
    I tested the same scenario per your post, and I got the same results as you got.
    We will help to submit the issue to proper pipeline for you.
    Again, thank you for your report which will definitely make SharePoint a better products. There might be some time delay. 
    Appreciate your time and patience.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Can I use more then one apple ID on my computer/osx app store

    Hi,
    I use my MBP/iMac/ipad/iphone for both business and home.  Right now everything is setup to my home apple id (and I have made quite a few purchases with that).  With the release of the osx app store and FCPX,  my company wants to buy these for my computers.  But they want to do this on their apple id.  Can I run more then one id on a mac?  How can I make this work as I know they will want me to start getting more apps as they are released.

    You can have apps from multiple Apple IDs on one Mac. The issue will be that to update Mac apps bought with A ID #1 will require signing into A ID #1 in the MAS. And later when apps bought with A ID #2 need an update you will need to sign into A ID #2 in the MAS to update them. If you can keep that straight and can abide that requirement, there should be no issues.
    The same will be true to update iOS apps, but using iTunes.

  • Using more then one null in a Set

    Hello Friends,
    Can any one throw some lights for using the null values in Set.
    Can a set cantains more then one null values? It worls fine if there is only one null element alone but throwing exception if there are any other element with one null.
    Thank you.
    Roshan

    So when you read the documentation for TreeSet.add(), which you obviously did because it's so obvious that you should read the relevant documentation before posting questions, what did you not understand?
    Adds the specified element to this set if it is not already present. More formally, adds the specified element e to this set if the set contains no element e2 such that (e==null ? e2==null : e.equals(e2)). If this set already contains the element, the call leaves the set unchanged and returns false.
    Throws:
    NullPointerException - if the specified element is null and this set uses natural ordering, or its comparator does not permit null elements
    Edit: By the way, there was a recent thread about the fact that it appears that Java 5 had a bug in which when you add the first null, it didn't throw an NPE, but in Java 6 it did. That may be relevant information depending on what JRE you're using.
    Edited by: endasil on 9-Dec-2009 1:31 PM
    Edit 2: Here's a (or the) bug report: [http://bugs.sun.com/view_bug.do?bug_id=5045147]
    Edited by: endasil on 9-Dec-2009 1:34 PM

  • Acrobat stop when open more then one document

    Hello
    when I try to open more then one PDF Acrobat hang.
    I must kill the process and then I can open one PDF again.
    It does not work independently I try to open the second PDF by double-click or with the menu inside Acrobat.
    I use Adobe Acrobat XI (11.0.0) on a Windows 7 64-Bit system.
    I try to deinstall Acrobat completly and reinstall it but without success.
    I could not really say until which time it works but I know that it is working in the near past.
    Can somenody tell me why it doesn´t work?
    What happen? What could be the reason?

    Please update the Acrobat 11 to 11.0.6 via Help -> 'Check for Updates' option  and then see if issue still exist.
    Regards,
    Anoop

  • Using more then one Multitouch.inputMode on one screen

    Hi All,
    I have figure out that on one screen I am not able to work with more then one Multitouch.inputMode. As per my requirement I am having two different component on the same screen,one is using the TouchEvent and another is using GestureEvent.I am getting the issue that if I am using both on the same screen then the  GestureEvent is not firing.
    Any help will be appricated.
    Thanks in Advance.
    With Regards,
    Shardul

    Or you could use gestouch:
    https://github.com/fljot/Gestouch
    With that you can detect various gestures all in one gesture mode. It may solve your issue.

  • Invalid identifier when linking more than one data sets in a data model

    Hi
    I have about the following Data Model:
    G_1
    - MANAGER
    - MANAGER_KEY
    G_2
    - USER_LOGIN_DB1
    - MANAGER_KEY_1
    G_3
    - USER_LOGIN_DB2
    - MANAGER_KEY_2
    G_4
    - USER_LOGIN_DB3
    - MANAGER_KEY_3
    Now I link MANAGER_KEY to each MANAGER_KEY_x. When I try to generate the XML, the following error occurs:
    [2011-05-17T18:11:27.384+02:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 11] [userId: <anonymous>] [ecid: 0000IzyiUX917ib5HJH7if1Docwn0000HL,0] [APP: bipublisher#11.1.1.3.0] java.sql.SQLSyntaxErrorException: ORA-00904: "MANAGER_KEY_2": invalid identifier[[
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:95)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:868)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:952)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1335)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at oracle.xdo.dataengine.XMLPGEN.processQuery(XMLPGEN.java:1472)
         at oracle.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:407)
         at oracle.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:343)
         at oracle.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:817)
         at oracle.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:837)
         at oracle.xdo.dataengine.XMLPGEN.processGroup(XMLPGEN.java:779)
         at oracle.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:441)
         at oracle.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:343)
         at oracle.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:282)
         at oracle.xdo.dataengine.XMLPGEN.writeXMLDataStructure(XMLPGEN.java:214)
         at oracle.xdo.dataengine.XMLPGEN.processDataSet(XMLPGEN.java:1390)
         at oracle.xdo.dataengine.XMLPGEN.processMergedDataSet(XMLPGEN.java:1203)
         at oracle.xdo.dataengine.DataProcessor.processData(DataProcessor.java:365)
         at oracle.xdo.servlet.dataengine.DataProcessor.processData(DataProcessor.java:402)
         at oracle.xdo.servlet.dataengine.DataProcessor.processData(DataProcessor.java:389)
         at oracle.xdo.online.data.ClassicDataProcessor.process(ClassicDataProcessor.java:157)
         at oracle.xdo.servlet.ReportModelContextImpl.getReportXMLData(ReportModelContextImpl.java:217)
         at oracle.xdo.servlet.CoreProcessor.process(CoreProcessor.java:301)
         at oracle.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:87)
         at oracle.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:1038)
         at oracle.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:603)
         at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:440)
         at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:419)
         at oracle.xdo.servlet.XDOServlet.doGet(XDOServlet.java:253)
         at oracle.xdo.servlet.XDOServlet.doPost(XDOServlet.java:276)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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.xdo.servlet.metadata.track.MostRecentFilter.doFilter(MostRecentFilter.java:64)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:116)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(InitCheckingFilter.java:63)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:143)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [2011-05-17T18:11:27.384+02:00] [bi_server1] [NOTIFICATION] [] [oracle.xdo] [tid: 11] [userId: <anonymous>] [ecid: 0000IzyiUX917ib5HJH7if1Docwn0000HL,0] [APP: bipublisher#11.1.1.3.0] Data Generation Completed...
    When I remove the Link to MANAGER_KEY_2, the same error occurs, except that the "invalid identifier" is MANAGER_KEY_3. If I remove the Link to MANAGER_KEY_3 as well, no error occurs and :
    1. the G_1 node contains n G_2 nodes
    2. the G_1 node has G_3 and G_4 siblings
    Does anyone know why this is? Thanks in advance.
    Cheers,
    Andreas

    I solved the problem. I don't know why, but BI Publisher seems to have trouble generating the XML when a column uses an alias (the columns MANAGER_KEY_x are columns that are built using NVL(... , ...) AS MANAGER_KEY_x) . I surrounded the query by another select to avoid using aliases in the field list, then it worked.
    Cheers
    Andreas

  • EJB3 CORRUPTED when using more than one PersistenceUnit

    Hi,
    I am using JSF, EJB3 on Glassfish. CMP and JTA.
    This is the scenario:
    A user logs into application choosing one Persistence Unit (like in JavaSE). This is only at the beginig as I want to use Glassfish CMP and JTA.
        public EntityManagerFactory getEmf() throws Exception {
            configOverrides = new HashMap<String,Object>();
            configOverrides.put(TARGET_DATABASE,TargetDatabase.SQLServer);
            configOverrides.put(TARGET_SERVER,TargetServer.SunAS9);
            configOverrides.put(JTA_DATASOURCE,"jdbc/"+puName);
            configOverrides.put(SESSION_NAME,puName+"_session");
            emf = Persistence.createEntityManagerFactory(puName,configOverrides);
            return emf;
        }I then put the corresponding PersistenceUnit name in http Session scope to be used later on.
    I created a CommonEjbImpl to further inject via Jndi (and therefore use CMP and JTA) an EntityManger in each EJB3 as follows:
    @PersistenceContexts({
       @PersistenceContext(name="pu/SOCIETE1", unitName="SOCIETE1"),
       @PersistenceContext(name="pu/SOCIETE2", unitName="SOCIETE2"),
       @PersistenceContext(name="pu/SOCIETE3", unitName="SOCIETE3"),
       @PersistenceContext(name="pu/SOCIETE4", unitName="SOCIETE4"),
       @PersistenceContext(name="pu/SOCIETE5", unitName="SOCIETE5"),
       @PersistenceContext(name="pu/GENESYS_EXEMPLE", unitName="GENESYS_EXEMPLE")
    public class CommonEjbImpl {
        public EntityManager initEm() {
            LogUtil.log(this.getClass(),(String)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("database"));
            return initEm((String)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("database"));   
        public EntityManager initEm(String puName) {
            EntityManager em = null;
            try {
                em = (EntityManager) new InitialContext().lookup("java:comp/env/pu/"+puName);
            } catch (NamingException ex) {
                LogUtil.error(this.getClass(),ex);
            return em;   
        public void cleanup(EntityManager em) {
            //LogUtil.log(this.getClass(), "CLEANING EJB..with em: "+em);
            if (em != null && em.isOpen()) {
                em.close();
        } And in each EJB3, I use this CommonEjBImpl to get the Entity Manager like this:
    @Stateless
    public class TreeEJB extends CommonEjbImpl implements TreeEJBLocal {
        public TreeEJB() {
        private EntityManager em;
        @PostConstruct
        public void init() {
            em = super.initEm();
        @PreDestroy
        public void cleanup() {
            super.cleanup(em);
    }I have also a JSF backing bean (in SESSION SCOPE) "TreeBean" in which i Inject an EJB3 like this:
        <managed-bean>
            <managed-bean-name>TreeBean</managed-bean-name>
            <managed-bean-class>com.mfpsoft.bean.tree.TreeBean</managed-bean-class>
            <managed-bean-scope>session</managed-bean-scope>
        </managed-bean>and:
    public class TreeBean extends BeanLoader {
        public TreeBean() {
        @EJB
        private TreeEJBLocal treeEJB;
        @PostConstruct
        public void init() {
            treeEJB.init();
    }SO, imagine what is happening:
    USER1 logs (a persistence unit)
    USER2 logs (a different persistence unit)
    USER1 refresh tree for example
    USER2 rehresh tree also
    ==> USER2 GETS data from USER1 persitence unit
    My questions:
    EJB3 refrence seems to in application scope. Is thereonly one EJB3 refrence per appication?
    If so, how can I use same EJB with different persistence COntexts at the same time.
    Would this be a workaround ?? get entityManager at each business method of the EJB like this
        public  Object Method(Object object) throws Exception {
            EntityManager em = super.initEm();
            try {
                ...//em operations
            } catch (Exception ex) {
            } finally {
               em.close();
        }Would the data be corrupted if simultaneous access to same method by diffrent users?
    This issue is quite URGENT
    I would really appreciate a quick help on this
    Many thanks in advance
    Nicog

    Hi Zsom,
    Thanks for your answer
    Let me explain more clearly.
    My architecture is as follows: using JSF, Glassfish and ...SQL Server!! (! i know but this is mandatory requirement as our application is full web version of an existing ERP application already sold and installed by more than 1000 of our customers...
    I am using
    JSF-->JSF Managed Bean (Session for some and Request for almost all when logged )-->EJB Interface-->EJB Impl-->Entity-->Database
    Our application is ERP that our customers uses to managed several companies simultanously .
    This product ,mainly for intranets, is delivered with glassfish, the web application and SQL server containing by default 5 databases SOCIETE1,...SOCIETE5...but more can be created by our consultants for this customer....
    All databases have the same schema but not the same data.
    Sincerely, if I had done the desgin of the database, for sure I would have put all SOCIETEn in one DB but this is historical and I cant do anything against it.
    You have to see in our case, a database as a company of our customer (a joint venture for instance), each of which  with particular configuration, customers, orders, invoices, contacts....
    I have a persistence Unit (using JTA and CMP) per database , each using a connection pool managed by Glassfish.
    At the login of my application, the user (a user of our cutomer that bought this product), choose a database (a company actually lets say SOCIETE1), ...enter logging info and connect.
    The user must also be able to launch another browser window and connect lets say to SOCIETE2, and then work on SOCIETE1 AND SOCIETE2 simultanously.
    Also, I need Session Scope as there is configuration data that I need to keep over all pages. This configuration data is depending on the database connected to and the user.
    A session is therefore linked to the pair USER+DATABASE
    When selecting the database (company) for combo in logging form, the only way I found is fisrt to check if database(company) exists and can be connect to using at first begining Persistence.CreateEntityMangerFactory.. (i know that this is not J2EE and CMP but merly used in Java SE environments..).
    This step is only used for checking database.
    Then, if creation did not generate a Persistence Exception , I can use CMP and an EnityManger in EJB by JNDI lookup (as DI is not possible because you need constant in unitName);
    Doing so, the EJB (which only handles actions on Entities) manage the entities of the corresponding company SOCIETE1 or SOCIETE2, or.....
    I know that I might use antipatterns here, but actually this is the only solution I found
    Would an extra Layer between JSF bean and EJB do the trick....if yes how to inject the good persistence unit in my EJB is still in question.
    More if one Persistence unit is injected (assuming EJB being stateless) and another user working on another persistence unit is using the same EJB, then I go back in my first message on this topic
    As the number of databases for a customer is unknown, I can not create an EJB par database (lets says EJB_SOCIETE1, EJB_SOCIETE2,...). I agree that in this case they would be stateless....
    Do you have any suggestion to repect patterns in this situation.
    This would be greatly appreciated
    Thanks again
    Nicolas

  • How do you use more then one computer for your Ipod??

    One of my computers died and I want to still use iTunes to get more music but I don’t want to erase what I have on my iPod now. I need to use a different computer with out erasing all the music I have now?? HELP

    If your iPod is set to update automatically you need to take care connecting to a different iTunes. You can use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows with iTunes 7.3 or later installed hold down the Shift + Ctrl keys together. This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer: iTunes - Keyboard Shortcuts for Windows
    When your iPod appears in the iTunes source list change the update setting to manual. If you want to connect and use an iPod on more than one computer you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply. The content of iTunes and the iPod are not syncronised in this mode so the two can be different. You can directly access the content of the iPod and play it through iTunes and you can drag and drop whatever you want to the iPod from either library:
    Using iPod with Multiple computers
    Managing content manually on iPod
    Syncing Music to iPod
    Something else to be aware of when using an iPod in manual mode is that the "Do Not Disconnect" message will remain on the display until you physically eject the device: Safely Disconnect IPod

  • Using more then one computer but only see new songs on one computer

    I have my itunes on both my home computer and my work computer and when I purchase new music on my home computer it doesnt show up on my work computer. How can I see the music on both?

    *I purchase new music on my home computer it doesnt show up on my work computer. How can I see the music on both?*
    If you want to have your purchases on more than one computer you have to copy them from the computer they are purchased on. When you purchase something it is downloaded to the computer you are logged into at the time, purchases don't simply appear on ever computer you choose to use. There are various methods to copy purchases between computers, CD-R, iPod, USB stick etc, you can read more at this llink: iTunes for Windows: How to copy purchases between authorized computers
    You can have up to 5 computers authorised at any one time to play iTunes purchases: About iTunes Music Store Authorisation and Deauthorisation

  • B85-G43 A2 boot error when connecting more then one SATA driver

    Hello everyone please help me.
    As the title says, whenever i connect more than one sata driver (hdd or dvd) i get te A2 boot freeze....
    Already changed cables, hard drives, and problem persist!
    Sorry for my bad english, not my main language.
    Board: MSI b85-g43
    Bios: c.40
    VGA:   amd 7970 black edition
    PSU:   xfx pro1000w
    Intel Core i5-4670K
    MEM: HyperX 1600 8gb
    HDD: kingston 120gb ssd and two SATAS
    OS: Windows 7 64bit Ultimate

    Svet, thx for replying.
    I'm a noob here and have some doubts about this steps...
    1.) >>Use the MSI HQ Forum USB flasher<< (Ok got it.)
         A.) Download the attached archive and place it on your desktop. Do not decompress. (Ok got it)
         B.) Download and install the Forum flash tool. (MSI HQ Forum USB flasher?)
         C.) Insert your FAT32 formatted usb stick. (Ok got it)
         D.) Make sure that all win 8 options are disabled. (Fast Boot etc) Also make sure the legacy USB is enabled. (win 8 options??? i'm running on a win7 ultimate 64bit)
         E.) Start the forum flash tool and select option 1. Then point the tool at the compressed archive we downloaded earlier. Then to your USB Flash Drive. (Ok got it.)
         F.) Boot to the USB and follow the directions. MEMTEST is included with the forum flash tool and it is recommended to run this prior to any flash. (ok got it, change boot sequence to USB and follow the directions.)
    Yeah i know a lot of doubts, sorry for that, Working all day and at night i have to go to the university.
    Thank you for your time!!!

  • How to show all data when using more than one parameter?

    Hi All,
    I used a query like this to show the data in a report:
    select col1, col2 // col1 and col2 are columns of tabale tab1
    from tab1
    where
    tab1.col1 =
    (case when :P_COL1 IS NOT NULL then // :P_COL1 IS A USER PARAMETER TO EQUAL COL1
    :P_COL1 ELSE tab1.col1
    end)
    AND TAB1.COL3 =
    (case when :P_COL3 IS NOT NULL then // :P_COL3 IS A USER PARAMETER TO EQUAL COL3
    :P_COL3 ELSE tab1.col3
    end)
    The problem is when I run the report with paramters values or not, It shows the data which is not null for both col1 and col3.
    That is when the value of col1 or col3 is null the report would not return that record!
    I want the report to show all data not only values which is not null!
    How to do this?

    Rainer,
    That where clause will fail when col1 in the table is null and the parameter has the dummy value. Consider the following:
    variable p_col1 varchar2
    exec :p_col1 := 'yourdummyvalue';
    select
    from
         select 'yourdummyvalue' col1 from dual
         union all
         select 'other' from dual
         union all
         select null from dual
         union all
         select 'X' from dual
    ) tab1
    where nvl(tab1.col1,'yourdummyvalue') = nvl(nvl(:p_col1,tab1.col1),'yourdummyvalue')In this case, the query returns the row with null and the row with 'yourdummyvalue', where only the row with 'yourdummyvalue' should be returned.
    You must do something like this:
    where ( :p_col1 is null or ( :p_col1 = tab1.col1 ) )That one is the simplest and does not need a dummy value. Here are some other more complicated examples:
    where nvl( :p_col1, 'yourdummyvalue' ) = decode( :p_col1, null, 'yourdummyvalue', tab1.col1 )or this:
    where nvl( :p_col1, 'yourdummyvalue' ) = nvl2( :p_col1, tab1.col1, 'yourdummyvalue' )In the last 2 cases, it will not matter if the dummy value exists in the data, but they are unnecessarily complex.
    Kurz

Maybe you are looking for