|
Re: StoredProc a Hibernate: msg#00309java.czech
Skusam este raz, ci ma naozaj niekto nenakopne Mam v Oracle package taktuto fciu TcurZaznam is ref cursor; function GetZaznamy( inParam1 in number, ... inParamN in number ) return TcurZaznam is lsSQL varchar2(1000); lcZaznamy TcurZaznam; begin lsSQL := 'SELECT atr1, atr2, atr3 ... atrN .... '; open lcZaznamy for lsSQL; return lcZaznamy; end; a v Jave triedu public class ZaznamDTO extends KernelDTO { ... private int atr1; private int atr2; ... private int atrN; + metody Get a Set } Viem nejako pomocou hybernate naplnit list ZaznamDTO zavolanim oracle fcie GetZaznamy? Resp. ako to mam inak vyriesit? Marian Stevlik (Michal) IS programmer / developer GAMO a.s. Kyjevske nam. 6 974 04 Banska Bystrica web: www.gamo.sk mail: mstevlik-WYK+onGnVC8@xxxxxxxxxxxxxxxx tel: +421 48 4372098, 4137935, 4372111 gsm: +421 905 462010 icq: 38493645 skype: majklbb
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Spring MVC a co na view vrstvu, Karel Tejnora |
|---|---|
| Next by Date: | Re: StoredProc a Hibernate, František Augusztin |
| Previous by Thread: | StoredProc a Hibernate, mstevlik-WYK+onGnVC8 |
| Next by Thread: | Re: StoredProc a Hibernate, František Augusztin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |