Daan, You can enable trace logging on the category "com.cloud.utils.db.Transaction.Statement" in log4j-cloud.xml. It will log every SQL statement sent to the DB. Look for update to the specific table, that will give you an indication what the db layer thinks is being set. The logs grow very quickly with this on though.
BTW, what does LS mean? Are you referring to us as some sort of animal farm characters (Live Stock)? --Alex > -----Original Message----- > From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] > Sent: Wednesday, June 12, 2013 3:13 PM > To: dev > Subject: help on db code wanted > > LS, > > > I am trying to remove a double slash from the field install_path in the table > template_host_ref. It would seem to me that this can be done by removing > it in the VMTemplateHostVO, that gets used by the VMTemplateHostDao to > write to the database. I added a fixPath function that I stole from some other > class and had it log to see if the expected fixup happened. The log line comes > by but the database gets filled with the double slashes anyhow. Is the > database filled from another class then the VO/Dao/DaoImpl combination? > > > Many thanks, > > Daan