2008 East
DIAMOND SPONSOR:
Data Direct
Frontiers in Data Access: The Coming Wave in Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
Intel
Virtualization – Path to Predictive Enterprise
Green Hills
IT Security in a Hostile World
JBoss / freedom oss
Practical SOA Approach
GOLD SPONSORS:
Software AG
The Art & Science of SOA: How Governance Enables Adoption
PlateSpin
Effective Planning for Virtual Infrastructure Growth
Fujitsu
Automated Business Process Discovery & Virtualization Service
Ceedo
Workspace Virtualization
Click For 2007 West
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
I received an email stating that AOL finally aband...
TOP THREE LINKS YOU MUST CLICK ON
Systems Integration with Openadaptor
Openadaptor is a software toolkit that may be classified as a lightweight Enterprise Application Integration (EAI) solution. It provides a configurable component framework for connecting various systems and middleware implementations. In less technical parlance, the components are akin to Lego building blocks that users can snap together to build adaptors, which themselves are the metaphorical glue or plumbing between applications.
Reader Feedback: Page 1 of 1

Ismael,
Thanks for the feedback, it's always very useful to us. You should be able use stored procedures for updates - see the MapCallableStatementWriter (and corresponding map-stored-proc-writer.xml example, and their XML equivalents). In fact, if you can guarantee that the warehouse will always be based on Oracle it might be easiest to implement the 'upsert' funtionality in a stored procedure which the JDBC writer would invoke.

Having said that, with your comments in mind, we are looking at adding direct support for updates (and possibly 'upserts') with a view towards squeezing it into our upcoming 3.4.3 (November '08) release of openadaptor.

Also it's worth noting that the RawSQLWriter can achieve the same effect - it uses actual SQL strings which get directly executed against the db, albeit with a performance penalty (overhead of constructing the SQL manually, and not being able to compile it).

regards
Eddy Higgins, Kris Lachor (& the openadaptor dev team)

P.S. Note that www.openadaptor.org is the primary resource for openadaptor technical support. This affords the best visibility to the dev team, and other oa users.

Great article. Great tool. It seems a good fit to a new project I'm involved with.

The project will require extracting data from a ERP system to load into a data warehouse. The ERP system uses a DB2 UDB database, while the data warehouse will be based on an Oracle database. On a daily basis, it is necessary to extract all the new or updated records from selected tables on our ERP database to load on the data warehouse.

From the documentation and the samples, I found that it is very easy to INSERT data in a table, but could not find references to table UPDATES, or more specifically to the situation where an input record may be updating the corresponding record in the target table if it already exists, otherwise it will be inserted on the target table.

What would be the best approach to resolve this "UPSERT" type of problem using Openadaptor?

Many thanks for the help

Ismael


FEATURED WHITE PAPERS
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS

SYS-CON FEATURED WHITEPAPERS

Unit testing is hard. There I said it. Although I have been developing software for the past 18 year...
Continuent has announced support and enhancements to MySQL Server 5.1.30 GA release, the 5.1 product...
As a software journalist, there are times when certain vendors will shut the door on reporting oppor...
Active Endpoints has announced the general availability of ActiveVOS 6.0.2, in response to ever incr...
Just because the web has been open so far doesn't mean that it will stay that way. Flash and Silverl...
Doing network I/O on the user interface (UI) thread is bad. Most developers know that and can tell y...
Over the course of the past few decades, the consumer media industry has evolved from a slow-moving ...
The open source community includes many early advocates of the recent wave of emerging SOA-related t...
JavaScript is pretty much everywhere you look these days, reaching far beyond your desktop browser. ...
Transmeta, the uppity microprocessor wannabe that pushed Intel to create low-power chips before Inte...
The Java Community Process (JCP) Program Management Office has announced the final results of the 20...
If you think your network is safe from the new strains of content security threats, think again. Tod...
Tidal Software has announced Intersperse 8.0, a product that monitors J2EE and .NET applications and...
ILOG has announced ILOG JViews 8.5, the latest version of ILOG’s Java-based visualization suite, w...
Emulex has announced that it will offer Fibre Channel Host Bus Adapters (HBA) and Fibre Channel over...
The BlackBerryR Technical Webcast Series is designed to help BlackBerry administrators better manage...
The BlackBerry Technical Seminar is back this fall with breakthrough new sessions you won’t want t...
In an effort to head off its disappearance below the horizon, Sun is going to lay off 5,000-6,000 pe...
Working across all of Sun, Senior Vice President, Dave Douglas, has been appointed today to lead the...
In 45 jam-packed minutes that will include case studies and live technology demonstrations, the VP o...
SPONSORED BY INFRAGISTICS
In every field of design one of the first things students do is learn from the work of others. They ...
There are many forces that influence technological evolution. After a decade of building enterprise ...
2008 is going to be an important year for Rich Internet Applications. Most organizations are deliver...
The OpenAjax Alliance is developing an Ajax industry wishlist for future browsers, using a dedicated...
Infragistics announced the availability of two Community Technology Preview (CTP) User Interface (UI...
The YUI development team has released version 2.5.2; you can download the new release from SourceFor...
ADS BY GOOGLE