Stevie Braga

Greenhorn
+ Follow
since Apr 04, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Stevie Braga

I found out what I was doing wrong!

The @OneToMany annotation is use for relationships between entities, and I was trying to map a simple collection, not a collection of entities.
So I used the @CollectionOfElements annotation from hibernate, and it's working allright now! So now the code look like this:



Thanks for the attention Ali!
Hi!
I'm using JPA to do my O/R mapping, and I'm facing this problem: one User have a Set of quitting dates. So my mapping look like this:



But I keep getting this message when I try to run a test:


Can anyone tell me what I'm doing wrong?

Thanks

[ July 04, 2007: Message edited by: Stevie Braga ]
[ July 04, 2007: Message edited by: Stevie Braga ]
I like "Applying UML and Patterns" from Craig Larman and "Essential UML" from Martin Fowler.
There is an article in IBM Developer Works, that cover Spring 2 and JPA. It's not hibernate, but it will give a pretty good idea on ORM.
Here is the link:Spring 2 And JPA
Hi Nick,

Thanks for replying, but the classes I mean are my domain classes. And my real doubt is: do I have to write a Custom Editor for everyone of my domain classes? If I have 100 classes, do I have to write 100 custom editors? I think that might be another way of doing that.
Hi there!

I'm starting an application using the spring MVC, and I got this doubt: everytime I need to convert a String to a non-String property, do I have to create a new class extending java.beans.PropertyEditorSupport to use as a custom property editor or there is another way of doing that?

Thanks for the atention

Stevie
[ May 11, 2007: Message edited by: Stevie Braga ]
It also says that if you fail, you have to wait at least 2 weeks to take the test again!
Actually, in the exam, it says that you have to agree to Sun's test policy, that says you can't take the same exam more than 3 times in a year.