|Re: TENEO JPA Annotation - create a view [message #615364]
||Fri, 01 February 2008 18:07
| Martin Taal
Registered: July 2009
Teneo questions are answered on the EMFT newsgroup (I cross-posted there).
Regarding your question:
So if you add a @Table(name='myviewname') it should work.
> I'm using TENEO + hibernate to persist my data and do queries.
> So far I was able to cover all my needs by applying JPA annotation in
> the eCore and generate the mapping file directly with TENEO.
> Do you know if the TENEO annotation supporting creating view instead of
> tables (in the mapping file)?
> If it doesn't what would be the best way to map the class to a view in a
With Regards, Martin Taal
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: firstname.lastname@example.org - email@example.com
Web: www.springsite.com - www.elver.org
Powered by FUDForum
. Page generated in 0.01896 seconds