Is there a simple way to retrieve the data from a resultset using JavaBean?

I have a result set from a select * from users where userid = xxx statement. However, at the moment I have had to hard code the remainder of the code to get the data from each column as I need the column name as well as its data.
I had read somewhere using java beans and reflection it is easier. But i do not know know how.
Is there a simple way to retrieve the data from a result set ?
thanks in advance-
kg

Well, it is not really simple. But there are Open Source components to simplify it for you. See e.g http://www.must.de/Jacompe.htm - de.must.dataobj.DataObject and its subclasses. Feel free to contact me if you have any questions: [email protected]

Similar Messages

  • My iCloud backup from my old phone shows incomplete is there a way to retrieve the data that I backup from my old phone even if it didn't complete . They told me that they would let if finish when I traded in my old phone. I want to restore it to new phon

    My iCloud backup from my old phone shows incomplete is there a way to retrieve the data that I backup from my old phone even if it didn't complete . They told me that they would let if finish when I traded in my old phone. I want to restore it to new phone. Even if it didn't complete how to I restore the 5 g that did backup

    Unfortunately you can't restore an incomplete backup.

  • I allowed ATT store to re set my iphone 4 and need to know if there might be a way to retrieve the data

    I allowed ATT store to re set my iphone 4 and need to know if there might be a way to retrieve the data?

    Resetting should not have deleted your data. 
    But if you backed your phone up to iTunes or iCloud you should be able to restore it from there.
    http://support.apple.com/kb/HT1414

  • Is there any other way to  limit the data a user can see

    We are using Discoverer 10.2.xxx
    We are running it against an Oracle applications database but we do not have Discoverer integrated with the apps. I have created database users for discoverer and granted access to the data at the db level.
    We have about 40 salesreps and we only want each rep to see their own data. We have a high turn over with the reps
    For now, I have created the row level security in that folder in my eul. If the username = XXXX then Salesrep = XXXXX
    OR
    If username = YYYY then DSM = YYYY
    etc.. This goes on for about 40 users We have 3 levels of "users" - Salesrep, DSM or RSM (District or Region sales manager)
    These users are setup in my apps and I can write a database procedure to select their salesrep name based on their username.
    Is there any other way to limit the data that the salesreps can see ?
    Possibly with a stored procedure some way?
    Thanks
    Angie

    At a previous client's, I had created a system not too unlike what you're describing.
    Basically, I created an Oracle table that stored information concerning the salesperson as in Oracle Apps the data was not reliable for what they were doing (ie: with adding Apps modules, sometimes salesperson data was there, but with say, CRM, it was in another place, etc.).
    So, since this table was going to be used for driving everything about a salesperson (commissions, who they report to, when they started, territory, when / if they moved territories and/or manager, etc, etc.) I put lots of good stuff in it that would make life easier for them.
    The end user in charge of all this had was given a Form to add, edit, delete all this good stuff and they were happy.
    When it came time for security, it worked like a charm in that I used the concept of the BIS views where a user has an apps id associated to them and all data was filtered by that id. All I really had to do was to create this view that simply filtered data to that user's id. Then whenever I had a Discoverer report for salespeople, managers, etc. I just made sure the folder used had a join to this filtering view and I chose an item from the filtering view and all worked fine. All Discoverer reports only returned row level information for the salesperson who ran it.
    Likewise, the same Oracle table was queried by another security view that only brought back the same IDs for the salespeople associated to each manager. When this simple view was joined to any sales Discoverer folder (and used in Disco), it limited all data to the salespeople the manager was responsible for.
    Obviously this is just an overview and would take pages to explain, but essentially, if you can associate some kind of unique ID to each salesperson (I used the one returned in BIS views when someone logs into Apps, but you could just assign a different in your case), then you can create a view that filters to that id. Then when that view is brought into the EUL and joined to any other folder in the sales area (and you choose a column from the security view), you'll have what you're referring to - row level security for all salespeople and managers.
    When it works - it sure does look impressive.
    Russ

  • There was an error while retrieving the universes from the CMS (Central Management Server). (PS 20003)

    Hi there,
    When I'm trying to manage spaces in SAP Business Objects Explorer 4.1 SP04, I'm getting the following error:
    Failed to retrieve the data source list.
    There was an error while retrieving the universes from the CMS (Central Management Server). (PS 20003)
    For input string: "false"
    I've already restart Explorer servers (Explorer Exploration Server, Explorer Indexing Server, Explorer Master Server and Explorer Search Server) and rebooted the server where Explorer is installed.
    Nothing seems to fix this error message. I'm not able to create new spaces because I cant access the sources:
    I'd appreciate some help !
    Thanks in advance

    HI Pavan,
    Admin is on the Administrators Group, which as Full Control on the Explorer Application
    I think this worked on the day the Explorer was installed (past week).
    Since them never worked.

  • If meta data LUN is totaly destroied , is there any way to rebuild the data from the video LUN

    If meta data LUN is totaly destroied , is there any way to rebuild the data from the video LUN ????

    What happened to your metadata? Are you sure the metadata is gone?
    In theory, file carving could be attempted on the data LUNs, but you would need a tool that understands how Xsan lays out data across LUNs in a stripe group and hope your fragmentation isn't too bad. I doubt such a tool exists, but if one does it almost certainly is not publicly available. You should probably contact a data recovery service with experience recovering data from Xsan. Do that before you do anything else if this data is really important.

  • Is there is a way to export the themes from iDVD to DVD Studio Pro?

    OK...so here's what I'm trying to find out: is there is a way to export the themes from iDVD to DVD Studio Pro? Or can I build the project in DVDSTPRO and import it to iDVD to build and burn?
    I've read several threads here and haven't come across my specific question. If I missed it, please copy me a link. Otherwise, I'd like to use the templates/themes in iDVD with my FCP project.
    I was thinking about importing the project from FCP to iDVD. Then, I thought about the markers etc....
    So, if anyone had an idea, tip or link, I'm all for it!
    Thanks!
    ron

    Importing iDVD Projects and Themes
    DVD Studio Pro 4 can import projects from iDVD 3 and iDVD 4. You can import an iDVD theme by using the theme in a project within iDVD and importing the project into DVD Studio Pro. When creating the project within iDVD, you do not need to use the final assets or make a complete project.
    Note: DVD Studio Pro will not import projects from iDVD 1, iDVD 2, and iDVD 5. In general, iDVD needs to be installed on the same system as DVD Studio Pro. An exception is if you import an iDVD 4 archive project.
    To import an iDVD project or archived project into DVD Studio Pro:
    1 Do one of the following:
    • Choose File > Open.
    • Press Command-O.
    2 Locate and select the iDVD project or iDVD 4 archive project in the Open dialog, then click Open.
    DVD Studio Pro imports the iDVD project.
    About the iDVD Project Import
    When DVD Studio Pro imports an iDVD 3 or iDVD 4 project or iDVD 4 archive project, it has standard locations it looks for to find the assets and themes used in the project. This is especially important if the project uses custom themes.
    The standard locations that DVD Studio Pro uses are (in this order):
    • iDVD project bundle: This is the file created when you save the project.
    • [user]/Library/iDVD/Favorites: This folder is located in your home folder.
    • [root]/Library/iDVD/Favorites: This folder is located at the root of your disk.
    • /Network/Library/iDVD/Favorites: This folder is on a network system specifically
    configured by your system administrator for this purpose. (This is not the same as having a server networked into your computer.)
    • iDVD application bundle: This is the iDVD application file that contains the default theme elements.
    Note: When you create an archive project in iDVD 4, you can choose to include the themes and encoded files. For the best portability, you should include both options. This results in a larger archive file, but ensures you can take the file to any DVD Studio Pro system and import it without missing assets. If you do not choose to include the themes and encoded files in the archive file, those assets must be available in one of the standard locations.
    If your project will have automatically-created chapter index (scene selection) menus based on markers embedded in the video, it can be easier to create these within iDVD prior to importing the project into DVD Studio Pro. This ensures the chapter index menus use the selected theme’s background and include arrow buttons to navigate between the menus.
    Important: To ensure all iDVD menu elements import correctly into DVD Studio Pro, you must navigate to each chapter index menu within iDVD before saving the project. This is also true for any menus you add to your iDVD project by clicking the Folder button.
    Issues With Importing iDVD Projects
    There are some issues to be aware of when you import iDVD projects:
    • If you import an iDVD project with DVD-ROM content, DVD Studio Pro does not update the settings in the Disc Inspector’s General tab to reflect the DVD-ROM content. You must manually select the DVD-ROM layout and choose the folder to include.
    • When you create a slideshow in iDVD, you can add arrow buttons to each still to provide viewers with an additional method of jumping to the previous and next stills. These arrow buttons are not imported when you import an iDVD project into DVD Studio Pro. The viewer must use the Previous and Next buttons on the DVD player’s remote control to jump between stills.
    • The button highlights used in iDVD may look different when imported into DVD Studio Pro. In most cases, the text in the buttons is set to be included in the highlight. Additionally, buttons that use an underline in iDVD will not have an underline when imported into DVD Studio Pro.
    • When you import an iDVD project, you may find that the button that is highlighted by default on some menus changes. During the project import, DVD Studio Pro numbers the buttons on each menu and highlights button 1 by default. You can assign any button on a menu to be the default button in the Menu tab in the Menu Inspector.
    • If you import an iDVD project that contains a drop zone configured as a slideshow and has multiple slides assigned to it, DVD Studio Pro only shows the slideshow’s first slide in the drop zone.
    Source: +DVD Studio Pro User Manual+

  • Hello .trying find out if there is any way to download the music from a youHello .trying find out if there is any way to download the music from a you tube video to your i tunes library...thanks in ad tube video to your i tunes library...thanks in advance

    Hello,  I was trying to find out if there is a way to download the music from a you tube video to your itunes library.

    I believe you just are able to delete them from iTunes.
    Hope it will be helpful

  • How to retrieve the data from SAP database.

    Hi Pals,
    How to retrieve data from SAP R/3 System to my third party software. I will make my query little bit more clear. There is a list of assets entered and stored in the SAP system. For example 3 mobile phones.
    1) Mobile 1- Nokia
    2) Mobile 2 - Samsung
    3) Mobile 3 u2013 Sony
    Now think I do not know what all assets is there. I have to retrieve the data and get it on my third party software. Just display the list of assets. Lets say SAP XI is also there. Now how will I map it and get the details.
    Please give me step by step method.
    N.B: Just to read the data from SAP database.
    Please make the flow clear step by step.
    Thanking you
    AK

    Hi,
    You can use RFC or ABAP Proxy to make synchronous call with SAP.
    Under RFC or ABAP Proxy Program you can get the data from SAP tables. Direct access to SAP Database is not preferrable even if its possible.
    The better way to go for RFC or PROXY.
    You will send the request from Third party system and the it will be as input parameters from RFC/ Proxy it will response based on it.
    This got it all..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    HTTP to RFC - A Starter Kit
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    Refer
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jun 4, 2008 9:32 AM

  • Is it possible to retrieve the data from maintainance view?

    Hi experts,
    Am facing one problem.
    Is it possible to retrieve the data from Maintainance View ,If yes how?
    IF it is not possible then Y?
    While am trying to retrieve data from maintainance view it's showing message like
    "it is not a database view or table".
    Can u pls give me ans.
    Thanks&Regards,
    Arun.

    Hi Arun,
    It is not possible to retrieve the data from Maintenance view. Maintenance View is different and Database View is different.
    Maintenance view : Maintenance view permits you to maintain the data of an application object together.The data is automatically distributed in the underlying database tables.
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    In other words, Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Database View: Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.A database view is automatically created in the underlying database when it is activated.Database views implement an inner join.If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
    Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Retrieve the data from Oracle (Superior difficult)

    Dear all,
    I want to retrieve the data from the table (TABLE A), in TABLE A there are a field call RANGEFROM, However, the data type of it is "VARCHAR2". But in this field, it can contain numeric and date. Now, I want to select this field in it by a SQL statement. I want the SQL statement like this:
    "SELECT * FROM TABLE_A WHERE (to_date(RANGEFROM, 'mm-dd-yyyy')) <= 'Now()';"
    However, the result of the SQL only display in VARCHAR2 mode. That mean it can't compare the result. so What can I do?
    Thanks
    null

    As long as the input literal for formatting the date is in always like 'mm/dd/yyyy' then you may explicitly select the RANGEFROM field in your select list as to_date(RANGEFROM,'mm/dd/yyyy');
    eg:
    SQL> select to_date('01122000','mm/dd/yyyy') RANGEFROM from dual;
    RANGEFROM
    12-JAN-00
    Also this is now good for comparison:
    SQL> select SYSDATE - to_date('01122000','mm/dd/yyyy') from dual;
    SYSDATE-TO_DATE('01122000','MM/DD/YYYY')
    339.67455
    Also the same technique could be applied in your where condition as well.
    Good luck :
    (12 month wait for a response is not good)

  • EVDRE encountered error retrieving the data from web Server

    Hi,
    I know this is the common/generic error message, following is our scenario:
    We installed BPC NW 7.5 on our production box and configured F5 load balancing for two .NET servers.
    We are getting the error "EVDRE encountered error retrieving the data from web Server"when we run the report EVDRE on APSHELL (original Appset). This is the fresh installation:
    The workaround "Clear Local application information". Even this works only sometimes.
    Is there anything else we should have configured on using two .NET servers?
    Please suggest.
    Thanks

    hi Nagesh sorry for the delayed reply..
    We changed some of the parameters at F5 switch like sticky time, timeout..
    And the MDXPARSER connection to one of out application server was failling, thats why we did not had this issue consistently.
    When ever the request goes to that app server fails. It took a lot effort to notice this since we were assuming the F5 switch was only causing the issue.
    Thanks

  • No data Exists error while retrieving the data from a table

    Hi Everyone!
    I am getting "No Data Exists" error while retrieving the data from a table....where i need to check...if possible please give me example link.....please help me regarding this

    Hi !
    thanks for ur response...
    I have written vo.executeQuery for the table...My page is running but i m not getting the data....I have to select two LOV's and when I click on Go button the data has to display in the table...After the selection of LOV's when I click on Go in the table "No data exists" message is appearing...the table has the data and the query is also executing...please give info where i did the mistake....

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • How to retrieve the data from Website and Upload it in SAP table?

    Dear ABAPers,
            I want to retrieve the data from website and upload the same in SAP Database Table is that possible.Please help me.It is very Urgent.
    Thanks & Regards,
    Ashok.

    Dear Abhishek,
                  Thanks for your reply.But my requirement is not met.
    If i execute the program it should retrieve the data from particular website.
    Thanks & Regards,
    Ashok.

Maybe you are looking for

  • IPod NOT playing iTunes downloads - HELP!

    I thought it was an audiobook I downloaded, but I re-downloaded it tonight and it still didn't work. So I downloaded a song and just like the book, it went swiftly into iTunes and played fine. When I sync the iPod, the music comes over, but will NOT

  • DKIM for OS X Server's mail server

    I'm trying to enable DKIM for OS X Server (Mountain Lion) just as easily as it was to do so in Lion Server. I did try, based upon the 10.7 manual - changing to the new location, but I'm stuck at running amavisd showkeys It tells me: Config file "/etc

  • EJB client session

    What is an EJB client session? How many are there? When does it start and when does it end? Who controls that? Thank you.

  • Problem with showing palette component which contains swing components

    hello, I have found a simple problem with jdeveloper IDE but this simple problem delays my project and it make late a big project so help me please. I want to add somes swing components to a JFrame but when I try to show the palette component as usua

  • Equipment BOM quantity field as optional

    Hi Expert, Does anyone know how to set quantity field as optional in Equipment BOM transaction (IB01) Pls help. Thank you Rgds,