[smartweb-devel] Re : Smartweb Example
Brought to you by:
rlogiacco
From: Sébastien LE C. <sl...@ya...> - 2009-03-18 14:35:53
|
Yep, there seems to be some ongoing work on the Hibernate front wrt quotes and the column names... see for instance http://opensource.atlassian.com/projects/hibernate/browse/HHH-2622 Might be worth checking with the Hibernate crowd... I suppose renaming the "group" table is out of question, obviously? ----- Message d'origine ---- > De : Roberto Lo Giacco <rlo...@sm...> > À : Framework Development Discussions <sma...@li...> > Envoyé le : Mercredi, 18 Mars 2009, 12h57mn 23s > Objet : Re: [smartweb-devel] Smartweb Example > > Sébastien LE CALLONNEC wrote: > > Hi, > > > > > > I've done a fair bit of work to update the Smartweb example (for my own > selfish reasons), and I'm sending a patch to review the initial work (it's been > produced within the "example" folder). There's still quite a lot to be done to > clean up the JSPs though. Hoping to get some feedback from this vibrant and > cheerful community of yours!! > > > Very good job Sébastien! > > Anyway, I'm now a bit stuck because of 2 blocking issues I'm having with the > JSPs in auth (trunk) which don't seem to be in sync with the code. I've logged > these issues in the bug tracker in the hope they'll be tackled (I'd be glad to > solve them myself, but they require knowledge of the history behind the > changes). > > > Well the auth module trunk is going under a little rework because of > some promming fixes we needed and consequently the JSPs are quite > unusable right now. I planned to fix all the necessary things to release > and then run the maven-smartweb-plugin on the module to produce the > needed jsps. > > I'll try to integrate your patch concepts into the jsp velocity > templates of the smartweb generator to have a unique approach all over > the project. > > We could greatly appreciate your suggestions on the unit tests side, I'm > currently stuck in auth with an hibernate formula problem. > > The formula ( select count(*) from `auth`.`group_user` where > `group_user`.`group`=`id`) is translated by hibernate into ( select > count(*) from this_."auth".this_."group_user" where > this_."group_user".this_."group"=this_."id" ) which contains those > unwanted this_ prefixes for each ` char it encounters.... I could remove > many of them but not the ones surrounding the GROUP word as it is > reserved... in addition with HSQLDB (the one we use for testing) the > only word I can avoid to surround with the ` chars is the AUTH domain > name for a case sensitivity issue. > > Any suggestion on the topic? > > -- > > Roberto Lo Giacco > > Chief Technical Officer > SmartLab s.r.l. > via Spagna, snc - 87036 Rende (CS) - Italy > > Mobile: +39 392 8765657 > Email: rlo...@sm... > Skype: longisland-75 > Web: http://www.smartlab.it > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel |