[Lift] Re: JUnit test on Eclipse

2009-11-04 Thread Troy Noble
Hi Sunanda. This is a question that you are more likely to get answered on the scalatest mailing list or forum... as this topic is not directly related to lift. http://www.scalatest.org/community Here is a tutorial for getting started with junit and scala, look at the section where they define

[Lift] Re: CRUDify view pages not working correctly

2009-11-03 Thread Troy Noble
What database are you using? MySQL? H2? Other Please try again with 1.1-SNAPSHOT or wait until tomorrow (Nov 4th) when 1.1-M7 is released. David fixed some things in Mapper just yesterday (issue # 151) related to uppercase dbTableName and dbColumnName to remedy a similar Mapper problem we were

[Lift] Re: JPADemo 1.1-SNAPSHOT: id with auto-increment (MySQL or H2)

2009-11-03 Thread Troy Noble
k those simple tweaks (deps on hibernate 3.4 and sl4j) may fix the > JPA archetype woes, at least w/ mysql. > > > Troy Noble wrote: > > Yes I tried Chris's suggestion, and JPA does in fact work with MySQL 5.0 > > with auto-increment ID columns even with columns named some

[Lift] Re: JPADemo 1.1-SNAPSHOT: id with auto-increment (MySQL or H2)

2009-11-02 Thread Troy Noble
ion in your pom for hibernate (I don't remember the >> latest, maybe 3.4GA). I meant to post this a while ago, as it cost me an >> hour or more to figure out. >> >> chris >> >> Troy Noble wrote: >> > I'm not even sure this is a Lift issue, could

[Lift] Re: 1.1-M6 Mapped fields with dbColumnName always displaying defaultValue

2009-10-31 Thread Troy Noble
t I'm seeing from the surefire-reports. Thanks again for the help, Troy On Sat, Oct 31, 2009 at 8:56 AM, Troy Noble wrote: > Thanks for your support... and I'm very sorry to be the instigator of the > breakage. I feel really bad that everything broke for all the MySQL and SQL &g

[Lift] Re: 1.1-M6 Mapped fields with dbColumnName always displaying defaultValue

2009-10-31 Thread Troy Noble
evert the fix. > > I'm going to add tests for mixed-case column and table names. If you care > to donate some of these tests, that'd be great. > > Please open a ticket. > > > On Sat, Oct 31, 2009 at 5:35 AM, Troy Noble wrote: > >> After the fix, I'm havi

[Lift] JPADemo 1.1-SNAPSHOT: id with auto-increment (MySQL or H2)

2009-10-31 Thread Troy Noble
I'm not even sure this is a Lift issue, could be Hibernate or Scala... but here goes... I get one test failure in TestJPAWeb.scala when I use JPA with MySQL (also confirmed with H2) with auto-increment id column. @Entity class Author { @Id @GeneratedValue(){val strategy = GenerationType.AUTO

[Lift] Re: 1.1-M6 Mapped fields with dbColumnName always displaying defaultValue

2009-10-31 Thread Troy Noble
existing in MySQL and we wanted to start using Lift with some of them. It'll take me quite some time to re-target Postgres or other DBMS. Thanks again for all your help, Troy On Fri, Oct 30, 2009 at 4:13 PM, David Pollak wrote: > > > On Fri, Oct 30, 2009 at 3:06 PM, Troy Noble

[Lift] Re: 1.1-M6 Mapped fields with dbColumnName always displaying defaultValue

2009-10-30 Thread Troy Noble
Thanks. I'll give it try. Dumb newbie question though... how do I access the update? Git + build from github, or can I just grab the latest 1.1-SNAPSHOT? Thanks again, Troy On Fri, Oct 30, 2009 at 3:01 PM, David Pollak wrote: > Turns out this was the problem. Some RDBMSs are case insensitive

[Lift] Re: 1.1-M6 Mapped fields with dbColumnName always displaying defaultValue

2009-10-30 Thread Troy Noble
6) at net.liftweb.http.provider.servlet.ServletFilterProvider$class.init(Se rvletFilterProvider.scala:20) at net.liftweb.http.LiftFilter.init(LiftServlet.scala:516) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) On Fri, Oct 30, 2009 at 6:55 AM, Dav

[Lift] 1.1-M6 Mapped fields with dbColumnName always displaying defaultValue

2009-10-30 Thread Troy Noble
We are using Mapper with a legacy database with many columns that we are not allowed to rename in our database. For example CREATE_DATE for which we created the following seemingly simple mapped field in our model: object createDate extends MappedDateTime(this) { override def dbColumnName

[Lift] newbie: liftweb + Oracle 10g + dhtmlx TreeGrid... am I asking for trouble?

2009-10-24 Thread Troy Noble
I guess I need a little advice. I want to make sure we're on the right track. I lead a team of 3 folks and we are liftweb newbies... been doing things the hard way with mod_python & cheetah & hand-written AJAX + JavaScript with dhtmlx components with no web framework (no django or rails). Crazy