Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Annotation in Entity-Classes
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michael  
View profile  
 More options Jul 29 2012, 6:38 pm
From: Michael <m...@elbecker.de>
Date: Sun, 29 Jul 2012 15:38:49 -0700 (PDT)
Local: Sun, Jul 29 2012 6:38 pm
Subject: Annotation in Entity-Classes

Hi,

I need to parse xml-files and write the Data into a database. I would like
to use simple xml to parse the files. Therefore, I need to anotate the
fields in the auto-generated Entity-Classes.
Is it possibile to do this?

Thanks
Michael


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Markus Junginger  
View profile  
 More options Aug 2 2012, 8:49 am
From: Markus Junginger <mar...@greenrobot.de>
Date: Thu, 2 Aug 2012 05:49:42 -0700 (PDT)
Local: Thurs, Aug 2 2012 8:49 am
Subject: Re: Annotation in Entity-Classes

It's not supported. The only workaround I see at the moment is to annotate
generated entity code. Of course, every code generation will overwrite, but
maybe your entities are already stable. So, why not... Version control is a
must anyways.

I think there had been some discussion about passing annotations to the
generator. If you want, you could give it a try by forking greenDAO. :)

Markus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yiğit boyar  
View profile  
 More options Aug 8 2012, 12:59 am
From: yiğit boyar <ybo...@gmail.com>
Date: Tue, 7 Aug 2012 21:59:38 -0700
Local: Wed, Aug 8 2012 12:59 am
Subject: Re: [greenDAO] Re: Annotation in Entity-Classes

FYI, I'm working on annotation support for green-dao because we also need
it for Jackson.
Stay tuned.

Btw, it will be based on my hack to separate generated code from the actual
entity. I guess Markus did not have time to review it but I'm hoping to get
it on production in the following 3 weeks (sadly it is my side project
within the company).

you can follow here:
https://github.com/yigit/greenDAO

yigit

On Thu, Aug 2, 2012 at 5:49 AM, Markus Junginger <mar...@greenrobot.de>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »