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

  • Home
  • SEARCH
  • 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 8326897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:55:26+00:00 2026-06-09T00:55:26+00:00

I want to create a mini ORM(Object Relational Mapping) for android if some one

  • 0

I want to create a mini ORM(Object Relational Mapping) for android if some one of you have used Hibernate which is also an ORM but not for mobile in which you can create Class to Table mapping by using annotations.
What i want to create my annotations in android and than read that class by reflection and create tables.

in standard java i am able to create my annotations and use it. but for android i could not found any way to create annotations in android This project using custom annotations but i could not found how.

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)

These above Meta-Annotations are available in standard java but not in android which help to create annotations

any help please

  • 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-09T00:55:27+00:00Added an answer on June 9, 2026 at 12:55 am

    What makes you think that these annotations are not available in Android? ORMLite is a Java ORM for Android that uses annotations without problem:

    @Target(value = FIELD)
    @Retention(value = RUNTIME)
    public @interface DatabaseField {
        ...
    }
    

    I also use METHOD retention elsewhere. Here’s the source code for @DatabaseField that compiles fine under all Android versions that I’ve tried (1.6 up through 3.0).

    One thing to remember about annotations with Android is that their performance is terrible. See:

    Why are annotations under Android such a performance issue (slow)?

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

Sidebar

Related Questions

I want to create a 'mini-database'. I want to have one file with lots
I failed to create a mini-library with some useful functions that I have found
Is it possible to create mini session factory with some classes on one thread
What I want to do is build some mini cms which hold pages with
I want create wordpress website into which I want create user management... That means
i want create image animation , i have 50 images with png format now
I want create module which update list of usb devices automatically (not only mass
In a mini blog app, I want to create a delete function, so that
I have an existing application that I'm supposed to take and create a mini
I want to create a mini shell for UNIX just to know the ins

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.