Re: MySQL and MSSQL in same java application

"John Abraham [email protected] [SimpleORM]" <[email protected]> Fri, 7 Nov 2014 01:14:21 -0700
Newsgroups gmane.comp.java.orm.simpleorm
Message-ID <[email protected]>
--Apple-Mail=_3CCC9744-FBCA-4F81-8107-52CC12F61422
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Thanks for the note, Franck.  We are also happily using it with no complain=
ts or problems.

--
John Abraham
[email protected]
403-232-1060

> On Nov 7, 2014, at 1:08 AM, Franck Routier [email protected] [Simp=
leORM] <[email protected]> wrote:
>=20
> Hi all,
>=20
> just a note to say we (at axege.com <http://axege.com/>) are using it on =
a daily basis in our product, and deployed in production on about 30 sites,=
 mainly hospitals in France and Switzerland.
> SimpleORM is not evolving a lot as it has the features we need now... and=
 it is mainly bug less !
>=20
> You can go ahead using it, you won't be left totally alone :-)
>=20
> Best regards,
> Franck
>=20
>=20
>=20
> Le 07/11/2014 04:15, anthony berglas [email protected] <mailto:anthony@=
berglas.org> [SimpleORM] a =C3=A9crit :
>>=20=20
>> Ha!  There lies the rub.  It is a Hibernate world, in all its glory.  An=
d about 5% of it is actually useful.
>>=20
>> If you find something let me know.  All I have seen is rubbish.  Lots of=
 mapping to objects using reflection, nothing useful.  What is wanted is so=
mething simple.
>>=20
>> A project that I am working on now has some very simple code (not writte=
n by me) that just wraps SQL, sample below.  You could knock something up y=
ourself like that pretty quick.  If you make it into a clean module please =
post it to this list.  But that still leaves many issues.
>>=20
>> Or just use SimpleOrm.  If you like it pull the current from SVN.  But y=
ou will need to maintain it yourself, I have no time for it.  But it is sim=
ple.
>>=20
>> Anthony
>>=20
>>     private PreparedStatement executeInner(String sql, String sqlcmd, Ob=
ject... params) throws SQLException {
>>         long start =3D System.currentTimeMillis();
>>         boolean ok =3D false;
>>         count =3D -1;
>>         PreparedStatement stmt =3D null;
>>=20
>>         try {
>>             stmt =3D dbconn.prepareStatement(sql);
>>             setParams(stmt, params);
>>             if (!stmt.execute()) { // returns false if result is count
>>                 count =3D stmt.getUpdateCount();
>>             }
>>             ok =3D true;
>>             return stmt;
>>         } finally {
>>             if (stmt !=3D null) stmt.close
>>             long timeTaken =3D System.currentTimeMillis() - start;
>>             log.debug(format("sql: %08x : %s : %s : %d : %05dms : %s : %=
s\n",
>>                     dbconn.hashCode(), sqlcmd, ok ? "ok" : "error", coun=
t,
>>                     timeTaken, sql, JSON.stringify(params)));
>>         }
>>     }
>>=20
>>=20
>> On Fri, Nov 7, 2014 at 11:41 AM, John Abraham [email protected] <mailto:=
[email protected]> [SimpleORM] <[email protected] <mailto:SimpleORM=
@yahoogroups.com>> wrote:
>>=20=20
>>> (But SimpleOrm has minimal support these days.)
>>=20
>> Any recommendations for alternatives?  I refuse to use Hibernate...
>>=20
>> --
>> John Abraham
>>=20
>> Sent from my iPhone, please excuse any typos.=20
>>=20
>> On Nov 6, 2014, at 5:25 PM, anthony berglas [email protected] <mailto:=
[email protected]> [SimpleORM] <[email protected] <mailto:SimpleO=
[email protected]>> wrote:
>>=20
>>>=20=20
>>> Should be OK.  There is no global state.
>>>=20
>>> (But SimpleOrm has minimal support these days.)
>>>=20
>>> Anthony
>>>=20
>>> On Thu, Nov 6, 2014 at 10:31 PM, [email protected] <mailto:gersh=
[email protected]> [SimpleORM] <[email protected] <mailto:SimpleO=
[email protected]>> wrote:
>>>=20=20
>>> Hi
>>>=20
>>>=20
>>>=20
>>> Is it a problem for SimpleORM to have one java thread talking to MySql =
and MSSQL at the same time?
>>>=20
>>>=20
>>>=20
>>> thanks
>>>=20
>>> GA
>>>=20
>>>=20
>>>=20
>>>=20
>>> --=20
>>>=20
>>> Dr Anthony Berglas, [email protected] <mailto:[email protected]>   =
    Mobile: +61 4 4838 8874
>>> Just because it is possible to push twigs along the ground with ones no=
se
>>> does not necessarily mean that that is the best way to collect firewood=
.
>>>=20
>>=20
>>=20
>>=20
>> --=20
>>=20
>> Dr Anthony Berglas, [email protected] <mailto:[email protected]>    =
   Mobile: +61 4 4838 8874
>> Just because it is possible to push twigs along the ground with ones nos=
e
>> does not necessarily mean that that is the best way to collect firewood.
>>=20
>=20
>=20
>=20


--Apple-Mail=_3CCC9744-FBCA-4F81-8107-52CC12F61422
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable





<head>

<style type=3D"text/css">
<!--

/* start of attachment style */
       .ygrp-photo-title{
         clear: both;
         font-size: smaller;
         height: 15px;
         overflow: hidden;
         text-align: center;
         width: 75px;
       }
       div.ygrp-photo{
         background-position: center;
         background-repeat: no-repeat;
         background-color: white;
         border: 1px solid black;
         height: 62px;
         width: 62px;
       }

       div.photo-title=20
         a,
         div.photo-title a:active,
         div.photo-title a:hover,
         div.photo-title a:visited {
           text-decoration: none;=20
       }

       div.attach-table div.attach-row {
         clear: both;
       }

       div.attach-table div.attach-row div {
         float: left;
         /* margin: 2px;*/
       }

       p {
         clear: both;
         padding: 15px 0 3px 0;
	 overflow: hidden;
       }

       div.ygrp-file {
         width: 30px;
         valign: middle;
       }
       div.attach-table div.attach-row div div a {
         text-decoration: none;
       }

       div.attach-table div.attach-row div div span {
         font-weight: normal;
       }

       div.ygrp-file-title {
         font-weight: bold;
       }
 /* end of attachment style */
        -->
        </style>
        </head>
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;" class=3D"">




Thanks for the note, Franck. &nbsp;We are also happily using it with no com=
plaints or problems.<div class=3D""><br class=3D""><div class=3D""><div app=
le-content-edited=3D"true" class=3D"">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; color:=
 rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: no=
rmal; font-weight: normal; letter-spacing: normal; line-height: normal; orp=
hans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizonta=
l-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorati=
ons-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-wi=
dth: 0px;  "><div class=3D"">--</div><div class=3D"">John Abraham</div><div=
 class=3D""><a href=3D"mailto:[email protected]" class=3D"">[email protected]=
om</a></div><div class=3D"">403-232-1060</div></span>

</div>
<br class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On=
 Nov 7, 2014, at 1:08 AM, Franck Routier <a href=3D"mailto:franck.routier@a=
xege.com" class=3D"">[email protected]</a> [SimpleORM] &lt;<a href=
=3D"mailto:[email protected]" class=3D"">[email protected]<=
/a>&gt; wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""=
><div id=3D"ygrp-mlmsg" style=3D"font-size: 13px; font-family: Arial, helve=
tica, clean, sans-serif; font-style: normal; font-variant: normal; font-wei=
ght: normal; letter-spacing: normal; line-height: normal; orphans: auto; te=
xt-align: start; text-indent: 0px; text-transform: none; white-space: norma=
l; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; backgro=
und-color: rgb(255, 255, 255); position: relative;" class=3D""><div id=3D"y=
grp-msg" style=3D"line-height: 1.22em; z-index: 1;" class=3D""><div id=3D"y=
grp-text" style=3D"line-height: 1.22em; font-family: Georgia;" class=3D""><=
p style=3D"line-height: 1.22em; margin: 0px 0px 1em;" class=3D"">Hi all,<br=
 style=3D"line-height: 1.22em;" class=3D""><br style=3D"line-height: 1.22em=
;" class=3D"">just a note to say we (at<span class=3D"Apple-converted-space=
">&nbsp;</span><a href=3D"http://axege.com/" style=3D"line-height: 1.22em; =
font-family: Verdana;" class=3D"">axege.com</a>) are using it on a daily ba=
sis in our product, and deployed in production on about 30 sites, mainly ho=
spitals in France and Switzerland.<br style=3D"line-height: 1.22em;" class=
=3D"">SimpleORM is not evolving a lot as it has the features we need now...=
 and it is mainly bug less !<br style=3D"line-height: 1.22em;" class=3D""><=
br style=3D"line-height: 1.22em;" class=3D"">You can go ahead using it, you=
 won't be left totally alone :-)<br style=3D"line-height: 1.22em;" class=3D=
""><br style=3D"line-height: 1.22em;" class=3D"">Best regards,<br style=3D"=
line-height: 1.22em;" class=3D"">Franck<br style=3D"line-height: 1.22em;" c=
lass=3D""><br style=3D"line-height: 1.22em;" class=3D""><br style=3D"line-h=
eight: 1.22em;" class=3D""></p><div class=3D"moz-cite-prefix" style=3D"line=
-height: 1.22em;">Le 07/11/2014 04:15, anthony berglas<span class=3D"Apple-=
converted-space">&nbsp;</span><a class=3D"moz-txt-link-abbreviated" href=3D=
"mailto:[email protected]" style=3D"line-height: 1.22em;">anthony@berglas=
.org</a><span class=3D"Apple-converted-space">&nbsp;</span>[SimpleORM] a =
=C3=A9crit&nbsp;:<br style=3D"line-height: 1.22em;" class=3D""></div><block=
quote cite=3D"mid:CA+_PZMdUyo-gJ-RYUu7TYu47ETF0pMNnhrai-tjwnw0UAh3boQ@mail.=
gmail.com" type=3D"cite" style=3D"margin: 0px 0px 0px 4px; line-height: 1.2=
2em;" class=3D""><span style=3D"line-height: 1.22em;" class=3D"">&nbsp;</sp=
an><div id=3D"ygrp-text" style=3D"line-height: 1.22em; font-family: Georgia=
;" class=3D""><div dir=3D"ltr" style=3D"line-height: 1.22em;" class=3D""><d=
iv class=3D"gmail_default" style=3D"line-height: 1.22em; font-family: verda=
na, sans-serif;">Ha!&nbsp; There lies the rub.&nbsp; It is a Hibernate worl=
d, in all its glory.&nbsp; And about 5% of it is actually useful.</div><div=
 class=3D"gmail_default" style=3D"line-height: 1.22em; font-family: verdana=
, sans-serif;"><br style=3D"line-height: 1.22em;" class=3D""></div><div cla=
ss=3D"gmail_default" style=3D"line-height: 1.22em; font-family: verdana, sa=
ns-serif;">If you find something let me know.&nbsp; All I have seen is rubb=
ish.&nbsp; Lots of mapping to objects using reflection, nothing useful.&nbs=
p; What is wanted is something simple.</div><div class=3D"gmail_default" st=
yle=3D"line-height: 1.22em; font-family: verdana, sans-serif;"><br style=3D=
"line-height: 1.22em;" class=3D""></div><div class=3D"gmail_default" style=
=3D"line-height: 1.22em; font-family: verdana, sans-serif;">A project that =
I am working on now has some very simple code (not written by me) that just=
 wraps SQL, sample below.&nbsp; You could knock something up yourself like =
that pretty quick.&nbsp; If you make it into a clean module please post it =
to this list.&nbsp; But that still leaves many issues.</div><div class=3D"g=
mail_default" style=3D"line-height: 1.22em; font-family: verdana, sans-seri=
f;"><br style=3D"line-height: 1.22em;" class=3D""></div><div class=3D"gmail=
_default" style=3D"line-height: 1.22em; font-family: verdana, sans-serif;">=
Or just use SimpleOrm.&nbsp; If you like it pull the current from SVN.&nbsp=
; But you will need to maintain it yourself, I have no time for it.&nbsp; B=
ut it is simple.</div><div class=3D"gmail_default" style=3D"line-height: 1.=
22em; font-family: verdana, sans-serif;"><br style=3D"line-height: 1.22em;"=
 class=3D""></div><div class=3D"gmail_default" style=3D"line-height: 1.22em=
; font-family: verdana, sans-serif;">Anthony</div><div class=3D"gmail_defau=
lt" style=3D"line-height: 1.22em; font-family: verdana, sans-serif;"><br st=
yle=3D"line-height: 1.22em;" class=3D""></div><div class=3D"gmail_default" =
style=3D"line-height: 1.22em;"><div class=3D"gmail_default" style=3D"line-h=
eight: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp;<span class=3D"Apple-converted-space">&nbsp;</span>private Prep=
aredStatement executeInner(String sql, String sqlcmd, Object... params) thr=
ows SQLException {</font></div><div class=3D"gmail_default" style=3D"line-h=
eight: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-space">&nbsp;</spa=
n>long start =3D System.currentTimeMillis();</font></div><div class=3D"gmai=
l_default" style=3D"line-height: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-space">&nbsp;</spa=
n>boolean ok =3D false;</font></div><div class=3D"gmail_default" style=3D"l=
ine-height: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-space">&nbsp;</spa=
n>count =3D -1;</font></div><div class=3D"gmail_default" style=3D"line-heig=
ht: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-space">&nbsp;</spa=
n>PreparedStatement stmt =3D null;</font></div><div class=3D"gmail_default"=
 style=3D"line-height: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D""><=
br style=3D"line-height: 1.22em;" class=3D""></font></div><div class=3D"gma=
il_default" style=3D"line-height: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-space">&nbsp;</spa=
n>try {</font></div><div class=3D"gmail_default" style=3D"line-height: 1.22=
em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-spac=
e">&nbsp;</span>stmt =3D dbconn.prepareStatement(sql);</font></div><div cla=
ss=3D"gmail_default" style=3D"line-height: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-spac=
e">&nbsp;</span>setParams(stmt, params);</font></div><div class=3D"gmail_de=
fault" style=3D"line-height: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-spac=
e">&nbsp;</span>if (!stmt.execute()) { // returns false if result is count<=
/font></div><div class=3D"gmail_default" style=3D"line-height: 1.22em;"><fo=
nt face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-=
converted-space">&nbsp;</span>count =3D stmt.getUpdateCount();</font></div>=
<div class=3D"gmail_default" style=3D"line-height: 1.22em;"><font face=3D"v=
erdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-spac=
e">&nbsp;</span>}</font></div><div class=3D"gmail_default" style=3D"line-he=
ight: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-spac=
e">&nbsp;</span>ok =3D true;</font></div><div class=3D"gmail_default" style=
=3D"line-height: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-spac=
e">&nbsp;</span>return stmt;</font></div><div class=3D"gmail_default" style=
=3D"line-height: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-space">&nbsp;</spa=
n>} finally {</font></div><div class=3D"gmail_default" style=3D"line-height=
: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-spac=
e">&nbsp;</span>if (stmt !=3D null) stmt.close</font></div><div class=3D"gm=
ail_default" style=3D"line-height: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-spac=
e">&nbsp;</span>long timeTaken =3D System.currentTimeMillis() - start;</fon=
t></div><div class=3D"gmail_default" style=3D"line-height: 1.22em;"><font f=
ace=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-spac=
e">&nbsp;</span>log.debug(format("sql: %08x : %s : %s : %d : %05dms : %s : =
%s\n",</font></div><div class=3D"gmail_default" style=3D"line-height: 1.22e=
m;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span c=
lass=3D"Apple-converted-space">&nbsp;</span>dbconn.hashCode(), sqlcmd, ok ?=
 "ok" : "error", count,</font></div><div class=3D"gmail_default" style=3D"l=
ine-height: 1.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span c=
lass=3D"Apple-converted-space">&nbsp;</span>timeTaken, sql, JSON.stringify(=
params)));</font></div><div class=3D"gmail_default" style=3D"line-height: 1=
.22em;"><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp; &nbsp; &nbsp;<span class=3D"Apple-converted-space">&nbsp;</spa=
n>}</font></div><div class=3D"gmail_default" style=3D"line-height: 1.22em;"=
><font face=3D"verdana,
                    sans-serif" style=3D"line-height: 1.22em;" class=3D"">&=
nbsp; &nbsp;<span class=3D"Apple-converted-space">&nbsp;</span>}</font></di=
v><div style=3D"line-height: 1.22em; font-family: verdana, sans-serif;" cla=
ss=3D""><br style=3D"line-height: 1.22em;" class=3D""></div></div></div><di=
v class=3D"gmail_extra" style=3D"line-height: 1.22em;"><br style=3D"line-he=
ight: 1.22em;" class=3D""><div class=3D"gmail_quote" style=3D"line-height: =
1.22em;">On Fri, Nov 7, 2014 at 11:41 AM, John Abraham<span class=3D"Apple-=
converted-space">&nbsp;</span><a moz=3D"true" href=3D"mailto:jea@hbaspecto.=
com" style=3D"line-height: 1.22em;" class=3D"">[email protected]</a><span c=
lass=3D"Apple-converted-space">&nbsp;</span>[SimpleORM]<span class=3D"Apple=
-converted-space">&nbsp;</span><span dir=3D"ltr" style=3D"line-height: 1.22=
em;" class=3D"">&lt;<a moz=3D"true" href=3D"mailto:[email protected]=
m" target=3D"_blank" style=3D"line-height: 1.22em;" class=3D"">SimpleORM@ya=
hoogroups.com</a>&gt;</span><span class=3D"Apple-converted-space">&nbsp;</s=
pan>wrote:<br style=3D"line-height: 1.22em;" class=3D""><blockquote class=
=3D"gmail_quote" style=3D"margin: 0px 0px 0px 4px; line-height: 1.22em; bor=
der-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-sty=
le: solid;"><div style=3D"line-height: 1.22em; background-color: rgb(255, 2=
55, 255);" class=3D""><span style=3D"line-height: 1.22em;" class=3D"">&nbsp=
;</span><div style=3D"line-height: 1.22em;" class=3D""><div style=3D"line-h=
eight: 1.22em;" class=3D""><div style=3D"line-height: 1.22em;" class=3D""><=
div style=3D"line-height: 1.22em;" class=3D""><span class=3D"" style=3D"lin=
e-height: 1.22em;"><blockquote type=3D"cite" style=3D"margin: 0px 0px 0px 4=
px; line-height: 1.22em;" class=3D""><div style=3D"line-height: 1.22em;" cl=
ass=3D""><div style=3D"line-height: 1.22em;" class=3D""><div style=3D"line-=
height: 1.22em;" class=3D""><div dir=3D"ltr" style=3D"line-height: 1.22em;"=
 class=3D""><div class=3D"gmail_default" style=3D"line-height: 1.22em;"><fo=
nt style=3D"line-height: 1.22em;" class=3D""><span style=3D"line-height: 1.=
22em;" class=3D"">(But SimpleOrm has minimal support these days.)</span></f=
ont></div></div></div></div></div></blockquote><div style=3D"line-height: 1=
.22em;" class=3D""><br style=3D"line-height: 1.22em;" class=3D""></div></sp=
an>Any recommendations for alternatives?&nbsp; I refuse to use Hibernate...=
<br style=3D"line-height: 1.22em;" class=3D""><br style=3D"line-height: 1.2=
2em;" class=3D""><div style=3D"line-height: 1.22em;" class=3D"">--</div><di=
v style=3D"line-height: 1.22em;" class=3D"">John Abraham</div><div style=3D=
"line-height: 1.22em;" class=3D""><br style=3D"line-height: 1.22em;" class=
=3D""></div>Sent from my iPhone, please excuse any typos.&nbsp;</div><span =
class=3D"" style=3D"line-height: 1.22em;"><br style=3D"line-height: 1.22em;=
" class=3D"">On Nov 6, 2014, at 5:25 PM, anthony berglas&nbsp;<a moz=3D"tru=
e" href=3D"mailto:[email protected]" target=3D"_blank" style=3D"line-heig=
ht: 1.22em;" class=3D"">[email protected]</a>&nbsp;[SimpleORM] &lt;<a moz=
=3D"true" href=3D"mailto:[email protected]" target=3D"_blank" style=
=3D"line-height: 1.22em;" class=3D"">[email protected]</a>&gt; wrot=
e:<br style=3D"line-height: 1.22em;" class=3D""><br style=3D"line-height: 1=
.22em;" class=3D""></span><blockquote type=3D"cite" style=3D"margin: 0px 0p=
x 0px 4px; line-height: 1.22em;" class=3D""><div style=3D"line-height: 1.22=
em;" class=3D""><span style=3D"line-height: 1.22em;" class=3D"">&nbsp;</spa=
n><div style=3D"line-height: 1.22em;" class=3D""><span class=3D"" style=3D"=
line-height: 1.22em;"><div dir=3D"ltr" style=3D"line-height: 1.22em;" class=
=3D""><div class=3D"gmail_default" style=3D"line-height: 1.22em; font-famil=
y: verdana, sans-serif;">Should be OK.&nbsp; There is no global state.</div=
><div class=3D"gmail_default" style=3D"line-height: 1.22em; font-family: ve=
rdana, sans-serif;"><br style=3D"line-height: 1.22em;" class=3D""></div><di=
v class=3D"gmail_default" style=3D"line-height: 1.22em; font-family: verdan=
a, sans-serif;">(But SimpleOrm has minimal support these days.)</div><div c=
lass=3D"gmail_default" style=3D"line-height: 1.22em; font-family: verdana, =
sans-serif;"><br style=3D"line-height: 1.22em;" class=3D""></div><div class=
=3D"gmail_default" style=3D"line-height: 1.22em; font-family: verdana, sans=
-serif;">Anthony</div></div></span><div class=3D"gmail_extra" style=3D"line=
-height: 1.22em;"><span class=3D"" style=3D"line-height: 1.22em;"><br style=
=3D"line-height: 1.22em;" class=3D""><div class=3D"gmail_quote" style=3D"li=
ne-height: 1.22em;">On Thu, Nov 6, 2014 at 10:31 PM,<span class=3D"Apple-co=
nverted-space">&nbsp;</span><a moz=3D"true" href=3D"mailto:gershonadams@hot=
mail.com" target=3D"_blank" style=3D"line-height: 1.22em;" class=3D"">gersh=
[email protected]</a><span class=3D"Apple-converted-space">&nbsp;</span>[=
SimpleORM]<span class=3D"Apple-converted-space">&nbsp;</span><span dir=3D"l=
tr" style=3D"line-height: 1.22em;" class=3D"">&lt;<a moz=3D"true" href=3D"m=
ailto:[email protected]" target=3D"_blank" style=3D"line-height: 1.=
22em;" class=3D"">[email protected]</a>&gt;</span><span class=3D"Ap=
ple-converted-space">&nbsp;</span>wrote:<br style=3D"line-height: 1.22em;" =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 4=
px; line-height: 1.22em; border-left-width: 1px; border-left-color: rgb(204=
, 204, 204); border-left-style: solid;"><div style=3D"line-height: 1.22em; =
background-color: rgb(255, 255, 255);" class=3D""><span style=3D"line-heigh=
t: 1.22em;" class=3D"">&nbsp;</span><div style=3D"line-height: 1.22em;" cla=
ss=3D""><div style=3D"line-height: 1.22em;" class=3D""><div style=3D"line-h=
eight: 1.22em;" class=3D""><p style=3D"line-height: 1.22em; margin: 0px 0px=
 1em;" class=3D"">Hi</p><p style=3D"line-height: 1.22em; margin: 0px 0px 1e=
m;" class=3D""><br style=3D"line-height: 1.22em;" class=3D""></p><p style=
=3D"line-height: 1.22em; margin: 0px 0px 1em;" class=3D"">Is it a problem f=
or SimpleORM to have one java thread talking to MySql and MSSQL at the same=
 time?</p><p style=3D"line-height: 1.22em; margin: 0px 0px 1em;" class=3D""=
><br style=3D"line-height: 1.22em;" class=3D""></p><p style=3D"line-height:=
 1.22em; margin: 0px 0px 1em;" class=3D"">thanks</p><p style=3D"line-height=
: 1.22em; margin: 0px 0px 1em;" class=3D"">GA</p></div></div></div></div></=
blockquote></div><br style=3D"line-height: 1.22em;" class=3D""><br clear=3D=
"all" style=3D"line-height: 1.22em;" class=3D""><div style=3D"line-height: =
1.22em;" class=3D""><br style=3D"line-height: 1.22em;" class=3D""></div></s=
pan><span class=3D"" style=3D"line-height: 1.22em;">--<span class=3D"Apple-=
converted-space">&nbsp;</span><br style=3D"line-height: 1.22em;" class=3D""=
><div style=3D"line-height: 1.22em;" class=3D""><div style=3D"line-height: =
1.22em; margin: 0px 0px 1em;" class=3D""><br class=3D"webkit-block-placehol=
der"></div><p style=3D"line-height: 1.22em; margin: 0px 0px 1em;" class=3D"=
">Dr Anthony Berglas,<span class=3D"Apple-converted-space">&nbsp;</span><a =
moz=3D"true" href=3D"mailto:[email protected]" target=3D"_blank" style=3D=
"line-height: 1.22em; font-family: Verdana;" class=3D"">[email protected]=
</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"Apple-converted-spac=
e">&nbsp;</span>Mobile: +61 4 4838 8874<br style=3D"line-height: 1.22em;" c=
lass=3D"">Just because it is possible to push twigs along the ground with o=
nes nose<br style=3D"line-height: 1.22em;" class=3D"">does not necessarily =
mean that that is the best way to collect firewood.</p></div></span></div><=
/div></div></blockquote></div></div></div></div></blockquote></div><br styl=
e=3D"line-height: 1.22em;" class=3D""><br clear=3D"all" style=3D"line-heigh=
t: 1.22em;" class=3D""><div style=3D"line-height: 1.22em;" class=3D""><br s=
tyle=3D"line-height: 1.22em;" class=3D""></div>--<span class=3D"Apple-conve=
rted-space">&nbsp;</span><br style=3D"line-height: 1.22em;" class=3D""><div=
 class=3D"gmail_signature" style=3D"line-height: 1.22em;"><div style=3D"lin=
