Documentation Home
MySQL Utilities 1.5 Manual
Related Documentation Download this Manual
PDF (US Ltr) - 1.5Mb
PDF (A4) - 1.5Mb
HTML Download (TGZ) - 289.5Kb
HTML Download (Zip) - 301.7Kb

MySQL Utilities 1.5 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.

User Comments
Sign Up Login You must be logged in to post a comment.