Jump to: navigation, search

Difference between revisions of "EMF/Transaction/FAQ"

m (Does EMF Transaction 1.x work with J2SE 1.4?)
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
== Newbie / General ==
 
== Newbie / General ==
  
=== Does EMF Transaction 1.1 work with J2SE 1.4? ===
+
=== Does EMF Transaction 1.x work with J2SE 1.4? ===
  
Yes. The EMF Transaction API works with EMF 2.2 or higher and J2SE 1.4.
+
Yes and no. The core EMF Transaction framework works with the EMF Validation framework, EMF 2.2 or higher and J2SE 1.4.
  
Note, however, that EMF Transaction requires the EMF Validation framework.  Thus, if you are using OCL to define validation constraints, then this may require J2SE 5.0, depending on the version of MDT OCL that you use.  EMF Transaction 1.1 is compatible with EMF Validation 1.0.x, which does provide OCL validation support on J2SE 1.4.
+
<table border="1"><tr><th>Transaction</th><th>Validation</th><th>EMF</th><th>Minimim JVM</th></tr>
  
 +
<tr align="center">
 +
<td>1.0</td>
 +
<td>1.0</td>
 +
<td>2.2</td>
 +
<td>1.4.2</td>
 +
</tr>
 +
 +
<tr align="center">
 +
<td>1.1</td>
 +
<td>1.1</td>
 +
<td>2.2+</td>
 +
<td>1.4.2</td>
 +
</tr>
 +
 +
<tr align="center">
 +
<td>1.2</td>
 +
<td>1.2</td>
 +
<td>2.3+</td>
 +
<td>1.5</td>
 +
</tr>
 +
 +
</table>
 +
 +
However, if you need the OCL extensions in the
 +
<tt style="color:DarkGreen">org.eclipse.emf.validation.ocl</tt> plug-in, the requirements are different.
 +
 +
<table border="1"><tr><th>Transaction</th><th>Validation</th><th>OCL</th><th>EMF</th><th>Minimim JVM</th></tr>
 +
 +
<tr align="center">
 +
<td>1.0</td>
 +
<td>1.0</td>
 +
<td>1.0</td>
 +
<td>2.2</td>
 +
<td>1.4.2</td>
 +
</tr>
 +
 +
<tr align="center">
 +
<td>1.1</td>
 +
<td>1.1</td>
 +
<td>1.1</td>
 +
<td>2.3</td>
 +
<td>1.5</td>
 +
</tr>
 +
 +
<tr align="center">
 +
<td>1.2</td>
 +
<td>1.2</td>
 +
<td>1.1+</td>
 +
<td>2.3+</td>
 +
<td>1.5</td>
 +
</tr>
 +
</table>
 +
 +
See also [[MDT-OCL-FAQ#Does_OCL_1.x_work_with_J2SE_1.4.3F|OCL 1.x Requirements]] and [[EMF/EMF 2.3/JVM Requirements|EMF 2.3 JVM Requirements]].
  
 
[[Category:FAQ]]
 
[[Category:FAQ]]
 
[[Category:Modeling]]
 
[[Category:Modeling]]
 
[[Category:EMF]]
 
[[Category:EMF]]

Revision as of 15:58, 5 June 2008

In addition to the FAQ below, see also the EMF Model Transaction Developer Guide documentation included in the EMF Transaction SDK.

Newbie / General

Does EMF Transaction 1.x work with J2SE 1.4?

Yes and no. The core EMF Transaction framework works with the EMF Validation framework, EMF 2.2 or higher and J2SE 1.4.

TransactionValidationEMFMinimim JVM
1.0 1.0 2.2 1.4.2
1.1 1.1 2.2+ 1.4.2
1.2 1.2 2.3+ 1.5

However, if you need the OCL extensions in the org.eclipse.emf.validation.ocl plug-in, the requirements are different.

TransactionValidationOCLEMFMinimim JVM
1.0 1.0 1.0 2.2 1.4.2
1.1 1.1 1.1 2.3 1.5
1.2 1.2 1.1+ 2.3+ 1.5

See also OCL 1.x Requirements and EMF 2.3 JVM Requirements.