-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: x/y coordinates with Hibernate
PostPosted: Thu Jun 10, 2010 7:52 am 
Newbie

Joined: Tue Jun 01, 2010 10:18 am
Posts: 15
Hello!

I have a J2EE project with Hibernate support.
I have a Java class which should have a x/y coordinate pair (pixels) and a rotation angle.

Should I create class attributes int x, y, angle, or is there a better way?
I am using MySQL and I found this page:
http://dev.mysql.com/doc/refman/5.1/en/ ... point.html

Perhaps it will be better to use this one?
Or which way should I go?

Best Regards.


Top
 Profile  
 
 Post subject: Re: x/y coordinates with Hibernate
PostPosted: Fri Jun 11, 2010 2:35 am 
Newbie

Joined: Tue Jun 01, 2010 10:18 am
Posts: 15
Hm, does no one an idea what´s the best way to do this?

Best Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.