Thank you.
But i still have one question :
i have this select query:
session.createQuery("select meta.titel, meta.url, meta.picture, meta.text from lm_meta as meta, lm_word as word, lm_word_to_meta as meta_word where word.word = '" + dest+ "'
and word.id = meta_word.word_id and meta_word.meta_id = meta.id ORDER BY meta.time DESC LIMIT 1")
I need titel, url, picture, text from table meta. I put this to other table: Source_table into 4 columns.
I am not sure which kind of mapping do i have to choose.
If i declare all tables as separated classes i do need to write separated java classes for each table. Do i always have to write one class for each table?
Thank you very much,
greetings ,
seven-12
|