openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: svn commit: r680481 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/jdbc/unique/orm.xml
Date Mon, 28 Jul 2008 21:31:26 GMT
Hi Kevin,

Just for my information, what's wrong with the original xml:

> 	<persistence-unit-metadata>
> -		<xml-mapping-metadata-complete>
> -		</xml-mapping-metadata-complete>
> +		<xml-mapping-metadata-complete/>
> 	</persistence-unit-metadata>


I understand these statements (before versus after) are legal and  
equivalent. But I'm always looking to improve my understanding.

Thanks,

Craig

On Jul 28, 2008, at 1:26 PM, kwsutter@apache.org wrote:

> Author: kwsutter
> Date: Mon Jul 28 13:26:21 2008
> New Revision: 680481
>
> URL: http://svn.apache.org/viewvc?rev=680481&view=rev
> Log:
> OPENJPA-668.  Fixed up the orm.xml file that was used for testing so  
> that it could pass the validation of the IBM JDK parser.
>
> Modified:
>    openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/ 
> apache/openjpa/persistence/jdbc/unique/orm.xml
>
> Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/ 
> org/apache/openjpa/persistence/jdbc/unique/orm.xml
> URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/apache/openjpa/persistence/jdbc/unique/orm.xml?rev=680481&r1=680480&r2=680481&view=diff
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/ 
> apache/openjpa/persistence/jdbc/unique/orm.xml (original)
> +++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/org/ 
> apache/openjpa/persistence/jdbc/unique/orm.xml Mon Jul 28 13:26:21  
> 2008
> @@ -23,8 +23,7 @@
> 	version="1.0">
> 	
> 	<persistence-unit-metadata>
> -		<xml-mapping-metadata-complete>
> -		</xml-mapping-metadata-complete>
> +		<xml-mapping-metadata-complete/>
> 	</persistence-unit-metadata>
> 	
> 	
> @@ -76,10 +75,8 @@
>
> 			<many-to-many name="bs">
> 				<join-table name="UNIQUE_JOINTABLE_XML">
> -					<join-column name="FK_A_XML" referenced-column-name="aid"  
> nullable="false">
> -					</join-column>
> -					<inverse-join-column name="FK_B_XML" referenced-column- 
> name="bid" nullable="false">
> -					</inverse-join-column>
> +					<join-column name="FK_A_XML" referenced-column-name="aid"  
> nullable="false"/>
> +					<inverse-join-column name="FK_B_XML" referenced-column- 
> name="bid" nullable="false"/>
> 					<unique-constraint>
> 						<column-name>FK_A_XML</column-name>
> 						<column-name>FK_B_XML</column-name>
>
>

Craig L Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message