Modify master database and client database simultanously
Hello,
I am developing a software based on Oracle Database Lite for a student research project which is a flight booking system, and I have the following requirement:
In some cases, I need to do a modification on the master database and the client database simultanously. In my case, a flight booking is only possible when a server connection ist available. This is necessary to check if there are still seats available for a flight. If there are, the resulting changes shall be done on the client and the server database simultanously, using a distributed transaction.
Does Oracle Database Lite have a mechanism for that, or is there someting like an "online mode"? I could not find any information about it in the documentation. Or do I have to implement a distributed transaction myself, for example using webservices?
Message was edited by:
user615624
Annotation: I am using Oracle Lite on Windows Mobile 5.0 and I am using the .NET Compact Framework 3.5
I am not sure how you would do it in Windows but with Java, I would have a static connection manager. If a connected online state is required, then just use to Oracle driver instead of the oracle lite with the new credentials and that should fix your situation.
Similar Messages
-
My question was about the necessity of implementing OID or any other version of LDAP.
We have a new 9iAS and 8.1.7 database implementation and i have a doubt about their networking architecture.
I want to know the ways of connecting 9iAS to Database and clients to database through 9iAS as middleware. We are debating if OID is compulsory or if we can go ahead with this implementation with out OID.
Can you please help me and provide me couple of implementation designs(i.e connecting clients to database through 9iAS). It would be great if any one can provide me the implementation's with and with out OID.
-ThanksHi ,
For all delta and full DTP loads you can get information in table RSICCONT .Check table RSMONICDP this will give you detail information .Here you will get all the information with timestamp and request id .
Hope these tables will serve your purpose .
Regards,
Jaya -
How to conncet mysql database and oracle database 11g2 on linux 5.4
Hi,
Can anyone help me to connect mysql server database to Oracle
database on Linux OS?
I have done all things, but I am getting a problem in installing dg4odbc
driver on Oracle database. In a simple word, I don't know how to create
listener between mysql database and Oracle database.
If anyone knows that please help me in configuring dg4odbc for Oracle. OS
-Linux 5.4 and refer any doc or link.
oracle 11g2 11.2.0.1
i follow the metalink id - 466228.1 ( but cant successed).
Thanks and regards,
pritesh ranjanhi pl z clear me it is required to install manully the dg4odbc driver for oracle to connect MySQL server database. because in my $ORACLE_HOME/hs/admin/initdg4odbc.ora is present automatically.
details of the initdg4odbc.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = mysql_odbc
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME = /usr/lib/libmyodbc5w.so
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
set LD_LIBRARY_PATH=/usr/lib
# Environment variables required for the non-Oracle system
#set HOME=/home/oracle
~
~
~
"initdg4odbc.ora" 20L, 437C
details of the listener.ora file
DG4ODBC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA=(SID=dg4odbc))
(HS=OK)
SID_LIST_ORCL =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = ORCL)
ADR_BASE_DG4ODBC = /u01/app/oracle
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = pritesh11gprim.oracle.com)(PORT = 1521))
ADR_BASE_ORCL = /u01/app/oracle
"listener.ora" [readonly] 37L, 779C 35,0-1 85%
details of tnsname.ora file
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.132)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
DG4ODBC =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(CONNECT_DATA=(SID=DG4ODBC))
(HS=OK)
MYSQL =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(CONNECT_DATA=(SID=MYSQL))
(HS=OK)
when i m going to start the listener it could not be started..
details of the mysql server database
[root@pritesh11gprim ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.10 MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
mysql> show databases;
| Database |
| information_schema |
| demo |
| mysql |
| performance_schema |
| pritesh |
| test |
6 rows in set (0.01 sec)
if any where i m wrong then plz suggest me......
thanks & regards
pritesh ranjan -
Cluster database and payroll database
please let me know what is a cluster database and payroll database, and what are the structures involved in it.
please let me know as soon as possible as it is very URGENT.
ADV THANX
REGARDS,
VETRIVEL MURUGANYou didn't say what platform you are using. I have done clustering with 11i (CRM and HR/Payroll) on Solaris 8 using Sun Cluster 3.
If you look at http://docs.sun.com/db?p=prod/cluster you will see a number of documents on the subject of clustering. The Data Services guide will tell you clustering an Oracle database and TNS listeners.
If you want to cluster other components to failover (Apache, Concurrent Manager, Forms Server) you will have to write start, stop and probe scripts for Sun Cluster 3 GDS to use.
Payroll is the 11i Application suite that delivers payroll functionality, though Oracle are not the only ones that provide this type of software. -
Which difference parallel database and RAC database
Hi Experts,
I saw some document about parallel database and RAC database.
My boss confused these two product.
which difference between parallel database and RAC database?
does parallel database is a "old RAC"?
Thanks
JimRAC is the new name with many features for old depreciated Oracle Parallel Server (OPS).
It was avialable till 8i, since 9i it is called RAC.
Regards
Edited by: skvaish1 on Mar 30, 2010 12:59 PM -
Create Temporary databases and Permanent databases
Hi,
How to configure or setup Temporary databases and Permanent databases ?
Need separate steps to install or setup Temporary / Permanent databases
Windows 2003 & 32 bit OS and 8 GB RAM
In web site http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21633/comp.htm#CHDBEDHC
it is said as it is configured with DSN (Data Source Name)
but to how to setup Temporary databases and Permanent databases
Note:Oracle database has not been installed,only Oracle TimesTen has been installed.
Temporary databases are not stored to disk.
Permanent databases are stored to disk automatically through a procedure called checkpointing.
I need to keep the data in memory and need to pass the data to another server via replication or some other way.
Thanks!Hi,
You dont need to install something. You need to configure your DSN only.
For creating Temporary database you should set up the Temporary DSN parameter (http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21633/using.htm#BCGJAJDI).
If you want using Permanent database just uncheck Temporary DSN parameter.
Temporary databases are not stored to disk. Permanent databases are stored to disk automatically through a procedure called checkpointing. No. TimesTen databases (Permanent and Temporary) store data in memory. It is the main purpose. Permanent db saves a copy of data on disk only for recovery purpose. Temporary db doesnt do it.
regards,
Gennady -
Difference between Transaction database and relational database
Whats the Difference between Transaction database and relational database ??
'Transaction' refers to the usage of a database. 'Relational' refers to the way in which a given database stores data.
A 'transaction database' (or operational database) could be relational, hierarchical, et al. A transaction database supports business process flows and is typically an online, real-time system. The way in which that data is stored is typically
based on the application(s). Companies often have multiple 'transaction databases'.
An 'operational data store' (ODS) is an integrated view or compilation of transaction data.
The you get into data warehouse databases, where the transaction data is optimized for querying, reporting, and analysis activities. -
Swapping between client database and web database
Hi i have completed tutorials etc so can now create the
sqlite database for my application which is downloaded by the user
and will run on thier desktop so i am calling it the "client
database" which contains data they are working with but there is
another database containing identical tables which i am calling the
"global database" the idea of this is to transfer data between the
different clients and backup that information.
so i am looking for a tutorial or a sample app where the app
takes information from a web based database and copy's that rob
into a sqlite database on the clients machine?
this is the main problem im having and seen people mentioning
blaze DS and stuff like that, ideally i wouldn't like to use PHP
but atm is looking like i may have to.
i will sell my soul to anyone who can help with this lol
(also i am using FLEX 3.0)Hi,
Yes, if you use LCDS everything is there already for you, so
that you can complete this application in very less time. Since you
want to use PHP, you can use Zend PHP, which will support Remoting
using AMF. Using Zend PHP, write PHP classes which will help you to
synchronize data between server and client and just invoke those
from your Flex application when required.
Hope this helps. -
Installation of oracle 9205 database and client software on same machine
Hi,
I have installed Oracle 9205 on my laptop running on windowsxp sp2.
I intent to create a Database and access the same using developer forms which again would be installed on the same laptop.
Please help me in configuring this scenario.
how to configure the listener.ora, what about sqlnet.ora and tnsnames.ora for the server part as well as the client part
also what services need to be configured in windows xp
AltafAltaf,
Problem is you don't see similar output from your lsnrctl status. Try rebooting your machine and make sure you see similar output.
How exactly are you trying to connect to your service?
Sqlplus sys/password as sysdba
sqlplus sys/password@INS_LIST as sysdba
$ lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-DEC-2008 13:46:06
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 16-DEC-2008 09:18:21
Uptime 0 days 4 hr. 27 min. 45 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=NROHILLA01.usi.corpusi.net)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Services Summary...
Service "DSSXDB" has 1 instance(s).
Instance "dss", status READY, has 1 handler(s) for this service...
Service "DSS_XPT" has 1 instance(s).
Instance "dss", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "dss" has 1 instance(s).
Instance "dss", status READY, has 1 handler(s) for this service...
The command completed successfully -
Keywords in Master file and AP database-- Export Problem.
I believe that I have a conflict with keywords. I believe that I have "baked in" keywords by writing IPTC to the Master files and then added more keywords which I am guessing are in the Aperture database and not "baked in". When I then look at exported images using the XMP sidecar file with Adobe Bridge all of the keywords do not show up. I want to experiment with Lightroom and I want all of the keywords.
My process has been:
1. Add keywords to images from the keywords panel.
2. Write the IPTC metadata to the master files.
3. Add more keywords to the images from the keywords panel.
4. Export the images using the File/Export Masters/Create IPTC4XMP sidecare file.
5. Look at the exported images in other applications (Bridge and PhotoMechanic).
How can I export using XMP sidecar files and have ALL the keywords be exported???
DickBYes, this is a known problem; sqldev distinguishes between the Constraint and the Index although the former implies the latter...
Regards,
K. -
Oracle Database Lite Client database performance
Hi,
I need to know well does Oracle databse lite client databse works if it contains 3-3.5 GB data? Does it get sluggish beccause the maximum allowed is 4 GB?
Regards
RoomapWe had similar problems during the processing phase (delay here points at a client device issue).
We use Dell and HP PDAs, and have databases up to about 40MB. During the acceptance testing a couple of years back we were finding that the processing phase could be upto about 25 minutes on new builds/complete refresh
We tested out a few different scenarios that might help
1) clear down databse files and odbc.txt (this will force a complete rebuild without affecting any parameters) with the SD installed
2) repeat the above, but remove the SD card before the sync (this forces the databases to be put into my device/built in storage
3) try different types of SD cards
our results found that we would on average get
1) 15-20 minutes
2) 2 minutes
3) big variance of 2.5 to 20 minurtes, but consistent by manufacturer
It seemed that the different speed SD cards made a big difference, and even cards nominally the same speed from different manufacturers were very different in practice.
In some cases (Kingston was one i think), Japananese manufactured cards were much better than the european ones, even though they were supposed to be identical.
If you get a difference between the processing phase when using SD cards vs using main memory, i would expect the cards to be the issue.
NOTE we have also had issues where the user pressed the power off whilst the application was processing (we have some end of visit checks that can take up to 90 seconds). If this happened and they later resumed, the process would continue, but the few milliseconds delay in repowering the SD card was enough to cause device read and write errors. Again some cards were worse than others -
Is there any difference in oracle database and forms database
i want to know is there any difference in oracle database and forms 6i database
,if i import some file through oracle database then same data will exist in forms database or not
thanksOracle Forms is a Rapid Application Development (RAD) tool not a database. With Forms, you connect to an Oracle database to query and display data from the database as well as insert new or update existing data. Consequently, if exists in the database - you should be able to display it in a Form.
Craig... -
Oracle physical database and logical database.
dear Friends
wanted to know what is physical and logical database architecture.
pls. help.
--RajnishAnd what have you deduced yourself from your searches on the internet, or in the documentation?
-
Can I have a primary database and standby database with a different windows version?
Hi
I need your help.
We need to increase the memory in the server where is the standby database , but first, we need to upgrade the windows version.
The actual version is windows 2003 standard edition 64 bits
The new version will be windows 2003 enterprise edition 64 bits
This difference in windows version between primary and standby servers can cause a problem in the synchronization between primary and standby databases ??
What do you recommend? Have both servers in the same windows version?
The databases are in SQL SERVER 2005.
Thanks.
LoreinnThis difference in windows version between primary and standby servers can cause a problem in the synchronization between primary
and standby databases ??<o:p></o:p>
There is no issue with database synchronization as long as SQL Server is of same version.<o:p></o:p>
What do you recommend? Have both servers in the same windows version?<o:p></o:p>
OS(Windows version) has no restriction for using SQL server 2005 database mirroring/log shipping. You can go with upgrade without any worries on SQL
database side.<o:p></o:p> -
SECURITY PATCH ON STANDBY DATABASE AND PRIMARY DATABASE
I have a question on applying CPU on standby and primary database
I have a standby database on machine2 and primary on machine1
I applied a CPU patch on the Oracle Home of Standby database and
did not run the catcpu.sql as standbydatabase is in mount state.
Now i am going to apply the CPU patch on primary database.
What i need to confirm is that after i apply the patch on primary database oracle home
and run the cat cpu.sql on that do i have to do anything on the standby database
for instance rebuilding it or something or the change would be shipped to the standby
server automatically.
The purpose is to have the primary and standby database on the same patch level
in case of a failover
Please let me know asapAny one has any idea on this. Any ideas would be appreciated
Maybe you are looking for
-
How to get data from serial port to GUI textArea
From Serial Port..... Messages from base (always 5 bytes): 0xAA, 0, 0, 0, 0xBB - IDLE Mode 0xAA, 0, 0x80, 0x80, 0xBB - Question Mode messages from terminal (always 6 bytes): 0xAA, a, b, c, chksum, 0xBB where chksum = a+b+c; a = address (0-250) the 2
-
My apple ID is been disable what do I do?
my apple ID is Been Disable what do i do
-
Dear Friends , We have a ORacle 10g database server which is 24x7 hours running . We take everyday RMAN full backup ,now we want to run "Incremental rman backup" 6 days in a week and "Full Backup" rest of the week . But in oracle article we read that
-
Doubt in Table maintenance Generator
Hi all I have created one table. That table contains following fields MANDT MANDT ALERTID CHAR6 COUNTRY LAND1_GP IDNO INT1 ROLE CHAR30 MODUL CHAR2 LASTCREATEDON DATE LASTCREATEDBY CHAR12 LASTCHANGEDON DATE LASTCHA
-
Hi Experts, I am doing a Scenario which involves sending an Excel file to Mail ie .csv to mail In my scenario i have a EXCEL file as Id FisrtName LastName Salary 1 A B 3 2