Not yet. For Hibernate it is usually senseful to generate only code
for entities. However, for generating the classes the Hibernate
cartridge does only delegate to the JavaBasics cartridge. So you
could expand the appropriate class templates for the set of classes
you need on your own.
Otherwise the normal way would be to adapt your classes to the
Hibernate cartridge, i.e. assigning them the Entity stereotype
through a model-2-model transformation. We will add such an adapter
transformation in future versions, without concrete time schedule yet.
~Karsten
Am 03.04.2007 um 09:06 schrieb Roberts V:
thx,
another thing:
the hibernate cartridge is performing generation on only classes
which are
stereotyped as Entity.
How could i perform generation on other classes?
thorque wrote:
Ohh, I see...
The Hibernate-Project hasn't update their projectdescription...I will
Darius
send a notice to fix this...
The correct url is
http://svn.sourceforge.net/viewvc/fornax/trunk/cartridges/uml2/
Hibernate/
There are the projects. You need at least the parent, the
generator and
the
reference projects.
Thorsten
On 4/2/07, Roberts V <[EMAIL PROTECTED]> wrote:
how can i get source
https://svn.sourceforge.net/svnroot/fornax/trunk/fornax-
cartridges-uml2-hibernate-parent
is not working.
thorque wrote:
Do you looked at the Class.xpt? This supports the things you
describing.
If you don't need to generate Interface, abstract Class and base
Class
for
this modelelement you can refer to this template.
But you can use the Entity.xpt for any other stereotype. This
templates
doesn't refer to a Stereotype. It provides only DEFINES for the
generation
of Interface, abstract Class and base Class.
Thorsten
On 4/2/07, Roberts V <[EMAIL PROTECTED]> wrote:
i have uml diagram with classes and associations between them.
In this diagram there should be one parent class (or
interface), which
contains common fields for some of those classes. And this is the
problem,
i don't want to use Entity stereotype for parent class -
because this
class
is not persistent class (should not be generated any hbm and
hibernate
classes).
--
Thorsten Kamann
Software-Architect, Consultant, Coaching
Germany, NRW
Business:
itemis products and solutions GmbH & Co. KG
Heinrichstraße 51
44536 Lünen
Rechtlicher Hinweis:
Amtsgericht Dortmund, HRA 15841
P.h.G.:
Komplementär: itemis management GmbH, Amtsgericht Dortmund HRB
18939
Geschäftsführer Jürgen Rödl
Personal:
[EMAIL PROTECTED]
http://www.thorsten-kamann.de/
callto://thorque
--------------------------------------------------------------------
-----
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance
to share
your
opinions on IT & business topics through brief surveys-and earn
cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer
--
View this message in context:
http://www.nabble.com/Modification-tf3497684s17564.html#a9788976
Sent from the Fornax-Platform mailing list archive at Nabble.com.
--------------------------------------------------------------------
-----
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer
--
Thorsten Kamann
Software-Architect, Consultant, Coaching
Germany, NRW
Business:
itemis products and solutions GmbH & Co. KG
Heinrichstraße 51
44536 Lünen
Rechtlicher Hinweis:
Amtsgericht Dortmund, HRA 15841
P.h.G.:
Komplementär: itemis management GmbH, Amtsgericht Dortmund HRB 18939
Geschäftsführer Jürgen Rödl
Personal:
[EMAIL PROTECTED]
http://www.thorsten-kamann.de/
callto://thorque
---------------------------------------------------------------------
----
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer
--
View this message in context: http://www.nabble.com/Modification-
tf3497684s17564.html#a9804707
Sent from the Fornax-Platform mailing list archive at Nabble.com.
----------------------------------------------------------------------
---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer
____________________________
Dipl.-Inf. (FH) Karsten Thoms
Software-Architekt und Coach
Telefon: +49 (0) 231 / 98 60-210
Telefax: +49 (0) 231 / 98 60-211
Mobil: +49 (0) 163/4979708
http://www.itemis.de
[EMAIL PROTECTED]
itemis GmbH & Co. KG
Heinrich Str. 51
44536 Lünen
Rechtlicher Hinweis:
Amtsgericht Dortmund, HRA 15248
P.h.G.:
itemis Verwaltungs GmbH, Amtsgericht Dortmund HRB 18216
Geschäftsführer: Wolfgang Neuhaus, Jens Wagener
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer