Create a Database from xml
Hi,
I'm using javaDb embedded and I trying to find the best way to create a database from a xml file.
I managed to do this, previously with netbeans 6.9, jdk 6 and apache ddlutils.
Unfortunately this method as proven to be not so good, and and can't get it to work with netbeans 7.
Is there a best way to do this?? Any recommendation on this matter will be appreciated.
Thanks in advance,
Hugo
s3c wrote:
Hi,
I'm using javaDb embedded and I trying to find the best way to create a database from a xml file.
I managed to do this, previously with netbeans 6.9, jdk 6 and apache ddlutils.
Unfortunately this method as proven to be not so good, and and can't get it to work with netbeans 7.
Is there a best way to do this?? Any recommendation on this matter will be appreciated.
Thanks in advance,
Hugowhat does question or solution have to do with forum TOPIC Oracle RDBMS?
Similar Messages
-
How to create Inbound Idoc from XML file-Need help urgently
Hi,
can any one tell how to create inbound Idoc from XML file.
we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml' we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
Please let me know the process to trigger inbound Idoc with out using XI and any other components.
Thanks in advance
Dora ReddyHi .. Did either of you get a result on this?
My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
I see lots of mention of using a Function Module.
Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
Or is there something tht can be done with Standard SAP?
Thanks
Lee -
Create Business Partner from XMl String not a file
Hi,
Is it possible to create a BP from an XML string.
I know about GetBusinessPartnerFromXml(string FileName, int index)
but I dont want to save the string in a file before creating a BP from it
Hope there's a method to do thatMarc,
This looks like it is a duplicate of this post, so I am closing this thread as it looks like you answered your own question!
Create Business Partner from XMl String not a file
Eddy -
How to create a database from dfj zip file
Hi,
I have created a database template via DCA from PC-1 which has got oracle 9i and it has produced a file with extention dfj.
I am trying to create a new database using this dfj file on a different pc which has oracle 10g.
1- How can i use dfj file to create a new database?
2- Can i use Oracle 9i templates in Oracle 10g?-in dbca you have the option to create the database from existing template
-not sure if we can simply use 9i template in 10g but you may try, chances are less. -
How to automatically create fillable PDFs from XML
We are looking for a way to create fillable PDFs that users can enter data into and save (so the PDF needs Reader Rights applied) and we want to be able to automatically create these PDFs from XML files. We are able to do what we want in a manual fashion using Acrobat Pro v8 but we need a way to automate this due to the volume of XML files that we will need to convert.
Is there any way that this can be scripted from a command line interface with Acrobat.. like:
Acrobat.exe –input FileName.xml –output FileName.pdf –applyReaderRights true
If there is no command line options for this is there any way that this could be coded using .NET or any other programming language?You cannot automate applying usage rights with Acrobat. For that you'd need to use Adobe's LiveCycle Reader Extensions.
How exactly are you currently converting XML into fillable forms? Are you using an XDP to somehow convert to an XFA-based PDF? -
How to create new database from backup.
Hi !
i have backup of a database, i do not want to restore, i want to create new database from the backup.
i am using oracle 11g xe.
yours sincerelyIf the Location of the datafiles is similar to that of source database then you can consider below steps
Create Oracle Service using oradim
set ORACLE_SID=NEWDB
oradim -new -sid NEWDB -intpwd passwordofthesys -startmode M
Connect to the RMAN
rman>rman target /
restore spfile/pfile and control file from backup
rman>restore spfile to pfile '_localtion of the initNEWDB.ora_' from '_location of the SPFILE Backuppiece_';
rman>startup nomount pfile='localtion of the initNEWDB.ora';
rman>restore controlfile from 'file location of the controlfile Backuppiece';
rman>alter database mount;
Catalog the RMAN backuppiece of source database
rman>catalog backuppiece '_location of the rman backuppiece of source database_ ';
resotore & recover database
rman>restore database;
rman>recover database;
open the database with reset logs
rman>alter database open resetlogs;
rman>create spfile from pfile;
rman>shutdown immediate;
rman>startup;
==================
If you have access to source database then you can clone using below rman command:
+rman target _<source database>_ auxiliary _<new database>_+
rman>duplication target database to _<your new database name>_;
==========
If the location of the datafiles and logfiles are different from source database then you need to add db_file_name_convert and log_file_name_convert to the pfile before starting the recovery process. -
Create test database from standby without some data
Hi. I want to create test database from my standby database using rman.
But i have some some tables and where information is too large i dont want backup all data from this tables. because i dont have enough space on my test server.
Have u any idea for solution this problem.
ThanksBut have suggestion.
You can create duplicate database on based your target database (to new host) and skip undesired tablespaces...
bash# rman target /
RMAN> ....
your code should be like :
run {
allocate auxiliary channel 'dev_0' type 'sbt_tape'
parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
allocate auxiliary channel 'dev_1' type 'sbt_tape'
parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
allocate auxiliary channel 'dev_2' type 'sbt_tape'
parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
allocate auxiliary channel 'dev_3' type 'sbt_tape'
parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
SET UNTIL SCN 7769764681915;
DUPLICATE TARGET DATABASE TO MYTS SKIP TABLESPACE TOOLS_IDX,TOOLS,ARCHIVE,IDX;
Edited by: Ulfet Tanriverdiyev on Dec 21, 2010 3:42 AM -
Hi, I would like to create a database from my numbers spreadsheet and create reports (like SQL). Is there a way?
Numbers is a lightweight spreadsheet. If you know sql you will know that it can handle many queries and is a real databases that can handle many thousands of records. Number is not the correct tool. You can make something that does something like a query but it is not truly a query.
Can you share anything about the specific application and how much information there is in each record? How many records (rows)? -
How can I create a database from a sharepoint using entity framework
Hello All,
I want to develop a data base from SharePoint list independently. The column name are based on a SharePoint list eg: Contact-list (will be having 10 columns)
can any one please suggest me an idea on how to do this task? Which Visual Studio template is suitable for this purpose?
I confused with starting with following Visual studio template!!!
Empty SharePoint Project??, Business Data Connectivity Model??, ASP.Net Web application??
Somebody please help me soon....
I am using SharePoint 2010 and Visual Studio 2010Hey,
basically you should start with an empty SharePoint 2010 project where you add an List-EventReceiver. This Receiver should point to the url of the list and handle the ItemAdded-Event. In this method you place the code to create the database, for example
with a SQL-Statement. -
Error While Creating Essbase Database From Hyperion Planning
Hi,
While creating the Essbase Database From the 'Manage Database' in Hyperion Planning, I am getting the following error:
com.hyperion.planning.olap.EssbaseException: Account (1060000)
It gets stuck at Adding Dimensions.
I have tried reconfiguring Planning, but no luck.
My Relation Repository is MS SQL Server 2005 and the Essbase and Shared Services are on a Linux box.
I am getting the following error in the Planning log
[12-Nov-2009 10:50:41]: Propegating external event[ FROM_ID: 68b6dbf1 Class: class com.hyperion.planning.sql.HspLock Object Type: -1 Primary Key: 50001 ]
[12-Nov-2009 10:50:41]: Processing cube: Plan1
[12-Nov-2009 10:50:41]: Setting System CFG properties for Attribute Dimensions
[12-Nov-2009 10:50:41]: Adding dimension: Account
[12-Nov-2009 10:50:41]: Closing outlines
com.hyperion.planning.olap.EssbaseException: Account (1060000)
at com.hyperion.planning.olap.HspEssbaseOutlineAPI.EssAddMemberEx(Native Method)
at com.hyperion.planning.olap.HspCubeRefreshTask.addDimension(Unknown Source)
at com.hyperion.planning.olap.HspCubeRefreshTask.addDimensionsAndMembers(Unknown Source)
at com.hyperion.planning.olap.HspCubeRefreshTask.buildOutlines(Unknown Source)
at com.hyperion.planning.olap.HspCubeRefreshTask.run(Unknown Source)
at com.hyperion.planning.HspJSImpl.runCubeRefresh(Unknown Source)
at com.hyperion.planning.HyperionPlanningBean.runCubeRefresh(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Thanks for your help.
Edited by: user524093 on Nov 12, 2009 4:38 PMHave you tried restarting the services and giving it a try?
Which version of Essbase/Planning are you on?
If your Essbase server name has more than 30 characters, please use NODENAME with short server name. -
Creating standby database from ASM production database in standard edition
Hi,
I am using oracle 10g release 2 standard edition. I recently created a database instance and wanted to create a standby database instance. After sorting out how to achieve this without managed standby and data guard I finally got it working and the shipped archive logs are applied and working well on the standby database.
Now I am thinking of re-creating my production database and using ASM for storage managment. By doing this can a standby database still be created from a primary database using ASM? I want to be sure I can before I commit to using ASM for the production instance and manually creating a standby database from that instance.
Note: I am using standard edition not enterprise edition.Hi
For Oracle SE standby, you can visit www.anbultechnologies.co.uk , they have a brilliant product name DRMC which is Automatic disaster recovery solution with automatic failover in case primary goes down due to any reason.
We are using this product for more than 2 years and it works like a dream using Oracle Standard Edition. We have depolyed more databases and Standby solution within the prices of 2 EE edition licenses.
You can give ma try as well.
website address is www.anbultechnologies.co.uk -
Dynamically create Value Objects from XML file
Hi
I want to create a value object from Xml file dynamically,like in the xml file i have the name of the variable and the datatype of the variable.is it possible do that,if so how.Read about apache's Digester tool. This is part of the Jakartha project. This tool helps in creating java objects from the XML files. I am not sure, if that is what u r looking for.
-
Create the database from Binary files
Hi
Can anyone assist is possoble to build a database with binary files.
I lost all the database files in the standby server, im not having installation files. Can I build the database by copying the binary files from different sever? if possible please provide me the steps.
Database Version : 8.1.7.4.0
OS Version : Sun OS 5.8
Venkat
Edited by: R VENKAT on Nov 4, 2008 4:15 PMHi Venkat,
I think this isn't the best forum to answer your question but I'll try.
You've lost your DATABASE FILES (means DBF files, control files (CTL), redo logs)? Correct?
Or did you loose also the Oracle Home where the software has been installed?
If you've lost your Oracle installation than you might do the following:
1) Install 8.1.7.0 software on your standby server
2) Install patch set 8.1.7 4 into this home
3) Metalink-Note:70233.1 will describe the full process of creating an 8i standby database from your PROD.
If you use RMAN than please have a look into Metalink-Note:203980.1 and Note:118409.1 - it'll describe also the init.ora parameters necessary for a standby
You'll find a description of an ideal init.ora for the standby in ML Note:139809.1 and specific for Data Guard 8i here: ML-Note:132991.1
Kind regards
Mike -
How to create value objects from xml
I am receiving xml back from my web service ( e4x ). I am
trying to figure out how to create a value object without having to
manually fetch each value in the value objects constructor. I am
using introspecton in my Java web service to do this. Is there such
a thing in Action Script?
Anyone done this before that can share some code???? Any help
would be very much appreciated.That's twice now I've heard that. lol.
I am using Cairngorm and I suppose out of ignorance perhaps,
I am using VO's. So my web service would return an Object Proxy and
I have some code that could create objects dynamically from the
results. The objects had to be simple of course and now they are
becoming more complex thus the need to change to e4x instead of
objects.
So now I am trying to convert the xml result into the desired
VO to be used throughout the rest of the application. I'm not sure
how to use Cairngorm without the VO's they are tied to everything.
Are you familiar with the architecture? Your thoughts? -
Create a database from 8i RMAN backup
Hi,
I am in need to recover some historic data from a historic database's RMAN backup.
The situation is ... I have one old RMAN backup of a 8i database which includes datafiles, archivellog files and control files. Init.ora file is also available.
I have installed the 8i software in a host and created the oracle service through ORADIM and pwd file through ORAPWD utility. Then copied the init.ora file under 'C:\Oracle\ADMIN\ORCL\PFILE' and the RMAN backup files under 'C:\Oracle\Ora81\DATABASE' folder.
Now I can start the instance with the init.ora file but can not mount as control files are not there. when I try to restore the control files through RMAN as...
RMAN> run
2> {
3> restore controlfile;
4> }
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06172: not connected to recovery catalog database
RMAN>
Now without the catalog database how can I restore the control files and the database from the RMAN backup?
I think the old RMAN metadata was stored in catalog database.
Any suggestion please?
regardsSorry I wrongly said that I do not have the DBID, I have DBID but I have controlfile backup as RMAN backupset, not in Binary. So even if I set DBID, RMAN asks for the catalog database, which is not available.
As I worked...
C:\>rman
Recovery Manager: Release 8.1.5.0.0 - Production
RMAN> SET DBID=1208994555
RMAN-03022: compiling command: CSET
RMAN> connect target sys/*****
RMAN-06193: connected to target database (not started)
RMAN> startup nomount
RMAN-06196: Oracle instance started
Total System Global Area 552011724 bytes
Fixed Size 65484 bytes
Variable Size 69357568 bytes
Database Buffers 482514944 bytes
Redo Buffers 73728 bytes
RMAN> run
2> {
3> allocate channel ch1 type disk;
4> restore controlfile;
5> alter database mount;
6> }
RMAN-03022: compiling command: allocate
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: allocate
RMAN-06172: not connected to recovery catalog database
RMAN> shutdown
RMAN-06402: Oracle instance shut down
RMAN> set dbid 1208994555
RMAN-03022: compiling command: CSET
RMAN> connect target sys/*** nocatalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "nocatalog": expecting one of: "newline, ;"
RMAN-01007: at line 1 column 27 file: standard input
RMAN> connect target sys/**** nocatalog;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "nocatalog": expecting one of: "newline, ;"
RMAN-01007: at line 1 column 27 file: standard input
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found ";": expecting one of: "allocate, alter, beginli
ne, catalog, change, connect, create, crosscheck, debug, delete, drop, exit, end
inline, host, {, library, list, mount, open, print, register, release, replace,
report, reset, resync, rman, rpctest, run, set, sql, "
RMAN-01007: at line 1 column 36 file: standard input
RMAN> exit
Recovery Manager complete.
C:\>rman target sys/**** nocatalog
Recovery Manager: Release 8.1.5.0.0 - Production
RMAN-06193: connected to target database (not started)
RMAN> run{
2> allocate channel ch1 type disk;
3> restore controlfile;
4> alter database mount;
5> }
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: ch1
RMAN-08500: channel ch1: sid=12 devtype=DISK
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06003: ORACLE error from target database: ORA-01507: database not mounted
ORA-06512: at "SYS.X$DBMS_RCVMAN", line 923
ORA-06512: at line 1
RMAN-06097: text of failing SQL statement: begin dbms_rcvman . setDatabase ( upp
er ( :dbname:dbname_i ) , :rlscn , :rltime , :fhdbi:fhdbi_i ) ; end ;
RMAN>
Maybe you are looking for
-
Email PDF in outlook from a MAC seperates pdf file into seperate .ai files
Sorry if this is in the wrong thread! I'm not an adobe user. However I have many Adobe users on my network who create pdf files (using a variety of adobe products such as photoshop, illustrator, acrobat) and email them to other employees, customers,
-
Cycling Battery in Macbook Pro 15"
What is the best method for insuring long battery life? I was told once, after first charging a battery to full, you should let it run out completely.... Is this true? I just installed a new battery into my MBP, (my 3rd battery now) and want to make
-
I got the below error message: The description for Event ID ( 17055 ) in Source ( MSSQLSERVER ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display the messages from a remote computer. T
-
Can someone help me with this: I imported a tiff file as a blob in the georaster table, and can show it with mapviewer. But the image is in fact 12000 x 7500 pixels. Map is 8000 x 5000 m. While in mapviewer it can only be shown in maximum 933 x 583 I
-
I have to calculate the price of a sandwich with the selected toppings Is there a shorter way to write the bereken_teBetalen method without changen code outside the method public class Topping { * Alle toppings zijn opgenomen in toppingWaarden.