The Lift APIs are undergoing some short-term trauma in expectation of
long-term stability and backwards compatibility after the 1.0 release.
On Mon, Sep 8, 2008 at 10:23 PM, Alan M <[EMAIL PROTECTED]> wrote:
>
> Thanks a lot, that clears things up considerably. Now my only concern
> is how much
Thanks a lot, that clears things up considerably. Now my only concern
is how much stuff has changed so quickly.. But such is life on the
edge eh?
As for the other stuff, that probably belongs in another thread.. my
bad in mixing..
Alan
On Sep 5, 2:51 pm, "David Pollak" <[EMAIL PROTECTED]>
wro
I copied the relevant portions of another thread over, because I
thought it was interesting in it's own right.
I just wanted to say that I'm not criticizing the implementations or
designs of any of the Lift components, just the idea that they should
all be in one project. For instance, on a rece
Hi There,
I'm following the instructions here:
http://liftweb.net/index.php/HowTo_start_a_new_liftwebapp
...and I can build the "liftone" application.
However...when I do this:
^Cbash-3.00$ mvn jetty:run -U
http://scala-tools.org/repo-releases/commons-validator/commons-validator/1.2.0/common
Doesn't look right. The id is the primary key - it could now be inserted
with a value of 100, always.
I can do an insert here with
@Id
@GeneratedValue(){val strategy = GenerationType.AUTO}
Still works without GeneratedValue being present. My pom dependencies are
org.hibernat
It looks a little like the RequestVar has had its lifecycle closing hook
called by the time you call getSubscriptions
Try touch/get the subscriptions before you pass them into the bind.
cheers
Oliver
On Tue, Sep 9, 2008 at 7:31 AM, Kris Nuttycombe
<[EMAIL PROTECTED]>wrote:
>
> I've been followin
I managed to fix it in the end by reading some really really old post
in the hibernate archive.
Effectively, if you define something, a class property that has no
initial value (in our case, _ ) then it bones the inserting for some
reason. Quite knows what it does that but it does.. and with
Hey all,
Very strange, I re-wrote the classes in Java and I still see the same
issue!!!
What on earth could be going on here? I tried calling persist rather
than merge, but it appeared to have no impact.
Cheers
Tim
--~--~-~--~~~---~--~~
You received this messa
I've been following the advancement of the JPA/Lift tutorial with
great interest, and have managed to get my app working, but I'm now
struggling with a problem that occurs whenever I try to retrieve a
collection that is mapped as a lazy association:
Exception occured while processing /orders/list
Hi Tim,
On Mon, Sep 8, 2008 at 12:29 PM, Tim Perrett wrote:
>
> Just been doing some more debugging on this - it appears that the
> correct values are being passed through and are assigned to an entity
> instance, but they blow up when trying to do the em.merge(author)
> call.
>
> The stack trace
or, you could try
@GeneratedValue(strategy = GenerationType.AUTO, generator =
"system-guid")
@GenericGenerator(name = "system-guid", strategy = "guid")
with or without the Microsoft driver
com.microsoft.sqlserver.jdbc.SQLServerDriver
http://www.oracle.com/technology/products/ias/toplink/jpa/howto/id-generation.html
On Mon, Sep 8, 2008 at 4:43 PM, Tim Perrett <[EMAIL PROTECTED]> wrote:
>
> Hmmm, I've tried:
>
> @Id
> @GeneratedValue(){val strategy = GenerationType.AUTO}
> @Column(){val insertable = false}
> var id : Long
Just a guess. The "hidden" part?
On Mon, Sep 8, 2008 at 1:34 AM, Charles F. Munat <[EMAIL PROTECTED]> wrote:
>
> Hmm. This isn't working. When I put on
> the page, I get blank output, i.e. this:
>
>
>
> Becomes this:
>
>
>
> I notice that in your thread you say:
>
> "If the menu item can be d
The deps in my pom.xml are lift-webkit 0.9, scala 2.7.1
Out of curiosity, why does the lift-webkit pom not declare the version
of the scala dependency if it's important for the two of these to be
in sync? It seems like it would make more sense to use Maven't
transitive dependency handling to take
I think sql server uses
@GeneratedValue(strategy=GenerationType.IDENTITY)
You could try this instead of GenerationType.AUTO (though this should
translate to the above)
Oliver
On 09/09/2008, at 12:43 AM, Tim Perrett wrote:
>
> Hmmm, I've tried:
>
> @Id
> @GeneratedValue(){val strategy = Gene
What version of Lift and what version of Scala are you using?
(The version of Scala that you use must match the version of Scala
that was used to compile your version of Lift.)
--j
On Mon, Sep 8, 2008 at 10:37 AM, Kris Nuttycombe
<[EMAIL PROTECTED]> wrote:
>
> Hi, all,
>
> I'm not sure whether
Hi, all,
I'm not sure whether this is a Lift issue or a Scala issue, but in
running the Glassfish verifier over my Lift war I saw a couple of
suspect failures:
Failed to find following classes:
[
scala.Stream$cons
]
referenced in the following call stack :
at scala.Stream$cons$
at scala.
Hi, I sent you an email to your gmail account did you get it? It has
the patch oh. I will try to find the maven-scala mailing list
Jesse
On Sep 6, 7:16 pm, "David Bernard" <[EMAIL PROTECTED]> wrote:
> I don't known, but now I could access the site. You're goal is a great
> extension, and need
Hmmm, I've tried:
@Id
@GeneratedValue(){val strategy = GenerationType.AUTO}
@Column(){val insertable = false}
var id : Long = _
But yet its still being included in the query, any ideas?
Cheers, Tim
--~--~-~--~~~---~--~~
You received this message because y
Hey Oliver,
I think your right, it works no problem when updating.
Is there a way of stopping JPA inserting a value for a field with an
annotation or such?
Cheers
Tim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Could it be that the author id isn't being created properly by the
@GeneratedValue(strategy = GenerationType.AUTO)
On 08/09/2008, at 9:29 PM, Tim Perrett wrote:
>
> Just been doing some more debugging on this - it appears that the
> correct values are being passed through and are assigned to an
You know I always forget those long winded archetype creation commands
and
thinking about this I guess I would hope for something more. Something
like specify
a set of tables (and stuff) and have "LiftBuilder" go and create
mappings, validation and default html
for me. I haven't looked at it
Just been doing some more debugging on this - it appears that the
correct values are being passed through and are assigned to an entity
instance, but they blow up when trying to do the em.merge(author)
call.
The stack trace I get is:
### AUTHOR
[EMAIL PROTECTED]
### AUTHOR ID
0
### AUTHOR NAME
s
Awesome, I have it working with SQL Server as well now, which is
sweet.
Im using JTDS for my driver, and the reading and updating work no
problem however the inserting does not work? I get the following
message:
DEBUG - could not insert: [com.foo.jpaweb.Author] [insert into authors
(name, id) va
24 matches
Mail list logo