Register / Login
Win a copy of
The Little Book of Impediments (e-book only)
this week in the
Agile and Other Processes
Object Relational Mapping
hibernate query problem
posted 11 years ago
i was quite happy cause hibernate successfully mapped my class to the db
when i tried to execute a query and got a sql invalid column name error!!
but im sure i mapped the class's field to the correct column name
<property name="cmp" type="string" column="C_CMP" not-null="true"/>
this is the query:
from fuckthegest.model.PropostaOrdine as po where po.cmp = :cmp and po.prg = : prg
i cant figure this out
does anybody have a useful clue??
[ July 07, 2005: Message edited by: Lukas Alamar ]
Error in named native query (Invalid Column Name)
jaws.xml configuration not loading for cmp entity beans
How to query a value typed object
Stored Procedure - Can use unmapped class for result?
many-to-many bidirectional relationship query