Re: [appfuse-user] Java 5 Enums Persistence :: How-to

2007-12-03 Thread celeraman+
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'

Re: [appfuse-user] Java 5 Enums Persistence :: How-to

2007-06-05 Thread celeraman+
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: > >

[appfuse-user] Java 5 Enums Persistence :: How-to

2007-06-04 Thread celeraman+
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

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-27 Thread celeraman+
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

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-24 Thread celeraman+
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. --

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-23 Thread celeraman+
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

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-23 Thread celeraman+
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'

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-23 Thread celeraman+
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

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-22 Thread celeraman+
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

Re: [appfuse-user] NullPointerException when trying to populate in test case

2007-04-19 Thread celeraman+
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

[appfuse-user] NullPointerException when trying to populate in test case

2007-04-18 Thread celeraman+
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