e-height: 1.22em; margin: 0px 0px 1em;" class=3D""><br class=3D"webkit-bloc=
k-placeholder"></div><p style=3D"line-height: 1.22em; margin: 0px 0px 1em;"=
 class=3D"">Dr Anthony Berglas,<span class=3D"Apple-converted-space">&nbsp;=
</span><a moz=3D"true" href=3D"mailto:[email protected]" target=3D"_blank=
" style=3D"line-height: 1.22em; font-family: Verdana;" class=3D"">anthony@b=
erglas.org</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"Apple-conv=
erted-space">&nbsp;</span>Mobile: +61 4 4838 8874<br style=3D"line-height: =
1.22em;" class=3D"">Just because it is possible to push twigs along the gro=
und with ones nose<br style=3D"line-height: 1.22em;" class=3D"">does not ne=
cessarily mean that that is the best way to collect firewood.</p></div></di=
v></div></blockquote><br style=3D"line-height: 1.22em;" class=3D""><div sty=
le=3D"line-height: 1.22em; margin: 0px 0px 1em;" class=3D""><br class=3D"we=
bkit-block-placeholder"></div></div><div style=3D"line-height: 1.22em; colo=
r: rgb(255, 255, 255); height: 0px;" class=3D""></div></div></blockquote></=
div><br class=3D""></div></div>



<!-- |**|begin egp html banner|**| -->

<br>


<br>

<!-- |**|end egp html banner|**| -->


<div width=3D"1" style=3D"color: white; clear: both;"/>__._,_.___</div>

=20=20=20=20=20=20
=20=20

=20=20=20=20
    <div id=3D"fromDMARC" style=3D"clear:both; margin-top: 10px;">
         <hr style=3D"height:2px ; border-width:0; color:#E3E3E3; backgroun=
d-color:#E3E3E3;">
         Posted by: John Abraham &lt;[email protected]&gt;         <hr styl=
e=3D"height:2px ; border-width:0; color:#E3E3E3; background-color:#E3E3E3;"=
>
    </div>
<!-- Start Recommendations -->
<!-- End Recommendations -->



<!-- |**|begin egp html banner|**| -->

  <img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D7360226/grpspI=
d=3D1705006905/msgId=3D2100/stime=3D1415348067" width=3D"1" height=3D"1"> <=
br>

<!-- |**|end egp html banner|**| -->

=20=20=20=20
<!-- |**|begin egp html banner|**| -->

<br>



=20=20=20
=20=20=20=20=20
=20
        <!-- |**|begin egp html banner|**| -->
        <div id=3D"ygrp-vital" style=3D"background-color: #f2f2f2; font-fam=
