Anyways, I was definitely screwed up ... forcing maven to actually do
what it was supposed to fixed my problem. Thanks for the pointer
Marius.
~Thomas
On Sat, Oct 3, 2009 at 5:39 PM, Thomas Rampelberg pyronic...@gmail.com wrote:
I thought that I'd just updated all the versions . from
I had some issues getting string foreign keys working that required
changes to MetaMapper (because of how it handles autogenerated primary
keys). That said, Here's some code that'll fix the issue you're
currently having:
class StringForeignKey[T:Mapper[T],O:KeyedMapper[String, O]](
override
I just synced up to main this morning and now whenever I try and use
one of my snippets, I'm getting the traceback below. Any hints on what
I'm doing wrong? The snippet in question is just the basic
Util.in/Util.out that the tutorial has you write.
div class=column span-17 last
?
Br's,
Marius
On Oct 3, 11:11 pm, Thomas Rampelberg pyronic...@gmail.com wrote:
I just synced up to main this morning and now whenever I try and use
one of my snippets, I'm getting the traceback below. Any hints on what
I'm doing wrong? The snippet in question is just the basic
Util.in
This is really great, making XML as easy to generate as JSON was
something I thought I'd never see.
On Fri, Sep 25, 2009 at 7:27 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Fri, Sep 25, 2009 at 6:19 AM, Timothy Perrett timo...@getintheloop.eu
wrote:
Sorry Dave, but the brevity
I'd suggest a one to many relationship with a foreign key. For
something off the top of my head (no guarantees this'll actually
work):
class Person extends LongKeyedMapper[Person] with IdPK {
def getSingleton = Person
object skills extends MappedOneToMany(Skills, Skills.person) with
You can do this with Mapper using a ManyToMany relationship. To make
sure we're talking about the same thing, let me try and explain.
With ManyToMany, you can do both Person.find(By(Person.name,
name)).map(_.skills) as well as Skills.find(By(Skill.description,
description)).map(_.people) and get
You can ..
override def writePermission_? = false
(On a per-field basis)
On Thu, Sep 24, 2009 at 2:52 PM, andythedestroyer
andythedestro...@gmail.com wrote:
This may be obvious but I am having trouble setting this up.
I need to map a database view which isn't a problem because I just
David, just to make sure that I know what I'm talking about, if you
set writePermission_? to false for each field, you could emulate the
behavior?
On Thu, Sep 24, 2009 at 4:41 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
There's no read-only support for tables in mapper at this time.
-optimal. There
have been a couple of discussions of the issues on-list. I am hoping to
spend some time on this issue on Thursday. If you've got specific
requirements or specific tests, please post them.
Thanks,
David
On Mon, Sep 21, 2009 at 9:33 PM, Thomas Rampelberg pyronic...@gmail.com
10 matches
Mail list logo