| SQL to JPA [message #735185] |
Tue, 11 October 2011 03:37  |
Warus Messages: 2 Registered: October 2011 |
Junior Member |
|
|
Hi.
In my database I have a table with 3 fields: field_1, field_2, field_3 and generated entity for that table. I need to implement something like this in EclipseLink:
Select (field_1/field_3) as field_1, (field_2/field_3) as field_2, field_3 from table;
Of course this is simplified example. Is there any way to do this without NativeQuery?
thanks for any help
|
|
|
|
Powered by
FUDForum. Page generated in 0.34843 seconds