Generic DataReader FetchSize property

Hi,
Does DataReader FetchSize property, available with ODP.NET provider, exist for other provider ?
If I want to make a generic class to access datas, how can I implement specifics properties of each provider like FetchSize in Oracle ?
(excuse me for my bad english :) )

Leond wrote:
Error: STRINGMANAGER: Message file: 'java.util.ResourceBundle.msg_en_ZA' not found. (Looking for 'InvalidJobId').
I suggest that you verify your browser locale. It seems that it is set to ZA and you don't have a property file (ResourceBundle.msg_en_ZA) for that locale.
Alternatively, rename to or create the file ResourceBundle.msg_en_ZA.

Similar Messages

  • Generic Message Bundle Property Files

    Hi
    I am using a generic message properties file, which is contained in a seperate java project too the model and view controller projects. In our custom validations on the entities I am referencing the custom messages from the resources project. When running the application module the correct error messages are displayed. However the error messages are not correctley displayed in the UI and the following error message is displayed,
    Error: STRINGMANAGER: Message file: 'java.util.ResourceBundle.msg_en_ZA' not found. (Looking for 'InvalidJobId').
    I have tried including the resource bundle in the view controller project, firstly in the project properties as a Resource Bundle and as a jar file without succes.
    Any help in resolving this would be appreciated.
    Regards.
    Leon.

    Leond wrote:
    Error: STRINGMANAGER: Message file: 'java.util.ResourceBundle.msg_en_ZA' not found. (Looking for 'InvalidJobId').
    I suggest that you verify your browser locale. It seems that it is set to ZA and you don't have a property file (ResourceBundle.msg_en_ZA) for that locale.
    Alternatively, rename to or create the file ResourceBundle.msg_en_ZA.

  • Implementing a Generic UUP Entity Property Manager

    Guys,
    My Environment is Weblogic 9.2.1 running on Solaris using Sun JDK
    1.5.x. What I am trying to accomplish is:
    Create a Entity Property manager that is deployed outside any portal
    application. Later on when portal applications are developed and
    deployed they can configure their applications to use these entity
    property managers along with their own entity property manager. In
    order to do that I need to deploy these entity property managers as
    EJBs outside any application as an EJB modules. Here is my questions:
    1. Can I deploy an Entity Property Manager independently outside any
    portal application in WebLogic Portal 9.2.
    2. If I can How can I configure my applications to use a remote Entity
    Property Manager EJB.
    Thanks.
    James Bond.

    Guys,
    My Environment is Weblogic 9.2.1 running on Solaris using Sun JDK
    1.5.x. What I am trying to accomplish is:
    Create a Entity Property manager that is deployed outside any portal
    application. Later on when portal applications are developed and
    deployed they can configure their applications to use these entity
    property managers along with their own entity property manager. In
    order to do that I need to deploy these entity property managers as
    EJBs outside any application as an EJB modules. Here is my questions:
    1. Can I deploy an Entity Property Manager independently outside any
    portal application in WebLogic Portal 9.2.
    2. If I can How can I configure my applications to use a remote Entity
    Property Manager EJB.
    Thanks.
    James Bond.

  • Property node for a chart with multiple axes

    I have created a chart with two y axes, one for each of two data sets
    that I am plotting. From the front panel, I can view the properties of
    the chart and adjust the scales of the two axes separately under the
    Scales tab. I need to, though, adjust the maximum and minimum of these
    axes programmatically. How can I create a property node that refers to
    one of the two y axes, and how can I specify which axis the node is
    referring to? If create a generic YScale:Minimum property node, I get
    an error.
    Thanks for the help,
    TJR

    "...YScale:Minimum property node, I get an error."
    That is curious.
    You can specify the active scale for which the property will be applied.
    The attached demo (in LV 7.1) illustrates how to do this by fist setting the index of the active scale and then updating its property (property nodes execute from top to bottom).
    What error do you get?
    Ben
    Message Edited by Ben on 11-30-2005 08:07 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Set Active Scale.vi ‏27 KB
    Set Active Scale.JPG ‏18 KB

  • Behavior of Fetchsize on Application Server

    I have not been able to find this documented anywhere and I'm hoping someone can clear it up.
    Let's assume I've set a DataReader's FetchSize to 1,073,741,824 (1GB) but the DB only returns 1,048,576 bytes(1MB) of data.
    Now I know that the DataReader in this case can use up to 1GB of memory to store DB data, but does it actually request the 1GB of memory to be allocated or does in increase it's memory allocation on demand, much like the C++ vector?
    My DB calls under normal conditions will not return more than 100 MB of data and most results are under 1MB. However, due to the number of calls that can occur at once in a multiuser enviroment, I cannot afford to have fetchsize pre-allocate the maximum possible result size for every call. Increasing FetchSize to match the size of the result set is greatly improving the performance, but we cannot dynamically determine the ideal value for each query because we are using ref cursors. Therefore we are considering setting FetchSize to a very large number.
    This code is being run on VS 2008 using .Net 3.5 with ODP 10.1.
    To sum it up:
    Does DataReader.FetchSize represent the maximum memory that can be used by the DataReader, or does it represent the amount of memory pre-allocated to the DataReader?
    Thanks

    Hi,
    Might help u..
    Re: How to create sap directories in application server by coding.
    Thanks..
    Edited by: Sap Fan on Mar 2, 2009 7:51 AM

  • Programatically resize controls at runtime

    I have a series of controls on a GUI and a GUI that I want to be able to resize according to the machine that is running the program.
    Basically my logic is this. A GUI can fill most of the available display space, but not all, and must never be shown on a monitor that it is not designed for.
    Currently my Laptop is having display issues and keeps chaning the resolution thus hiding parts  of my GUI.
    I want to resize (and position all visible controls and indicators - I know which ones they are) so that my GUI fits in a know space on certain default screen resolutions. (800x600, 1024x768 and 1280x1024)
    I can get the position and bounds of a control, but I can't change the bounds of a control (generic) with the property node. This is frustrating. as one of my controls is a large Multicolumn listbox which takes up most of the display and definitely needs resizing according to screen resolution.
    Any ideas?
    James
    Solved!
    Go to Solution.

    unbundling from your cluster would be simplest, yes.
    I think in general though you could be better served by keeping it simple and letting the user deal with the front panel.  Leave the scrollbars visible, let the user resize the panel.  Look at the bounding box of the pane and initially resize the window to fit the contents rather than the other way around.  I only like to lock down the window if it's to be a terminal type application (only thing running, I know the hardware at dev time, etc.)
    There are some other ways to resize things, too.  I'm sure you've seen the "scale with pane" and "fit to pane" options.  I've always been unsatisfied with the former, but the latter is pretty nice when combined with splitters, especially if you camouflage the splitter and get the various splitter options right.
    Check out the UI of VI Package Manager to see a nice MCL that resizes as you resize the window.  I think JKI even have a how-to-video that might show it....found it: http://forums.jkisoft.com/index.php?showtopic=988
    and for an extra tidbit, check out these properties:
     the top one gives you the resolution of each monitor on the system (mine shows 1680x1050) the bottom one gives you the workspace rectangle of the main monitor (and mine shows (0,1680),(0,990) which shows that the last 60 pixels there at the bottom are taskbar)
    These should be useful for checking what the available space is for dynamically sizing things. 
    -Barrett
    CLD

  • Slow display results with Fill() metod

    When I access database with 100 000 and more records
    and try to display page from end of database, fill method from DataAdapter is very slow. Maybe someone know solution for this problem ?
    sample code:
    start = 100000
    paczka = 500
    cn_all_catalog.ConnectionString = strconnection
    cn_all_catalog.Open()
    da = New od.Client.OracleDataAdapter(query_string, cn_all_catalog)
    da.Fill(DataSet1, start, paczka, "MyTable")

    You can play around with the FetchSize property of OracleCommand class to tune your application. You can set FetchSize to a large value to make less number of round trips to the database to fetch 100,000 rows but that would result in higher memory requirement on the client side.

  • Slow attachments - imap design flaw or poor Sun implementation?

    I struggled with very slow downloads of email attachments until I found another article on this website which said to set the fetchsize property to something bigger than the default of 16k. I set mine to 256k and I was able to approach 200kb/sec download speeds of attachments from my imap server.
    I looked at the code and read the imap RFC briefly, and it appears that you can fetch the message in chunks and I think that's what the sun implementation is doing. But if you have to turn around a TCP connection all the time you will see major performance hits, just as we're seeing. Bumping up the size to 256k improves the situation but it's still a lot slower than I would expect, plus the sun code seems to allocate and then free 256k buffers on a regular basis as a result of this. That's probably OK since this is the client side of the equation, but my question is, Does it have to be done this way?
    Why, for example, isn't it possible just to request the entire attachment (or message body) in one go? My interface to it is an input stream, why does it have to be broken up into little pieces? Is it just a side-effect of the sun implementation, with its request/response objects?
    I was thinking I'll turn off the partialfetch boolean (not really knowing what that means) and see if that helps, but I am worried that the Sun implementation might just allocate a big array and load the whole attachment into it.
    Meanwhile, at first I thought it was a poor base 64 decoder that might be at fault, but should have know it wasn't that because my CPU was not pegged. Still, I decided to rewrite it in what I think is a much simpler and hopefully faster approach. Would there be any interest in seeing the code?

    Thanks for the reply.
    I think what your answer means is, It's an imap design flaw. And it's because the data and the command connection are one in the same, unlike FTP, which had separate channels.
    Isn't there something called pipelining with HTTP/1.1 where you can request the next piece before you finish receiving the current one? Would something like that work? It would require that the server has a thread for reading and one for writing, and the application would have to risk reading ahead a little bit. The thing to be avoided is the complete and utter stopping of the connection while the client turns around to ask for the next part.
    I don't know what I am talking about. Can you tell?
    JP

  • SOA B2B adapter(send) - B2B console not identifying partners correctly

    Hi there,
    My case is like this.
    Trading partner is sending a doc through custom http server which B2B cant reach.
    So I wrote a SOA Composite to fetch this xml from remote & then send the document to B2B.(as if partner is sending to host)
    I used B2B adapter & send operation for this.
    The issue is, B2B is not correctly recognizing the sender trading partner.
    B2B engine is assigning the same TP for both sender and receiver.
    I am setting Generic Identifier to set the sender/receiver value.
    (for example... am using Google as Host & Amazon as Partner.. )
    Properties Set in B2B Adapter:
    28-Apr-2011 10:43:20 Sending property "b2b.toTradingPartnerId", value is "Google".Sending property "b2b.toTradingPartnerId", value is "Google".
    28-Apr-2011 10:43:20 Sending property "b2b.documentProtocolVersion", value is "Amazon_1.50".Sending property "b2b.documentProtocolVersion", value is "Amazon_1.50".
    28-Apr-2011 10:43:20 Sending property "b2b.documentProtocolName", value is "Custom".Sending property "b2b.documentProtocolName", value is "Custom".
    28-Apr-2011 10:43:20 Sending property "b2b.fromTradingPartnerId", value is "Amazon".Sending property "b2b.fromTradingPartnerId", value is "Amazon".
    28-Apr-2011 10:43:20 Sending property "b2b.toTradingPartnerIdType", value is "Generic Identifier".Sending property "b2b.toTradingPartnerIdType", value is "Generic Identifier".
    28-Apr-2011 10:43:20 Sending property "b2b.documentDefinitionName", value is "PO_Defn".Sending property "b2b.documentDefinitionName", value is "PO_Defn".
    28-Apr-2011 10:43:20 Sending property "b2b.fromTradingPartnerIdType", value is "Generic Identifier".Sending property "b2b.fromTradingPartnerIdType", value is "Generic Identifier".
    28-Apr-2011 10:43:20 Sending property "b2b.documentTypeName", value is "PURCHASEORDER".Sending property "b2b.documentTypeName", value is "PURCHASEORDER".
    28-Apr-2011 10:43:20 Invoked 1-way operation "send" on partner "SendB2BOrder".Invoked 1-way operation "send" on partner "SendB2BOrder".
    As seen In B2B Console:
    Sender Type     Generic Identifier
    Sender Value     Amazon
    Receiver Type     Generic Identifier
    Receiver Value     Google
    Sender     Google (????)
    Receiver     Google
    Any help will be greatly appreciated.
    Thanks
    Ganesh
    Edited by: Ganesh on Apr 28, 2011 6:13 PM

    Not sure, What exactly are you trying to achieve.
    Please check with your TP that url should be http://<url>:<port>/b2b/httpReceiver . "http://<url>:<port>/b2b/httpReceiver" or "http://<url>:<port>/b2b/transportServlet" URLs are used by B2B to receive the http request.
    To send the message out from B2B, values should be like this:
    Sender Type Generic Identifier
    Sender Value Google
    Receiver Type Generic Identifier
    Receiver Value Amazon
    b2b.toTradingPartnerId = Amazon
    b2b.fromTradingPartnerId = Google
    This means message to going from Google to Amazon.
    If still the issue persist, Send the log to my mail.
    Rgds,
    Nitesh
    [email protected]

  • 550 5.7.1 Unable to relay for ... (not a question, just a FAQ item)

    There's a bug in either Microsoft Exchange or JavaMail API.
    An exception is thrown when sending an email:
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    class com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for [email protected]
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1141)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:536)
    at javax.mail.Transport.send0(Transport.java:151)
    at javax.mail.Transport.send(Transport.java:80)This exception is caused by, believe or not, because the same mail session has defined the "mail.imap.fetchsize" property in an earlier IMAP session.
    I used this line to fetch a session and in the IMAP code I defined the fetchsize property to increase performance. An identical line was used in the SMTP code to fetch a session to send a mail. As it turns out, the SMTP communication is disrupted by the fetchsize property.
    Session session = Session.getDefaultInstance(props, null);
    My solution was to change the SMTP code the following:
    Session session = Session.getInstance(properties);
    Hope this helps someone, somewhere in the future...

    Well, I don't believe the fetchsize property is disrupting SMTP sending, but it is true that
    everyone who calls Session.getDefaultInstance gets the same Session object, and the
    properties for that Session are set by the first caller. The properties passed in by
    subsequent callers are ignored.
    The javadocs for the method try to explain this behavior, perhaps not well enough.

  • JavaBeans bean container

    I have a JavaBean, where one of the properties of the bean is as a bean container for other beans of a certain type or sub-type. I would like to specify this property as a BeanContext, which is the traditional bean container under Java 1.4 and up. While I can specify the type of this property as a BeanContext, and instantiate a BeanContext from the BeanContextSupport class, how can I get IDE environments which host JavaBeans to generically treat this property as a nested BeanContext ?

    Hi
    i had the same doubt!
    i found this link
    http://forum.java.sun.com/thread.jspa?threadID=787649&start=10&tstart=0
    hope it helps!!
    Regards!!!
    Tiago

  • Get string value from enumerated value on AE user interface

    Hello.
    I'm trying to get the string value from a enumerated value on a layer's property.
    When I get the value via script, I have  1D value. However, I need the string value.
    In this example, the value I would get is 1. Is there any way I can get "Horizontal and Vertical".
    I'm looking for a generic way (any property value defined this way), not for this case only.
    Thanks for the help.
    cheers.

    You get the selected value via the value property of the component.
    Timo

  • Generic Property Editor-like panel for generic variable editing

    I am looking for a TreeTable like interface to modify a rather large list of hierarchical parameters. These parameters for example can be a bunch of class variables that may be written to a "configuration file" later on. For example:
    ParamSetA (expand/collapse available)
    |-------> ParamA1_name, ParamA1_value
    |-------> ParamA2_name, ParamA2_value
    |-------> ParamSetB
    |-------> ParamB1_name, ParamB1_value
    |-------> ParamB2_name, ParamB2_value
    ParamSetC (expand/collapse available)
    |-------> ParamC1_name, ParamC1_value
    |-------> ParamC2_name, ParamC2_value
    |-------> ParamC3_name, ParamC3_value
    ...(etc)
    Ideally, I really like the built-in property editor found say in NetBeans, or those used to edit bean properties. An example is found [in this image|http://java.sun.com/docs/books/tutorial/figures/javabeans/customization.gif], But I am not sure how to implement it so that it edits generic data (i.e. class variables) and not specific bean data.
    I understand regular tables are editable, but I like being able to expand/collapse sets to simplify the view. I understand TreeTables are available, but I haven't seen implementations for things other than a file browser, but I'm fairly new to swing.
    Any recommendations on built-in java capabilities that will help with this above concept?
    Thank you.

    You are going to have to pick a specific tree table. Hard to help you with an implementation when you haven't even chosen which component you are using. I recommend SwingX's TreeTable:
    [https://swingx.dev.java.net/]
    Questions regarding it should probably be posted on their forum rather than here though.

  • CQ5.5 ClientContext.get('profile/region') === 'MW' versus Generic Store Property component

    Hi there,
    I have been having segment resolution problems for a custom data store that sets a new property, "region", on the data store "profile".  Precisely, it adds a new "region" property to the existing data store "profile".
    The segment resolution problems occurred when using the Generic Store Property component for the segment trait definition.
    I dragged it onto the stage and populate it, choosing the following:
    - Store:  profile
    - Property Name: region (that's set in our custom store implemention, which is deployed to /etc/clientcontext/default/content.  having genericstoreproperties with "region" in its properties attribute (which all works.  That's why Generic Store Property can indeed find "region" to select from as possible property value).
    - Operator: equals
    - Property Value: MW
    However, when I change the segment trait definition to a script instead:
    ClientContext.get('profile/region') === 'MW'
    Then, I will not have segment resolution problems anymore.
    I looked at the definition of the OOTB component "Generic Store Property".  It's defined in /libs/cq/personalization/components/traits/generic
    ClientContext is an object of CQ_Analytics, and it's defined in /libs/cq/personalization/components/clientcontext/clientlib/clientcontext.js
    At no point that I was able to make out, the OOTB component "Generic Store Property" accesses ClientContext.
    My question is:
    - How is "Generic Store Property" component with the values set as above different from a script snippet ClientContext.get('profile/region') === 'MW'?
    At what point does it access the ClientContext object?
    Finally, does it change the order of js which is loaded, when I use the Generic Store Property, instead of the script snippet ClientContext.get('profile/region') === 'MW'?
    If that is true, is this a possible bug in Adobe CQ5.5?
    Thanks for any hint on this.
    -Maria

    How are you initializing the profile store with the region property? I tried following to reproduce your problem:
    Create a new Segment "MW Test Segment"
    Added a generic store property trait profile, region, equals MW
    Added a script trait 'ClientContext.get("/profile/region")=="MW"'
    Fired up Firebug and called 'ClientContext.set("/profile/region","MW");
    You can see the result below, both traits fire.

  • Web template not showing "force variable property" under generic tab

    Hi All,
    I have a problem regarding web template property.One web template is not showing "force variable" property under generic tab in DEVELOPMENT sys but the same web template showing "force variable" property in QUALITY sys.I want property in DEV sys also.
    Plz help me.
    Thanks In Advance.
    Priyesh.

    Hi Priyesh,
    Are you sure youhave the web template properties open and not those of any web item in this template? If you can;t find the option you can try coding it in HTML (look at the code in the Q system and copy - paste it into your template in Dev)
    Hope this helps...

Maybe you are looking for

  • I tunes downloads help

    Recently I down loaded a movie from I tunes onto my iPad .    I took another of my iPads , signed out the existing apple i.d. And signed in my apple I.d. Which was used to purchase the movie and downloaded it on my second iPad. It worked but when I s

  • 3GS external speakers no longer work and significantly diminished recognization of carrier signal

    Recently my IPhone 3GS has, through events unknown to me, stopped emitting any sound from the external speakers (sound quality is perfectly fine from headset). Also, signal strength has become almost entirely diminished, and most often "No Carrier" i

  • HTTP 404 Not Found Error in Process Control Mail

    Hi All, I am working on version 9.3.3 I have setup e-mail alerts through a SMTP server. When I am going on Process control and starting the cycle OR promoting to any level, I am getting a Minimized window showing HTTP 404 Not Found error and Mail is

  • Adobe flash in OSX 10.04 Maveriks

    Flash are not working in firefox is it sandboxed, do you have a workaround ?

  • BSP's and PDA's

    Hello, My company is currently using a stand-alone WebAS to host BSPs which are then accessed via a PDA using Internet Explorer.  From what I've recently read about the Mobile Infrastructure, it sounds like we're more or less re-inventing the wheel.