Could i use another database

Im wondering if i can use another database for the workflow engine. I mean it comes with a database managment by default i want to know if a can use another one (SQL server)

Hi,
We have been using jtds driver , which is free and the fastest and without any bugs until now, we have been using it for 4 months now.
The part below explain how to set up your mssql server with jtds driver.
create a db lets call is bpel
then run these queries on it. basically to create the tables, these files are
domain_sqlserver.ddl
server_sqlserver.ddl
workflow_sqlserver.sql
sensor_sqlserver.sql
located at
/OraBPELPM_1/integration/orabpel/system/database/scripts
After that download the jtds driver for sql server.
We do not use the microsofts jdbc driver for mssql, although we have tried it.
It doesnt work properly, with the bpel process manager, basically it has some problem with select image and blob types from DB.
Anyways, the best one we found was for jtds, it works great and is the fastest I beleive.
We used data direct's jdbc driver but its not free and after doing some benchmark tests we found jtds was the fastest.
mkdir -p jdbc/jTDS/unzip
cd jdbc/jTDS/unzip
download the jtds-1.2-dist.zip from
wget http://surfnet.dl.sourceforge.net/sourceforge/jtds/jtds-1.2-dist.zip
unzip jtds-1.2-dist.zip
cd unzip
cp jtds-1.2.jar OraHome_1/integration/orabpel/system/appserver/oc4j/j2ee/home/applib/
You will now have to configure MsSQL in your data-sources.xml file.
Microsoft SQL Server Database Configuration
Oracle Bpel now needs to be configured to use Microsoft SQL Server, using the JDBC drivers.
cd OraHome_1/integration/orabpel/system/appserver/oc4j/j2ee/home/config/
vi data-sources.xml
You must then place the following xml within the file:
<data-source class="net.sourceforge.jtds.jdbcx.JtdsDataSource"
name="BPELServerDataSource"
location="jdbc/BPELServerDataSourceWorkflow"
xa-location="BPELServerDataSource"
ejb-location="jdbc/BPELServerDataSource"
connection-driver="net.sourceforge.jtds.jdbc.Driver"
username="BPEL_user"
password="bpeluser!">
<property name="serverName" value="server_name"/>
<property name="databaseName" value="database_name"/>
<property name="portNumber" value="1433"/>
</data-source>
<data-source class="net.sourceforge.jtds.jdbcx.JtdsDataSource"
name="AdminConsoleDateSource"
location="jdbc/AdminConsoleDateSource"
xa-location="AdminConsoleDateSource"
ejb-location="jdbc/AdminConsoleDateSource"
connection-driver="net.sourceforge.jtds.jdbc.Driver"
username="user_name"
password="password">
<property name="serverName" value="server_name"/>
<property name="databaseName" value="database_name"/>
<property name="portNumber" value="1433"/>
</data-source>
<data-source class="net.sourceforge.jtds.jdbcx.JtdsDataSource"
name="BPELSamplesDataSource"
location="jdbc/BPELSamplesDataSource"
xa-location="BPELSamplesDataSource"
ejb-location="jdbc/BPELSamplesDataSource"
connection-driver="net.sourceforge.jtds.jdbc.Driver"
username="user_name"
password="password">
<property name="serverName" value="server_name"/>
<property name="databaseName" value="database_name"/>
<property name="portNumber" value="1433"/>
</data-source>
Run the BPEL server and everything should work fine.

