When I add a boolean to the fieldOrder list, maven runs out of heap 
space on compile. As far as I can tell, the fieldOrder list becomes 
infinite. Here is an example:

object Thing extends Thing with KeyedMetaMapper[Long, Thing] {
   override def dbTableName = "things"
   override def fieldOrder = id :: name :: desc :: isArchived :: Nil
}


class Thing extends KeyedMapper[Long, Thing] {
   def getSingleton = Thing
   def primaryKeyField = id

   object id extends MappedLongIndex(this)

   object name extends MappedString(this, 255)

   object desc extends MappedString(this, 255)

   object isArchived extends MappedBoolean(this) {
     override def defaultValue = false
   }

}

If I remove "isArchived" from the fieldOrder list, everything compiles 
and works fine. If I put it in, I run out of heap space.

Any ideas?

Chas.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to