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 8028725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:12:38+00:00 2026-06-05T00:12:38+00:00

I want to represent some java concepts in a database schema. I don’t mean

  • 0

I want to represent some java concepts in a database schema. I don’t mean persist instances into Hibernate, I mean represent java’s type system as a series of tables and rows.

So for instance, with respect to types there are a certain definite set of relationships I would like represent. For example, there are two types in Java , primitive types and reference types, and primitive types break down into numeric and boolean and numeric breaks down into integral and floating type and integral breaks down into byte short int long and char and floating types break out into float and double (I think I got that right) .

Java also has classes and classes have methods and methods have signatures and constructors and return types and arguments , both of which have some type.

So I want to create a database that represents this kind of information in 3NF form. Such a database would permit queries about object instances which would be the data put into the database.

Is there anything like this ? I am turning up nothing useful in Google maybe because it’s hard to compose a query that doesn’t land you in JDBC and Hibernate territory. Still, I think someone must have already done this; maybe there’s even a standard or an RFC out there that I don’t know about.

What I don’t want is to try to reverse engineer some aspects of something like hibernate or anything like. I think that would actually be a largish task with very little payoff. It’s not that I can’t do it from scratch (after the usual false starts and mistakes have been made), it’s that I am wondering if it hasn’t already been done and spec’ed out somewhere.

Many thanks.

  • 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-06-05T00:12:39+00:00Added an answer on June 5, 2026 at 12:12 am

    it’s that I am wondering if it hasn’t already been done and spec’ed out somewhere.

    Not in the sense that you mean. This wheel has been invented before in various ORM mapping products, but I’m not aware of anyone who has done in independently of such a product. (Why would someone be motivated to do that? Its not like there are 100’s of projects that would make use of that work …)

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

Sidebar

Related Questions

I want to use an Enum to represent some selection values. In the /src/groovy
I want to visualize some data about cars in a table via Prefuse Java.
I want to represent some data visually, using a visualization component. Now I want
I want to represent threaded comments in Java. This would look similar to the
I want to fill a simple h:datatable tag with some values from a database.
I want to represent a DAG as JSON text and wondering if anyone has
We have objects that we want to represent in stacks (think of stacking items
In SQL Server 2008, I want to represent an integer as a 3-character string
I want to parse a string that represent a DateTime in UTC format. My
We're using some C library in our Java project. Several years ago some other

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.