Thank you, Gareth!
I'm sure that this explains much better that problem.
I will try next time.
Please, update the Appfuse 2.0 Wiki, there are a article there about this
issue.
--
celeraman +
Gareth Davis wrote:
>
> I'm sure I'm missing something here. Doesn'
I will try my best to post a Wiki page under the Persistence Tutorial
section.
By the way, a tiny revision about my previous post...
where you read this:
private IdentidadeDocTipos tipo;
please, read this:
private Sex sex;
Best regards,
celeraman+
melinate wrote:
>
>
value;
}
public Serializable disassemble(Object value) throws HibernateException
{
return (Serializable) value;
}
public boolean equals(Object x, Object y) throws HibernateException {
return x == y;
}
public int hashCode(Object x) throws HibernateException
So I will be glad to see more comments here for this question.
Regards,
--
celeraman+
--
View this message in context:
http://www.nabble.com/NullPointerException-when-trying-to-populate-in-test-case-tf3604674s2369.html#a10228342
Sent from the AppFuse - User mailing list archiv
ike to colaborate with AppFuse project. How I could to do?
--
celeraman+
--
View this message in context:
http://www.nabble.com/NullPointerException-when-trying-to-populate-in-test-case-tf3604674s2369.html#a10173780
Sent from the AppFuse - User mailing list archive at Nabble.com.
--
celeraman+ wrote:
>
> You are just right! If I put my .properties file into
> src/test/resources/my/package/name, so
> the NullPointerException from populate Method goes away.
>
Just for take some notes...
Here a quote from Using Hibernate tutorial:
&g
tutorial.dao.DepartmentDaoTest.properties...
[tutorial] DEBUG [main] DepartmentDaoTest.testCrud(68) | Populated
[EMAIL PROTECTED]
id=
nome=
timestamp=2007-04-24 04:50:46.328
]
-- cut here--
But the populate method doesn't work as you can see in toString() output.
That's my fault I'
ad my Department bean from the
.properties file?
Any help are welcome!
--
celeraman+
--
View this message in context:
http://www.nabble.com/NullPointerException-when-trying-to-populate-in-test-case-tf3604674s2369.html#a10153635
Sent from the AppFuse - User mailing list archive at Nabbl
e
that the populate method doesn't load my bean. Your suggestion
about case sensitive for the properties names was accepted and
I changed all to lower case, but the error remains.
Any help are welcome!
--
celeraman+
>>> Ou
hod's attribute is getName(), so I defined it as
Name=MyValueForNameAttribute into the .properties file.
I will do some tests...
Any help for more one newbie question is welcome!
--
celeraman+
--
View this message in context:
http://www.nabble.com/NullPointerException-when-trying-to-populate-in
7;t see what is getting wrong...
Thank you so much for any help.
And thank you for AppFuse: that's much more that a amazing starter point! :)
--
celeraman+
The error is as following:
Test set: org.appfuse.tutorial.dao
11 matches
Mail list logo