Archive for category Uncategorized
Netbeans and JPA development Top Tip – Remember to clean build!
Posted by Paul Carey in Uncategorized on October 7th, 2009
A top tip for those of you doing JPA development within Netbeans or even without Netbeans, something I stupidly forgot to do was to clean build after editing the persistence.xml file!
This effectivly meant that my new Entity classes where not being picked up and the persistence provider (EclipseLink) was throwing its legs in the air!
So remember always recompile after changing the persistence.xml file to ensure your changes are noticed by the Java Persistence Api!
Custom MXJ Connector with mysql (console) and mysqldump executables
Posted by Paul Carey in Uncategorized on February 10th, 2009
Hi recently needed to setup local instances of MySQL accross clients in order to allow a copy of the database to be made on client macines so that a system could be used remotely i.e: away from the master DB server (reads only). To do this my idea was to deploy local instances of MySQL and setup replicatation so that when in contact with the master all connections would be through it and replication would ensure any updates to the master DB are copied to each client.
For this I needed some way of deploying MySQL automatically as well as setting up the replication that would be neeeded also. For this it turned out that the mxj connector by MySQL almost fitt the bill perfectly apart from the fact that it didnt come with the mysql and mysqldump executables that I needed in order to create DB dumps and imports as needed to setup the replication.
Connector mxj deploys a local instance of MySQL and can import a bundled DB by default however what I needed was to import a remote DB and setup replication. For this I made a few minor adjustments to the mxj source and bundled in the mysql (console) and mysqldump executables for Windows and Linux.
1 hour, open source and my fat head!
Posted by Paul Carey in Uncategorized on May 1st, 2008
It’s great what you can do with an hour to kill and a bit of open source kit. I’ve been wanting to get a little better with my image editing skills for a while now so took an hour out to have a little play. First I downloaded and installed the gimp and inkscape. I then set to work out finding the basics and after viewing a few video tutorials from youtube I managed to cut, trace and tweak an image of yours truelly (my fat head!).

the project – “happy returns”!
Posted by Paul Carey in Uncategorized on April 23rd, 2008
just thought id post a quick link to my latest project for uni its over @ http://paulcarey.co.uk/happy its one half of a group project the other half being a java based backend to handle bookings etc, ill try post a few screen shots at a later date. the site isn’t entirely polished but its not really meant for real use as you might tell from the heavy use of iframes!