Thread:
 Middlegen timestamp/version setup? (attn: David) 
 fisherv   17 Oct 2005, 12:12 
 Re: Middlegen version setup 
 fisherv   18 Oct 2005, 14:51 
 Re: Middlegen timestamp/version setup? (attn: D... 
 abnerp   27 Apr 2006, 07:37 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: abnerp (27 Apr 2006, 07:37) Replies: 0, Views: 27944
Subject: Re: Middlegen timestamp/version setup? (attn: David)
>------------------------------------------------------------
>David, how did you get middlegen to create the timestamp tag?

><timestamp name="departureUtc" column="departure_utc" />

>Add this in your node column in your preference file :

><entry key="columnspecialty" value="version" />
>------------------------------------------------------------

Hi, I still want to know how can I create the "timestamp" tag with
middlegen. 

The prefs file is not a good solution, because sometimes we have to
delete the file so that middlegen can create the file again.

>Could someone let me know to which "preference file" we should add the
><entry.../> line mentioned above?
>It's easy enough to add the timestamp tag manually, but it will be
>wiped
>out sny time we update the schema and re-run Middlegen!  So we need to
>be able to add this via Middlegen config somehow.

I wanna know a way to specify this by build.xml or some ANT or VM parameter.

Someone can tell where we use the "entry" tag? Seens to be a good
solution, but I'm afraid that can't be used with Hibernate Plugin. Is
that correct?

Someone can help me?

Thanks,

Abner
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]