JPA Help
Mike Barnes <mike.barnes-f9aWwpgOZj5Wk0Htik3J/[email protected]> Mon, 27 Nov 2017 14:52:17 -0800
| Newsgroups | gmane.org.user-groups.ajug.members |
|---|---|
| Message-ID | <[email protected]> |
--===============1536317431919818887==
Content-Type: multipart/alternative;
boundary="_364B018F-92AE-4A76-B2D8-C9F8E4925D06_"
--_364B018F-92AE-4A76-B2D8-C9F8E4925D06_
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
I am using the CrudRepository and am looking for a way to get list data bac=
k using something like FindAll without making a query for each row.
My hibernate log shows something like below for a findall call
select column1, column2 from myTable
select column1, column2 from myTable
=E2=80=A6
Thanks
Mike Barnes
--_364B018F-92AE-4A76-B2D8-C9F8E4925D06_
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="utf-8"
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta ht=
tp-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta name=
=3DGenerator content=3D"Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=3DEN-US link=3Dblue vlink=3D"#954F72"><div cla=
ss=3DWordSection1><p class=3DMsoNormal>I am using the CrudRepository and am=
looking for a way to get list data back using something like FindAll witho=
ut making a query for each row.</p><p class=3DMsoNormal><o:p> </o:p></=
p><p class=3DMsoNormal>My hibernate log shows something like below for a fi=
ndall call</p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNorma=
l>select column1, column2 from myTable</p><p class=3DMsoNormal>select colum=
n1, column2 from myTable<o:p></o:p></p><p class=3DMsoNormal>=E2=80=A6</p><p=
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Thanks</p><p c=
lass=3DMsoNormal>Mike Barnes</p><p class=3DMsoNormal><o:p> </o:p></p><=
/div></body></html>=
--_364B018F-92AE-4A76-B2D8-C9F8E4925D06_--
--===============1536317431919818887==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KYWp1Zy1tZW1i
ZXJzIG1haWxpbmcgbGlzdAphanVnLW1lbWJlcnNAbGlzdHMuYWp1Zy5vcmcKTWFuYWdlIHlvdXIg
c3Vic2NyaXB0aW9uIGFuZCB1bnN1YnNjcmliZSBodHRwOi8vbGlzdHMuYWp1Zy5vcmcvbWFpbG1h
bi9saXN0aW5mby9hanVnLW1lbWJlcnM=
--===============1536317431919818887==--