And I think I just found my error in the model too. I used the wrong link
to connect DecisionService and DecisionItem.
thanks for your help, I' currently generating & compiling & hoping that everything works now.
Jan
Am 24.01.2005 um 17:50 schrieb Chad Brandon:
Ok got a change to look at your project....the problem is this: You're
constructing DAO's whereas you need to retrieve them from inside the
service. For example...add a reference (i.e. dependency) from the
DecisionService to the DecisionItem. This will then create a getter on the
DecisionServiceBase, so that you can then do: this.getDecisionItemDao() to
retrieve the DAO instance (you need to do this because the Spring container
handles these instances for you). Don't try to construct the Services or
entities yourself.
Chad
-----Original Message----- From: Jan Heise [mailto:[EMAIL PROTECTED] Sent: Monday, January 24, 2005 7:29 AM To: Chad Brandon Subject: Some more info...
Some more info if you try to build/run: - I'm using postgres as the db, so you'll have to change the db-properties if you want to use hsql - I also changed dataSource=java:comp/env/jdbc/DefaultDS
Hibernate get's initialized - I can see it from the output of the logs.
Jan
Am 24.01.2005 um 15:23 schrieb Chad Brandon:
Ok cool about CVS. Send me your project and I'll try it out, not sure why its not finding the session factory (it should).
-----Original Message----- From: Jan Heise [mailto:[EMAIL PROTECTED] Sent: Monday, January 24, 2005 7:22 AM To: Chad Brandon Subject: Re: [Andromda-user] Error building cvs-version
Chad,
It was my own fault. My last cvs up was missing a -d, so some files were missing. (Martin spotted this)
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
