Ya..I included that in PersonManagerImplTest.The the test code for
PersonManagerImplTest is given below
package org.appfuse.tutorial.service.impl;
/**
* Created by IntelliJ IDEA.
*/
import java.util.ArrayList;
import java.util.List;
import org.appfuse.tutorial.dao.PersonDao;
import org.appfu
You might want to try checking out the completed tutorials code to see
if that works for you.
svn checkout http://appfuse-demos.googlecode.com/svn/trunk/tutorial-service
Matt
On Wed, Aug 27, 2008 at 12:12 AM, angela leo
<[EMAIL PROTECTED]> wrote:
>
>
> Ya..I included that in PersonManagerImplTe
hi appfusers,
in appfuse 2.x, i have a problem executing, the follow sentence java:
[code]
return getHibernateTemplate().findByNamedQuery("myquery",queryParams);
[/code]
throws the next exception:
java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are
1-based!
if i change the c
Hi Miguel
I just encountered exactly the same problem yesterday. I notice that in your
code there is a line
*return getHibernateTemplate().findByNamedQuery("myquery",queryParams);*
I think you should alternatively use a counterpart of the findByNamedQuery
e.g.
*getHibernateTemplate().findByName
i have used the appfuse wrapper method "findByNamedQuery" because it use
findByNamedQueryAndNamedParam and it works perfectly:
public List findByNamedQuery(
String queryName,
Map queryParams) {
String []params = new String[queryParams.size()];
Object []values = new O
Same error message (with managers), different cause. I simply forgot to
declare my test method as "public".
Martin
--
View this message in context:
http://www.nabble.com/Action-Tests-suddnly-failing-with-InitializationError0-tp12853062s2369p19179899.html
Sent from the AppFuse - User mailing lis
I already tried both they seem to work pretty good although I think there is
some work to do for a full integration when looking at the model layer.
On Wed, Aug 27, 2008 at 5:18 AM, Sanjiv Jivan <[EMAIL PROTECTED]>wrote:
> I'd recommend using GWT-Server Library (GWT-SL) for Spring integration. It
How about this
http://code.google.com/p/shine-reference/wiki/GettingStarted2
?
Of course I would stay with GWT 1.5 (=Java5 compatible) in order to keep the
model annotated classes on the client GWT side.
What do you think? The link above seems close to our goal.
Some hint on where to start with a
I have been following the following directions and I haven't been able to get
it to work.
http://appfuse.org/display/APF/Persistence
Here's my Person.java-
package com.joeco.app.model;
import javax.persistence.Entity;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import
Hi, I think you put the class name package wrongly, you should put:
com.joeco.app.model.Person on
.
Change it to:
.
On Thu, Aug 28, 2008 at 9:27 AM, jned <[EMAIL PROTECTED]> wrote:
>
> I have been following the following directions and I haven't been able to get
> it to work.
>
> http://appfuse.
For the one hand. Well, I wonder if message is received.
Another hand.
I need to know if in Eclipse Web Tools and using a Tomcat Server, I can
create a Datasource and a Jndi resource?? Is this possible?
yes my test class have this setup method.
package org.appfuse.tutorial.service.impl;
import java.util.ArrayList;
import java.util.List;
import org.appfuse.tutorial.dao.PersonDao;
import org.appfuse.tutorial.model.Person;
import org.appfuse.service.impl.BaseManagerMockTestCase;
import org.jmock.
12 matches
Mail list logo