Do we allow ENUM database types?

2013-08-01 Thread Wido den Hollander
Hi, I'm working on a disk cache setting for per disk offering which allows users to set it to: - none (current behaviour and default) - writeback - writethrough I've done some work in the disk-cache branch [0] where I created a new column called cache_mode in the disk_offering table. It's

RE: Do we allow ENUM database types?

2013-08-01 Thread Alex Huang
=EnumType.STRING) There's an example of it in HostVO.java with the Type enum. --Alex -Original Message- From: Wido den Hollander [mailto:w...@widodh.nl] Sent: Thursday, August 1, 2013 11:12 AM To: dev@cloudstack.apache.org Subject: Do we allow ENUM database types? Hi, I'm working

Re: Do we allow ENUM database types?

2013-08-01 Thread Daan Hoogland
of it in HostVO.java with the Type enum. --Alex -Original Message- From: Wido den Hollander [mailto:w...@widodh.nl] Sent: Thursday, August 1, 2013 11:12 AM To: dev@cloudstack.apache.org Subject: Do we allow ENUM database types? Hi, I'm working on a disk cache setting for per disk offering