cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Help cdbimport Oracle
Date Wed, 10 Nov 2010 20:30:47 GMT
Glad to see you made it work. Yeah, different DB's have specific definitions of "schema", etc.

Andrus


On Nov 10, 2010, at 3:21 PM, bogdan_voloshincu wrote:

> 
> i make some tests and i find the reason why my target couldn't import my
> Oracle schema :
> 
> Inside of my target, instead of :schemaName="XE" I use my UserName and it
> worked;
> 
> <target name="generate" depends="sett,clean,create.dir">
> 		
> 		<echo message="Import schema"/>
> 		<cdbimport map="src/resources/riMap.map.xml" 
> 			overwriteExisting="true"
> 			schemaName="ROOT"
> 		        adapter="org.apache.cayenne.dba.oracle.OracleAdapter"
> 		        driver="oracle.jdbc.driver.OracleDriver"
> 		        url="jdbc:oracle:thin:@localhost:1521:XE" 
> 		        username="root"
> 			password="root"/>
> 	</target>


Mime
View raw message