Forwarding this discussion to dev list as we need to know Werner's point of view.

Ralf

--

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: ralf.joac...@syscon.eu

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim

--- Begin Message ---
Ralf,

I'm sorry that I am bothering you but still I have some questions:
I have read here (http://jira.codehaus.org/browse/CASTOR-1527) that there is 
some kind of patch? Does this patch works?

Can you give an estimate when these attributes, like length and defaults, will 
be available by DDL gen? ( I'am not a good programmer otherwise i would give it 
a try.  )

Regards,

Adis


From: Ralf Joachim 
Sent: Tuesday, June 02, 2009 11:12 AM
To: Adis Corovic 
Subject: Re: Varchar length support?


Hi Adis,

there are a few issues in jira about improvements and refactorings required at 
DDLGEN. Take a look at:

http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=10891&sorter/order=DESC&sorter/field=priority&resolution=-1&component=12341

One of this issues is a feature request to add specification of field length to 
our mapping: See:

http://jira.codehaus.org/browse/CASTOR-1527

According to this you are not able to specify length of varchar fields in 
mapping yet.

Regards
Ralf


Adis Corovic schrieb: 
  Hi Ralf ,

  I was examing the samples an do some testing and have a question regarding 
the length of varchar datattype. I could find out how to give the length of my 
varchar field in mappin.xml:
 <class name="Mijn test2">
        <map-to table="Mijn Tabel2"/>
        <field name="Code" type="Integer" required="true" identity="true">
            <sql name="Code"/>
        </field>
        <field name="Naam" type="varchar" required="true">
            <sql name="Naam"/>
        </field>
 </class>It always takes my default length (256), but I want to second column 
to be varchar(10). How can I accomplish this?Can you please reply to this?Sorry 
that I am disturbing you..Regards,Adis 

  From: Ralf Joachim 
  Sent: Friday, May 29, 2009 3:35 PM
  To: Adis Corovic 
  Subject: Re: Information about Castor DDL Gen


  Hi Adis,

  at the moment DDLGEN does only support generation of DDL scripts form mapping 
files. While we have already added support to read mapping informations from 
annotated java classes to our persistence engine, using this annotations to 
generate DDL scripts is not available yet. Having said that I would not see a 
chance to generate usefull DDL scripts from java classes without annotations.

  Regards
  Ralf

  Adis Corovic schrieb: 
    Hello Ralf,

    I have read that you are one of the contributors of Castor DDL Generator.
    Therefore I want to ask you something;
    Is it possible to generate DDL code from something else than a mapping file 
of XML?
    The reason I am asking this: for my study I chosen DDL generation as a 
thema. So I am investigating how DDL genration could be established.

    Is it possible to generate from a Java Class DDL script trough your DDL 
generator?

    Thanks in advance,
    Best regards,

    Adis Corovic
    Nijmegen, The Netherlands


-- 

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: ralf.joac...@syscon.eu

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
  

-- 

Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: ralf.joac...@syscon.eu

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim

<<Emoticon8.gif>>


--- End Message ---
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to