ily: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;">

        <span id=3D"vithd" style=3D"font-weight: bold; color: #333; text-tr=
ansform: uppercase; "><a href=3D"https://groups.yahoo.com/neo/groups/Simple=
ORM/info;_ylc=3DX3oDMTJlczh0bDNmBF9TAzk3MzU5NzE0BGdycElkAzczNjAyMjYEZ3Jwc3B=
JZAMxNzA1MDA2OTA1BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTQxNTM0ODA2Nw--" style=3D=
"text-decoration: none;">Visit Your Group</a></span>

     <ul style=3D"list-style-type: none; margin: 0; padding: 0; display: in=
line;">
                                                    </ul>
  </div>


<div id=3D"ft" style=3D"font-family: Arial; font-size: 11px; margin-top: 5p=
x; padding: 0 2px 0 0; clear: both;">
  <a href=3D"https://groups.yahoo.com/neo;_ylc=3DX3oDMTJkbWgyNGFqBF9TAzk3ND=
c2NTkwBGdycElkAzczNjAyMjYEZ3Jwc3BJZAMxNzA1MDA2OTA1BHNlYwNmdHIEc2xrA2dmcARzd=
GltZQMxNDE1MzQ4MDY3" style=3D"float: left;"><img src=3D"http://l.yimg.com/r=
u/static/images/yg/img/email/new_logo/logo-groups-137x15.png" height=3D"15"=
 width=3D"137" alt=3D"Yahoo! Groups" style=3D"border: 0;"/></a>
  <div style=3D"color: #747575; float: right;"> &bull; <a href=3D"https://i=
nfo.yahoo.com/privacy/us/yahoo/groups/details.html" style=3D"text-decoratio=
n: none;">Privacy</a> &bull; <a href=3D"mailto:SimpleORM-unsubscribe@yahoog=
roups.com?subject=3DUnsubscribe" style=3D"text-decoration: none;">Unsubscri=
be</a> &bull; <a href=3D"https://info.yahoo.com/legal/us/yahoo/utos/terms/"=
 style=3D"text-decoration: none;">Terms of Use</a> </div>
</div>

<!-- |**|end egp html banner|**| -->

  </div> <!-- ygrp-msg -->

=20=20=20


  <br>

<!-- |**|end egp html banner|**| -->


<div style=3D"color: white; clear: both;"/>__,_._,___</div>
</body></html>
--Apple-Mail=_3CCC9744-FBCA-4F81-8107-52CC12F61422--