Friday, June 10, 2005

MySQL Connector for Microsoft Data Access Application Block

It’s always a better idea to write generic provider mutual code. That’s why I use Microsoft Data Access block to write all the data access code. By default the Enterprise Library does not comes with the connector for MySQL, but some kind soul created one and provided it at this site. I downloaded it, followed the instruction to put the source in the project“C:\Program Files\Microsoft Enterprise Library\src”, compiled it, put the dll back in “C:\Program Files\Microsoft Enterprise Library\bin”, modified the App.Config by adding another Database Access Instance, add some code. Vala! I can access MySQL Code from Data Access app block code. I also have a sample code written to remind myself how it works.

Thursday, June 02, 2005

Build a better Eclipse 3.0.2 environment

Today I spent above half hour to reinstall the whole Eclipse 3.0.2 IDE and all the plug-ins that I care (VSS support, Visual Editor, J2ME support), and got everything working together (including Visual Editor)! The only hurdle was that I need to explicitly expand each of the eclipseme jar file, but other than that everything works fine. Awesome, for now I have a pretty stable and workable Java development environment anywhere I go!