Access As Database data source + licensing

Hello,
If I was to develop an application with Microsoft Access as the data source, I can connect to the Access database like so
     update the database
   private boolean updateDatabase(String value)
             try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
             catch (Exception e)
                   System.out.println("Failed to load JDBC/ODBC driver.");
                   return false;
             try
             {  createDatabaseConnection();
                 query="UPDATE Sonething SET value='"+value+"' WHERE Name='Chris'";
                    stmt = con.createStatement();
                    stmt.executeUpdate(query);
                    con.close();
          catch (Exception e)
              e.printStackTrace(System.err);
              return false;
       return true;
     Create a connection to the access database
     using a dsn-less connection
   private void createDatabaseConnection()
        try
             url ="jdbc:odbc:DRIVER={Microsoft Access Driver(*.mdb)};DBQ=.//dbase//testdb.mdb";     
            con=DriverManager.getConnection(url,"test","password");     
      catch(Exception e)
           e.printStackTrace(System.err);     
However the questions are as follows, If I use Access as the database source does the client computer need a copy of access and are there any licensing restrictions in distributing the .mdb ?
THanks
Chris

No licence required for this type of access. You can distrubute and use programmaticaly MS Access database.

Similar Messages

  • Using MS Access as a Data Source for BW

    I have used MS Excel spreadsheets and 'mainframe' databases as data sources for BW in the past.
    The company I ma working with has a large MS Access database containing historical sales data (from an R/3 3.1H system) that they wish to upload into BW v3.5 for comparison purposes.
    My undersatnding was that MS Access was not a valid data source for BW. Could someone point out the error of my thinking and suggest how to set up MS Access as a data source.
    Thanks in anticipation

    Hi Austen,
    Welcome onboard!
    True, as far as I know, MS Access is not supported by BW. But you can use MSSQL instead. MSSQL is supported. I think the free version of MSSQL called <b>MSDE</b> (<i>Microsoft SQL Desktop Edition</i>) is also supported (<i>Although I have not tried it yet</i>)
    Importing MSACCESS data to a similar table in MSSQL is very easy. Just use the <b>Data Transfer Utility</b> bundled with MSSQL. It will bulk insert data from MSACCESS to MSSQL. Then from MSSQL, you can set up BW to connect to it and you are done...
    Hope I have helped. if I did, please grant points...
    Regards,
    Jkyle

  • GRC 10.0 Access Request Creation- Data Source of User Details

    Hi Experts,
    I was doing GRC 10.0 Configuration and found a query which I am not able to resolve.
    While creation of any kind of Access Request in GRC through NWBC> Acces Management Tab>Access Request>Access Request Creation.
    In the user details section, I can see the HR records( like Pernr, position, manager) have been visible to some extent.
    My question is where from these details came in GRC. What configuration we should maintain to achieve these HR records?
    Hope to get a quick response as this is one of the requirement of the implementation which I am doing with my customer.
    Thanks,
    Atanu

    Alessandro,
    Thanks for your response. It helped me to know certain things.
    But when I am navigating to SPRO > GRC > Access Control > Maintain Data Sources Configuration > [User Detail Data Source], it is configured with a ECC system in target connector and User data type is maintained as "SU01".
    Now my question is where from in my case the GRC is pulling the HR records (PA20) like PERNR, POSITION,PERSONEL AREA etc? SU01 does not provide these information. My ECC box is integrated with HR module, so is it taking the data from HR directly?
    Thanks in advance!
    Atanu

  • Connect to MS Access using NetBeans, data source name not found!

    Hi
    NetBeans IDE 7.3 and OS was Windows 7 (64-bit )
    When I run my program by NetBeans, it complain about the following errors.
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    In fact, the MS Access file had exist the specify path, I can run the jar file (not in IDE environment) and connect to MS Access DB successfully.
    And I had search from network, and found it said "the ODBC source was run by different server", one was C:\Windows\SysWOW64\odbcad32.exe for 32-bit and c:\windows\system32\odbcad32.exe for 64-bit.
    So the question is, why IDE cannot connect to MS Access DB, How to set NetBeans IDE to make it connectable to 32 bits or 64 bits ODBC, like the program run without IDE?
    Thanks!

    user13005878 wrote:
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specifiedThat reads like "your datasource configuration is not good, fix it"
    And I had search from network, and found it said "the ODBC source was run by different server", one was C:\Windows\SysWOW64\odbcad32.exe for 32-bit and c:\windows\system32\odbcad32.exe for 64-bit. It would make a whole lot of sense if that was the other way around, don't you think? SysWOW64 for 64 bits and system32 for 32 bits.
    So the question is, why IDE cannot connect to MS Access DBBecause something is wrong
    How to set NetBeans IDE to make it connectable to 32 bits or 64 bits ODBC, like the program run without IDE?By setting the correct connection configuration properties.
    I'm not 100% positive, but I believe that doing ODBC connections from a 64 bits environment is not actually supported in Java. You may be outraged by that - in Java 8 the ODBC-JDBC bridge is going to be completely dropped, no more connecting to Access from Java without third party libraries (which tend to be commercial). In any case for now try to use a 32 bits Java runtime if you're using a 64 bits one.

  • OpenSource code for accessing Life Science data sources?

    We know that many people use Oracle in Life Sciences. Per IDC, Oracle has a 75-80% market share in "Discovery". Oracle would like to help facilitate the exchange of customer code for accessing LS data e.g from GenBank, SwissProt, etc., but Oracle Legal concerns prevent us from posting customer's code on our web site.
    Does anyone have any LS code that is based on Oracle that they are willing to share with others on say SourceForge.net? Is there any location where people are already posting this type of Oracle-based open source code?

    Please go to SourceForge.net at http://sourceforge.net/projects/oraclelifesci/. Subscribe the mailing list or join the project development. To contribute codes you can chose one of the following:
    1. If you would like to use CVS or you need shared development by others, you can use cvs in sourceForge.net to upload your code.
    2. email your code to [email protected]
    You may also use other facilities that sourceForge has. It only take a couple hours in the beginning to known SourceForge.net.
    We welcome codes in all programming langages (Java, Perl, PL/SQL, C, etc) for life science applications on Oracle Platform. Thank you.
    Joshua Li , San Diego Supercomputer Center/UCSD

  • Access data sources supporting Tuxedo

    WLS 5.1 states that it does not support two-phase commit.
    In fact, if I try to establish two connections to different Oracle
    databases within the same entity bean or session bean within a
    transactional context then an exception is thrown.
    I need to perform updates to two different resources, the first is an
    Oracle database and the second is a Clarify CRM database.
    The problem is getting the updates to both resources done atomically.
    The Oracle database has a layer of EJB's and will run inside WebLogic.
    The Clarify system only comes with a Java Bean interface (not an EJB
    interface).
    Obviously, at some point a connection needs to be established to the
    underlying Oracle Clarify database and I suspect that the Java Bean
    interface that Clarify provides will perform any transactional stuff per
    method call. Although we may be able to detect Clarify problems through
    exceptions thrown from the Java Bean methods, presumably for each
    successful Java Bean method call the underlying data source changes
    associated with it will be committed. Any subsequent Java Bean method
    call that fails can too be detected but we have no way to roll back the
    changes made in the previous method calls. This is obviously a typically
    transaction based problem.
    So, Clarify supports BEA Tuxedo, presumably for this purpose. Perhaps
    someone can confirm, but I think that BEA Jolt provides a Java API to
    BEA Tuxedo. Is this the currently recommended way to communicate with
    Tuxedo? And does Jolt simply provide the equivalent XA methods such as
    transaction start, prepare, commit methods etc?
    I mentioned at the start that an exception will be thrown if an attempt
    is made to open more than one database connection. Presumably, the
    container will not be able to detect this if the connection is retrieved
    in an independent Java class that is not part of the EJB? this is
    important as BEA Jolt or the underlying Java Bean classes must at some
    point establish a connection.
    If Jolt provides this type of interface then presumable I could have a
    stateless session bean that updates the first Oracle data source through
    the EJB's and then simply starts a transaction using Jolt, then applies
    the clarify changes using the Java Beans and then can use the two-phase
    commit capabilities of Tuxedo to 'prepare' the Clarify changes. If the
    prepare fails then a system exception will be thrown to rollback the
    changes to the first data source, otherwise Jolt will be used to tell
    Tuxedo to commit the changes and then the first data source will be
    committed when the session bean method completes.
    One drawback that I can see is that the transactional calls to Jolt will
    be hardcoded in the beans and not controlled by transactional
    demaraction in the deployment descriptors so we would need to be careful
    when the transactional boundaries changes in the deployment descriptor.
    I can't see how Weblogic 6.0 can assist us here as we don't have an EJB
    intterface to Clarify.
    How does the J2EE Connector stuff fit into this?
    Anyone interfaced with Clarify through Jolt/Tuxedo - is the perfromance
    adequate?
    Many thanks in advance

    Hi,
    You can also have a look at Metalink Note:150766.1 :- Subject:      How to Access a JDBC Data Source From OC4J Using a JNDI Lookup
    Regards,
    Sandeep

  • OBIEE 11.1.1.6.2 BP1 64-Bit - Define MS Access Data Source

    Hi
    On our 11.1.1.6.2 BP1 64-Bit OBIEE installation I'd like to define an ms access db as data source. We had that in OBIEE 10G too but there it was an 32-Bit ODBC-Source.
    It seems that OBIEE 11G only accepts 64-Bit ODBC-sources. But for 64-ODBC there aren't any existing ms access drivers.
    Did anybody deal with the same problem and found a solution for it?
    Regards

    Hi,
    you download AccessDatabaseEngine_x64.exe and install it then you can able to find it excel data source in 64bit version. (we too faced this issues few years back and test with windows server 2008) working fine.
    you can download from below link
    http://www.microsoft.com/en-us/download/details.aspx?id=13255
    Thanks
    Deva

  • OWB 10g -- Can't Create Database Links for Data Source and Target

    We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
    For the database link of data source, we got the following error message:
    Testing...
    Failed.
    SQL Exception
    Repository Error:SQL Exception..
    Class Name: CacheMediator.
    Method Name: getDDEntryFromDB.
    Repository Error Message: ORA-12170: TNS:Connect timeout occurred
    For the database link of target , we got the following error message:
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    Repository Error:SQL Exception..
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
    Method Name: createDBLink(String, String, String, String).
    Method Name: -1.
    Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
    However, we could connect to the two databases (data source and target) using the OWB’s utility SQL Plus.
    Please help us to solve this problem. Thank you.

    As I said prior the database link creation should work from within the OWB client (also in 10).
    Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
    I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
    - the use of abnormal characters in the database link name
    - long domain name used in as names.default_domain in my sqlnet.ora file
    What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not.

  • SRS Browser Role Cannot Access Shared Data Sources

    I've created some reports using VS and shared data sources and deployed. I can run reports (I'm a domain admin), but users I've given system administrator roles within SRS cannot access shared data sources. However, if I embed the data source, everything
    is fine. I'm pulling data from three different servers, so the shared data sources are somewhat important.  I'm using SQL Native userid/passwords not windows authentication.  Anybody got any ideas?  I'm new to SRS.  Thanks.

    Hi Janetb,
    I’m confused about the meaning of “cannot access shared data sources”. Are you saying the user cannot see the Shared Data Sources in Report Server, but he can render the report well? Or the user cannot render the report well because he have no permission
    to access shared data sources?
    If in this first scenario, means that the role of the user have no permission to View data sources. To fix this issue, we can add View data sources task to the current role in SQL Server Management Studio.
    If in the second scenario, it is so strange. In my test, I add Browser role of the report to one user which has no permission to access the shared data sources, but he can render the report which retrieve data from the shared data sources very well.
    To troubleshooting this issue more efficiently, could you tell us the scenario you occurred and the error message you received? So that we can make further analysis and help you out.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Oracle ADF Business Component - Various data source...

    As part of our recent design effort we are evaluating how ADF Binding/Data Control and Business Components can be leveraged for different data sources for an instance, we need to support Oracle Database (i.e. leveraging all goodies like ADF View/Entity objects) but along with it we also need to support legacy file data source (note archival of data to file store is already in place). From legacy file data source we will get data via Java interfaces which will be massaged/formatted the same way as data from DB.
    Are there existing examples/best practices listed that we can look at, so that we can design the application with minimal code duplication.

    Regarding best practices / real-world usecases, you might want to keep a few things in mind:
    1. If you need to display data from different databases/data sources in a dashboard like page, you can make use of regions.
    Each region can display a task-flow, and each task-flow can point to different databases.
    This is nice and easy with ADF.
    2. The challenging part is when you need to combine two different data sets into a single collection (such as a table).
    Your only 'efficient' option would then be a programmatic VO where you take care not to make too many network round-trips to fetch data and handling connections /file descriptors properly...
    Other options include:
    Expose a web-service on one of the data sources and use a service based entity in your 'main' application.
    You could access this via a ViewAccessor in your 'main' VO, fetch a large data set, then filter in-memory using a ViewCriteria or RowMatch etc. etc.
    Hope that helps..
    Regards,
    Jang Vijay Singh

  • Joining multiple tables across multiple data sources in MYSQL throws error

    Hi all,
    I have to join tables across multiples MYSQL databases
    eg :
    Table T1,T2 from DB1
    Table T3 from DB2
    Columns from T3 are aggregated ( dimensional column ).
    Hence when i query using oracle answers ( say i have columns from T1,T2 and T3 ) , OBIEE tries to a query DB1 by having NULL for columns in T3
    It uses cast(NULL as INTEGER ) for columns from T3 . But MYSQL throws an error because "cast(NULL as INTEGER )" is not supported by MYSQL.
    I tried executing the query generated by OBIEE manually , if i try giving cast(NULL as SIGNED INTEGER ) , it works.
    pasting the query for reference
    select distinct D1.c2 as c1,
    D1.c1 as c2,
    cast(NULL as INTEGER ) as c3
    from
    (select distinct T87.title_id as c1,
    T59.asin as c2
    from
    print_book_catalog T59 left outer join
    title_authority T87 On T59.asin = T87.asin
    where ( T59.asin = '0345378911' )
    ) D1
    I am not able to find any config file to set this property ( and use signed integer instead of integer ) . Even DBFeatures.INI does not have relevant information.
    Can someobody please help me solve this problem.

    Stijn,
    Thank you for the article link. That was very helpful! It seems that I had a few things off as you do need the "This source should be combined with other sources at this level." checked. In my two table source columns for DATA_SOURCE I defined a literal ('086496' and '085597' for the other) in the Column Mapping tab. I pasted the following in the Fragmentation content, checking the "This source..." box on the Content tab:
    eSIS.SANDBOX4_SCHOOLS.DATA_SOURCE = '086496'
    And pasted the following into the WHERE clause, checking "Select distinct values" on the Content tab:
    sandbox4."".OBIEE.NWOCA_SCHOOLS.SCHOOL_CODE = VALUEOF(NQ_SESSION."SCHOOL") AND sandbox4."".OBIEE.NWOCA_SCHOOLS.DATA_SOURCE = VALUEOF(NQ_SESSION."GROUP")
    This took care of my user's security, utilizing the session variables in the WHERE clause. I am now able to generate reports that only one user can access from one data source and share that same report with another user who can only see data from the other data source.
    Many thanks!!!

  • File data source not found with guest login???

    Hello everybody,
    i'm working with BIP 10.1.3.2.1 on Win2003/Tomcat.
    Everytime if i call a report with a file data source directly via url or in the gui via guest login i get the following error message: "File data source not found: <file data source name>".
    If i use a login in the gui which have the explizit permision to use this data source then there is no problem. Well at this point u might say then use this account, but - if i call a similar report with a database data source directly via url or guest login in the gui everything works fine. So, where is the point? Any ideas?
    Best regards
    Ralf Kanis

    Hi guys,
    I'm running into exactly the same issue. The problem seems to occur only when the report being accessed by guest is a file data source. The only other option I could think of is setting up SSO for BIP and the application issuing the URL to the report.
    Could'nt find anything else in the documentation or known issues list that might fix this without having to setup Single Sign On. Any further luck with your investigation? I'd appreciate any feedback.
    Thanks
    Jonathan Cruz

  • Weblogic will encrypt the Data which are accesssed by using its Data Source

    The Connection Pool and Data Source created from Weblogic , will encrypt the data which are accessed by using this Data source and Connection Pool from the DB?
    If not how we can secure the data which are accessed from this Data Source?
    Bye
    Srinivasan

    The connection between WL and the database can be encrypted; your DBA needs to configure the encryption on the database and then you set properties in the connection pool.
    If you want to encrypt the data within the database, some databases can also do that.

  • Failed to acquire DAS with data sources that match the specified OCE

    Please help, Thank you all.
    We are migrating Oracle databases from Windows to Linux servers. Currently, I have no problem to use my desktop Hyperion Intelligence Designer 8.5 with new oce file to connect to Linux. However, I published the same oce file to Hyperion Performance Suite 8.5 then I got “Sever Error [2018]: Failed to acquire Data Access Service with data sources that match the specified OCE”.
    I launched Service Configurator, in the “Local Service Configurator - DAS1_host”, the “Database JDBC URL is point to Linux server. Also, I added ODBC connection to Oracle database on Linux in the “Properties of Data Access Service: DAS1_host’s Data Source”. Database of JDBC URL in BI1_host, AZ1_host, PUB1_host, SM1_host, LS1_host, UT1_host, BPS1_host, AN1_host are also point to Linux server.
    The “Remote Service Configurator” has ES1_host’s” Storage” with JDBC URL point to Linux server. The same for RM1_host’s and NS1_host’s “Storage” with JDBC URL point to Linux server.
    Is there some missing configuration on the server? Thank you in advance.

    You should login to my oracle support to look into this ID.
    This is the solution mentioned
    Solution
    1) In the .profile file, you will find the definition of the LD_LIBRARY_PATH variable. However, the path to 64 bit libraries is probably appended before the path to the 32 bit libraries(%ORACLE_HOME%/lib32). Therefore, please reverse the order in the definition so that the 32 bit libraries get loaded before the 64 bit libraries.
    Then, restart all services.
    2) Oracle 9.2 was the first Oracle release which defaults to using the 64 bit libraries in the 'lib' directory and the 32-bit libraries that we need are in the 'lib32' directory.
    Therefore, please have the%ORACLE_HOME%/lib32 placed in front of the LD_LIBRARY_PATH environment variable definition.Then, restart all services.
    3) Please check that users have read and write access to the files located in the %ORACLE_HOME%/lib32 folder.
    4) Check the permissions of the libclntsh.a file(located in the %ORACLE_HOME%/lib32 folder) are set to rwxr-xr-x
    5) Recreate the OCE connection in DAS and restart DAS in CMC.
    6) Restart all the BIPlus Services and process the query.

  • Multiple Data Sources In One Logical Table

    I am new to OBIEE and I have came accross an issue. I appologize if this information is in the forum somewhere but I have searched and cannot find it.
    My situation is that I would like to have one logical table that contains multiple data sources which have all the same columns. I already have session variables setup to differentiate the user's security through a row-wise variable for a specific column and a session variable for another column which determines the user's association to the data source in which they belong to. This security works well when the data sources are seperated in the Business Model and Mapping portion but the issue that arises is that the user's cannot share reports when the data sources are seperated in the BM&M.
    I have dragged and dropped a table from the Physical model to the BM&M, I then dragged the second data source (with same meta data structure) over to the "Sources" folder in the first data source table in the BM&M. On the Content tab or each data source table I have defined the WHERE clause as such, where VALUEOF(NQ_SESSION."SCHOOL") session variable is my row-wise column filter and the VALUEOF(NQ_SESSION."GROUP") filter is my data source determinative:
    sandbox."".SANDBOX.OBIEE_CROSS_ENROLLMENTS.HOME_SCHOOL = VALUEOF(NQ_SESSION."SCHOOL") AND sandbox."".SANDBOX.OBIEE_CROSS_ENROLLMENTS.DATA_SOURCE = VALUEOF(NQ_SESSION."GROUP")
    Unfortunatley this only returns values in the BI Answers for the first drag and drop Pysical table in the BM&M layer and not the second Physical table drug into the "Sources" folder. I have also tried to create a new logical table and drag both tables into the "Sources" folder to no avail. I have experimented with the Fragmentation content on the "Content" tab of the seperate logical tables, checking the "This source should be combined with other sources at this level", which gives me an error in BI Answers that a column does not exist which really does.
    What could I be missing? Advanced thanks to those who reply.
    Thank you,
    Kyle

    Stijn,
    Thank you for the article link. That was very helpful! It seems that I had a few things off as you do need the "This source should be combined with other sources at this level." checked. In my two table source columns for DATA_SOURCE I defined a literal ('086496' and '085597' for the other) in the Column Mapping tab. I pasted the following in the Fragmentation content, checking the "This source..." box on the Content tab:
    eSIS.SANDBOX4_SCHOOLS.DATA_SOURCE = '086496'
    And pasted the following into the WHERE clause, checking "Select distinct values" on the Content tab:
    sandbox4."".OBIEE.NWOCA_SCHOOLS.SCHOOL_CODE = VALUEOF(NQ_SESSION."SCHOOL") AND sandbox4."".OBIEE.NWOCA_SCHOOLS.DATA_SOURCE = VALUEOF(NQ_SESSION."GROUP")
    This took care of my user's security, utilizing the session variables in the WHERE clause. I am now able to generate reports that only one user can access from one data source and share that same report with another user who can only see data from the other data source.
    Many thanks!!!

