Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 865135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:35:38+00:00 2026-05-15T09:35:38+00:00

I have a Flex GUI where I have to place quadrate elements. The position

  • 0

I have a Flex GUI where I have to place quadrate elements. The position of these elements need to be stored into a database. So I can create two integer fields in the db table x and y.
Also I need an angle, because the user can rotate these elements, so I can also make a int (int is okay, I do not need a double value therefore).

As a ORM, I use Hibernate. But the question is, if creating three integer fields is the best way to handle this.

Perhaps someone can tell me if this will be okay or if there are better ways?

Thanks a lot in advance & Best Regards.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:35:39+00:00Added an answer on May 15, 2026 at 9:35 am

    Personally I’d go with three doubles, however if you say you only need the resolution/precision of ints then three separate values is a perfectly acceptable solution.

    I would have said store the coordinate as a point (x & y in the same field), but that appears only to be available if you use GIS extensions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Flex GUI which is using AMF Streaming to BlazeDS on WebLogic
I have Flex Builder Professional Ver 3 (Built with Eclipse) version. I need to
I have a Flex button. I need one color on the left and another
I'm developing a WPF GUI framework and have had bad experiences with two way
I'm new and don't have much experience in database. I've a front end GUI
I have 2 flex datagrids on a screen. The user can select one or
I have Flex application requiring to filter users depending on there database groups. Depending
I have a portlet. Inside of this portlet I have Flex application that displays
I have a flex application with an iframe layered on top. I want to
I have a Flex application in which I draw a rectangle using: <s:Rect height=20

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.