Similar Messages

  • How to use another database schema in Dictionary project

    Problem description:
    1)     I want to use Developer Studio to create my own J2EE project. Then I have to use Dictionary Project to maintain my database.  My database is Oracle.
    2)     I created tables in Dictionary project and deployed to database
    3)     After that I found my tables were deployed into SAPSR3DB schema.
    Question:
          What can I do if I want to deploy my tables into another schema other than SAPSR3DB?  In real cases I want to separate my tables from the WAS system tables.

    Hi Chaoran,
    If you want to use external database with Java dictionary tables..
    Right click on the Java Dictionary Table, from the menu select <b>Create DDL script</b>, then select to which data base you want to generate scripts. It will generate .sql scripts, use this scripts in your database to create tables. But the same time you need to create Data sources in Visual Administrator for your oracle system.
    Regards
    Abhilash

  • Using another database table in a query

    Hi,<BR><BR>Iam designing a report in which i have to use a table from another database<BR><BR>my query is <BR><BR>select ev_class_id,ev_id,desc,start_time from tev where start_time > today<BR><BR> and (desc like \'%f\' or desc like \'%m\' or desc like \'%yds\')<BR><BR> and ev_id not in(selct ev_id from ppbrio:race_length)<BR><BR> and ev_class_id = 23<BR><BR> union<BR><BR> select ev_class_id,ev_id,desc,start_time from tev where start_time > today<BR><BR> and ev_id not in (select ev_id from ppbrio:race_length)<BR><BR> and ev_class_id in (3,129,131,132)<BR><BR>"open bet" is a databse am using to design query and have to use a table from ppbrio(pp_race_length)<BR><BR>can some body tell me how to do this.<BR><BR>rajani<BR><BR><BR>

    Put it in the post-query trigger. Post-change is there only for backward compatibility.

  • Can't use parameter in query if using another database

    Hi there, I logged on SAP Business one for company A,  and try to run the following query:
    select t0.field1 from \[company b\].\[dbo\].\[table1\] t0
    where t0.filed2 = '\[%0\]'
    And I got errors.
    If '\[%0\]' is replaced by a real value it works.
    select t0.field1 from \[company b\].\[dbo\].\[table1\] t0
    where t0.filed2 =  1234
    So you can't use parameters in a query if you're using a  database that is not your current company?
    Thanks.
    Edited by: Leslie Woodward on Feb 22, 2010 7:40 PM

    That is right. All data have to be in the same company to use '[%\]' variables.
    Thanks,
    Gordon

  • How can i get data from another database SQL Server use database link from

    I have a database link from Oracle connect to SQL Server database with user cdit connect default database NorthWind.How can I get data from another database(this database in this SQL Server use this database link)?

    hi,
    u should see following documentation:
    Oracle9i Heterogeneous Connectivity Administrator's Guide
    Release 1 (9.0.1)
    Part Number A88789_01
    in it u just go to chapter no. 4 (using the gateway),,u'll find ur answer there.
    regards
    umar

  • Photoshop cs6 error "could not use the type tool because the target channel is hidden.  happens when im typing in photoshop, go to another layer and then come back. can't alter text at that point

    photoshop cs6 error "could not use the type tool because the target channel is hidden.  happens when im typing in photoshop, go to another layer and then come back. can't alter text at that point.  i really need to get thsi figured out. thank you.

    You may have answered my question. I AM using the 64bit version of Illustrator CS6. I had no idea there were bugs in it that affected paths copied and pasted from Illustrator to Photoshop.
    A bit more about what I'm trying to accomplish... I'm trying to follow Deke's tutorial (http://www.deke.com/content/dekes-techniques-018-creating-a-3d-pie-chart) which is already difficult since so much has changed between CS5.5 and 6, but then on top of that, I keep getting errors!
    So I created the pie chart exactly as he shows and copied and pasted into Photoshop exactly as he does. Before submitting this post, though, I tried drawing just two very simple triangle shapes, copying them both and pasting them into Photoshop as a shape layer. The shapes weren't overlapping, but they were a part of the same shape layer just like the pie chart tutorial.
    Thanks for your help. If there is anything else I should try before just giving up because of the 64bit bugs, please let me know.

  • How to import a table from another database using DB toolset.

    Hello All
    I would like to import a table from one database to another using DB toolbox.
    I do not want to import all data to LV and then save them to another database. Instead I would prefer to use SQL syntax.
    Does anobody know how to write SQL command to import whole table from one database to another?
    I have found in some SQL manual that INSERT INTO should work, but JET4 returns an error that table (e.g. c:\mydatabase\table1) can not be found.
    Thanks in advance
    Pawel

    if i don't have TEST table on server B whether COPY command will create this table on server B with the same structure ? If you specify CREATE as a clause the table will be created:
    SQL> help copy
    COPY
    COPY copies data from a query to a table in a local or remote
    database. COPY supports CHAR, DATE, LONG, NUMBER and VARCHAR2.
    COPY {FROM database | TO database | FROM database TO database}
                APPENDCREATE|INSERT|REPLACE} destination_table
                [(column, column, column, ...)] USING query
    where database has the following syntax:
         username[password]@connect_identifier

  • Stored procedure scope: using sp from another database

    Good day,
    I hava a stored procedure named sp_emps (simple select from an employees table) in a database named Employees.
    I would like use this procedure in a another database named New_Employees.
    Is this possible, without creating / copying the sp to the other database ?
    Also I did not want to make the sp a system object
    Please assist

    Hi Zimiso,
    The problem here is that no matter from where you execute your procedure, its context will always be the "Employees" database.
    What you ask for is possible, but only by using Dynamic SQL.
    You can have a @Database parameter on your procedure, and then concatenate the value in this parameter to wherever needed in your dynamic queries.
    For example:
    CREATE PROCEDURE sp_emps
    @Database NVARCHAR(200)
    AS
    DECLARE @Command NVARCHAR(MAX);
    SET @Command = 'SELECT * FROM ' + QUOTENAME(@Database) + '.dbo.MyEmployees'EXECUTE(@Command)
    More information about dynamic SQL:
    http://www.mssqltips.com/sqlservertip/1160/execute-dynamic-sql-commands-in-sql-server/
    This isn't an ideal solution because there are lots of possible risks and problems that come along with dynamic SQL (for example, SQL Injection).
    The better solution, in my opinion, would be to create the stored procedure as a system object (create it in the "master" database). This will make its context change based on the database from whence it was executed.
    Eitan Blumin; SQL Server Consultant - Madeira Data Solutions;

  • How to transfer database table contain null values, primary key, and foreign key to the another database in same server. using INSERT method.

    how to transfer database table contain null values, primary key, and foreign key to the another database in same server. using INSERT method.  thanks

    INSERT targetdb.dbo.tbl (col1, col2, col3, ...)
       SELECT col1, col2, col3, ...
       FROM   sourcedb.dbo.tbl
    Or what is your question really about? Since you talke about foreign keys etc, I suspect that you want to transfer the entire table definition, but you cannot do that with an INSERT statement.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Use OWB packages to deploy on another database

    Hello,
    Is it possible to use OWB to create the ETL packages and then copy the package to another database (where OWB has not been setup) and execute the package there, or must I setup OWB on the new database?
    thanks

    You may also benefit from this :
    http://www.oracle.com/technology/products/warehouse/htdocs/OWBExchange.html?cat=ALP&submit=search
    Headless Deployment of Generated Code          10gR2     May 2009     
    Generate OWB code to allow for deployment to and execution on database hosts where OWB is not installed.
    and also described here:
    http://blogs.oracle.com/warehousebuilder/2009/05/headless_operation_owb_code_generation_going_it_alone.html
    You will at least need a repository in the target, but do not need to install anything in the filesystem and no control center service there.
    Regards,
    Erik

  • How to use an Object Type from Another Database

    Hi,
    I have this requirement that I need to call a stored procedure from another DB (db1) but I am having a problem with this because one of the input parameters uses an object type defined in that DB (db1). Is it possible to use an object type from another database? TIA!

    Sven W. wrote:
    At least for queries, but I think also for procedure arguments..You (both) probably missed my post?
    We can't use a remote type as procedure argument, even with the same OID.
    It's OK for query on a remote object column though :
    SQL> conn remote_user@remote_db
    Entrez le mot de passe :
    Connecté.
    SQL> create type mytype oid '19A57209ECB73F91E03400400B40BBE3'
      2  as object (att1 number);
      3  /
    Type créé.
    SQL> create table mytable (col1 mytype);
    Table créée.
    SQL> insert into mytable values (mytype(777));
    1 ligne créée.
    SQL> create or replace function myfunc (p_in in mytype) return number
      2  is
      3  begin
      4   return p_in.att1;
      5  end;
      6  /
    Fonction créée.
    SQL> disconn
    Déconnecté de Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    SQL>
    SQL>
    SQL>
    SQL>
    SQL> conn my_user@local_db
    Entrez le mot de passe :
    Connecté.
    SQL> create type mytype oid '19A57209ECB73F91E03400400B40BBE3'
      2  as object (att1 number);
      3  /
    Type créé.
    SQL> select * from mytable@test_dbl;
    COL1(ATT1)
    MYTYPE(777)
    SQL> declare
      2   res number;
      3  begin
      4   res := myfunc@test_dbl(mytype@test_dbl(777));
      5  end;
      6  /
    res := myfunc@test_dbl(mytype@test_dbl(777));
    ERREUR à la ligne 4 :
    ORA-06550: Ligne 4, colonne 26 :
    PLS-00331: référence non valide à REMOTE_USER.MYTYPE@TEST_DBL.WORLD
    ORA-06550: Ligne 4, colonne 2 :
    PL/SQL: Statement ignored
    SQL> declare
      2   res number;
      3  begin
      4   res := myfunc@test_dbl(mytype(777));
      5  end;
      6  /
    res := myfunc@test_dbl(mytype(777));
    ERREUR à la ligne 4 :
    ORA-06550: Ligne 4, colonne 9 :
    PLS-00306: numéro ou types d'arguments erronés dans appel à 'MYFUNC'
    ORA-06550: Ligne 4, colonne 2 :
    PL/SQL: Statement ignored

  • My Apple ID is only limited to Indonesia iTunes Store. I would like to buy some music from iTunes USA Store. How could I use my Indonesia-based credit card in order for me to buy music from another iTunes store? The iTunes Indonesia store is very limited.

    My Apple ID is only limited to Indonesia iTunes Store. I would like to buy some music from iTunes USA Store. How could I use my Indonesia-based credit card in order for me to buy music from another iTunes store? The iTunes Indonesia store is very limited as it only sells apps and books products.

    No Way... i've got simillar problem with bmonteo... wanna cry

  • Anyone know why Yahoo emails will not load? Emails, including those I could previously access are blank. No problem with seeing them when using another browser

    Yahoo mail--can access inbox but cannot access individual emails. Have tried disabling all add-ons, but there is no difference. Emails are visible using another browser.

    I am modifying the correct httpd.conf file on the server, it just doesn't seem to work. - If I put the rewrite rules in the <Directory /> the rewrite works but it adds /Library/WebServer/Documents to the URL.
    I also tried putting the rewrite rules in <IfModule mod_rewrite.c> but that did not work either.
    mod_rewrite is enabled and running on the server.
    I will post the rewrite rules again in the code brackets. Sorry for the long post. - If some one can try them out on their Leopard Server to see if they can get them to work, it would be much appreciated. Again, these work on my Leopard Client but I can't get them to work on Server.
    -- The httpd.conf file posted above is just the default conf file found in /private/etc/apache2/
    <code>
    RewriteEngine On
    Options +FollowSymLinks
    RewriteRule ^(.+)/$ http://%{HTTP_HOST}$1 [R=301, L]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.php(.*)\ HTTP
    RewriteRule (.+)\.php(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.asp(.*)\ HTTP
    RewriteRule (.+)\.asp(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.aspx(.*)\ HTTP
    RewriteRule (.+)\.aspx(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.htm.(.)\ HTTP
    RewriteRule (.+)\.htm.(.)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.cfm(.*)\ HTTP
    RewriteRule (.+)\.cfm(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.bak(.*)\ HTTP
    RewriteRule (.+)\.bak(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.inc(.*)\ HTTP
    RewriteRule (.+)\.inc(.*)$ $1$2 [R, L]]
    RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\..(.)\ HTTP
    RewriteRule (.+)\..(.)$ $1$2 [R, L]]
    <code>

  • If i download a cd onto itunes, could i use my iphone to transfer the music to another computer?

    I like buying cds and right now my primary computer isnt available so I have been using another. I've bought several cds and imported them to itunes but i want to know if i would be able to transfer them to my other computer using my iphone 5.

    no
    use a flash drive

  • How to copy file from one table to another table at another database

    I need to transfer my tables from one workspace and schema to another workspace and schema. Basically I need to create again all the tables at this new schema. How could I transfer data from tha table at old schema to the table at new schema when this table has files stored in it? (data type is blob)
    thank you so much,
    Silver

    Hello Silver,
    Depending which database you're using (if it's available) I would recommend to use datapump.
    Datapump allows you to copy an entire schema to another database, it's the "new" export/import you might now.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/
    REWARDS: Please remember to mark helpful or correct posts on the forum

Maybe you are looking for