Maybe you are looking for

  • Cheque issue in Automatic Payment

    Hi Gurus, 1) While doing F110 I'm not able to preview check (standard format) as I've given RFFOUS_C against   classical payment medium programe & F110_PRENUM_CHCK against form for the Payment medium. 2) subsequently if go to fbchn systems voids 1 ch

  • Problem in connection with sql server

    hi , i am facing problem in connection with ms sql server..please help me out.... i created the database ChandanClient...and there is one table Expense_code_Table... i want to insert the data into this table.. i am trying to create a demo example.. h

  • ITunes is saying I have available downloads for stuff I already have downloaded.

    A few days ago I backed up about 100 or so apps to iTunes that I had originally downloaded on my iPad (4th Generation, 32GB). The odd thing is iTunes is saying that I have downloads waiting for those apps. Is there any way to get iTunes to recognize

  • FMBB Transaction - Add fields to line item table

    Hi Gurus,                  Our requirement is to enhance FMBB transaction to accommodate one more field. I found this BADI FMBW_CUSTOMER (Method - ADD_FIELDS_TO_LINE_ITEM). I am planning to add an additional field(customer Include) in FMBL table and

  • Save function grayed out

    Hi. I am using Acrobat Pro 9 and the save function via file menu is grayed out for All documents. The toolbar save button is also grayed out for All documents. However, I can use the Save As function via the file menu. It is annoying that I cannot ju