MySQL Utilities 1.4 Manual  /  ...  /  Running Demonstration Programs

8.9.6. Running Demonstration Programs

To run the demo programs, you must set up the MySQL Fabric environment as described in Section 8.9.4, “MySQL Fabric Configuration for Running Samples”. After that, you can use the demo-fabric-* Ant targets.

shell> JAVA_HOME=/opt/jdk1.5/ ant \
		-Dcom.mysql.fabric.testsuite.password=pwd \

These targets invoke all demo programs except Hibernate demos. You should use the demo-fabric-hibernate target instead:

shell> JAVA_HOME=/opt/jdk1.6/ ant \
		-Dcom.mysql.fabric.testsuite.password=pwd \

You need Java 6+ to use Hibernate Fabric integration. Multi-tenancy is a feature specific to Hibernate 4 and higher which requires Java 6+. That is why we do not provide the FabricMultiTenantConnectionProvider class or related demos compatible with Java 5.

Download this Manual
PDF (US Ltr) - 1.1Mb
PDF (A4) - 1.1Mb
EPUB - 292.9Kb
HTML Download (TGZ) - 224.3Kb
HTML Download (Zip) - 236.0Kb
User Comments
Sign Up Login You must be logged in to post a comment.