antiate an Enum, which makes sense since it's final.
My workaround was to write a ProductWrapper which takes a Product arg
for its constructor and it has getters for the various Product fields,
and to use the ProductWrapper with ibatis.
I was wondering if there's a better way.
Tha
Clinton Begin wrote:
...
Worry not ...
Spoilsport!
--
Rusty Wright
UC Berkeley
IS&T Web Applications
510-643-9097 office
925-212-3774 cell
I don't know if this is what is affecting you but I find the log4j
properties file format confusing and error prone so I use the xml
format. Here is my log4j.xml file:
http://logging.apache.org/log4j/docs/api/org/apache/log4j/xml/log4j.dtd";>
http://jakarta.apache.org/log4j/";>
I don't know if this is what is affecting you but I find the log4j
properties file format confusing and error prone so I use the xml
format. Here is my log4j.xml file:
http://logging.apache.org/log4j/docs/api/org/apache/log4j/xml/log4j.dtd";>
http://jakarta.apache.org/log4j/";>
I'm trying to figure out how to set up storing a Map of pairs of
numbers. I have a Photo object, and it has a Map of the different sizes
in which the Photo is stored on disk. The map keys are SIZE1, SIZE2,
and SIZE3 (an enum; the map is an EnumMap). The values in the Map are a
simple object,
idth and
height because this is for a web app and I need those 2 values for the
IMG tag.
Ole Trenner wrote:
(sorry if this message is a duplicate)
Rusty Wright wrote:
I'm trying to figure out how to set up storing a Map of pairs of
numbers. I have a Photo object, and it has a Map of th
orMap and make the sizeKey (which could be size1, size2, size3,
size4...) the key of the Map.
Additionally it would be helpful if you posted some of your code. Your
explanation is a bit abstract... an EnumMap?
Thanks,
Brandon Goodin
On 10/6/07,
Rusty Wright <[EMAIL PROTECTED