I use mybatis in java API, it daily stop automatically, after restart works properly










-1















I use java API with mybatis for insert multiple data at a time in DB. It works
properly but service daily stop automatically on web logic
server.










share|improve this question
























  • So what is your problem?

    – Maurice Perry
    Nov 13 '18 at 6:18











  • My problem is that java web service not working next day without restart. So it is mybatis issue or another ???

    – TI INFOTECH
    Nov 13 '18 at 6:25












  • service not working is not very descriptive and does not help to understand the problem. What exactly does not work?

    – Roman Konoval
    Nov 13 '18 at 8:48











  • there are multiple methods in the package i/e GET,INSERT AND UPDATE....at a particular time interval when servers are under maintenance the insert and update methods stops working after this schedule although the get methods still works,Once i restart the service on server insert and update mehtods starts working back to normal.I dont if there are some stuck threads or something in the code that requires restart of the service every 24 hours

    – TI INFOTECH
    Nov 14 '18 at 8:26












  • this is probably not problem with mybatis but with your server setup (or whatever you use). You need to provide more information about the whole setup, so I suggest you to edit your question and include details.

    – vanomart
    Nov 14 '18 at 17:50















-1















I use java API with mybatis for insert multiple data at a time in DB. It works
properly but service daily stop automatically on web logic
server.










share|improve this question
























  • So what is your problem?

    – Maurice Perry
    Nov 13 '18 at 6:18











  • My problem is that java web service not working next day without restart. So it is mybatis issue or another ???

    – TI INFOTECH
    Nov 13 '18 at 6:25












  • service not working is not very descriptive and does not help to understand the problem. What exactly does not work?

    – Roman Konoval
    Nov 13 '18 at 8:48











  • there are multiple methods in the package i/e GET,INSERT AND UPDATE....at a particular time interval when servers are under maintenance the insert and update methods stops working after this schedule although the get methods still works,Once i restart the service on server insert and update mehtods starts working back to normal.I dont if there are some stuck threads or something in the code that requires restart of the service every 24 hours

    – TI INFOTECH
    Nov 14 '18 at 8:26












  • this is probably not problem with mybatis but with your server setup (or whatever you use). You need to provide more information about the whole setup, so I suggest you to edit your question and include details.

    – vanomart
    Nov 14 '18 at 17:50













-1












-1








-1








I use java API with mybatis for insert multiple data at a time in DB. It works
properly but service daily stop automatically on web logic
server.










share|improve this question
















I use java API with mybatis for insert multiple data at a time in DB. It works
properly but service daily stop automatically on web logic
server.







java mybatis






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 6:19









Maurice Perry

4,8152415




4,8152415










asked Nov 13 '18 at 6:15









TI INFOTECHTI INFOTECH

11




11












  • So what is your problem?

    – Maurice Perry
    Nov 13 '18 at 6:18











  • My problem is that java web service not working next day without restart. So it is mybatis issue or another ???

    – TI INFOTECH
    Nov 13 '18 at 6:25












  • service not working is not very descriptive and does not help to understand the problem. What exactly does not work?

    – Roman Konoval
    Nov 13 '18 at 8:48











  • there are multiple methods in the package i/e GET,INSERT AND UPDATE....at a particular time interval when servers are under maintenance the insert and update methods stops working after this schedule although the get methods still works,Once i restart the service on server insert and update mehtods starts working back to normal.I dont if there are some stuck threads or something in the code that requires restart of the service every 24 hours

    – TI INFOTECH
    Nov 14 '18 at 8:26












  • this is probably not problem with mybatis but with your server setup (or whatever you use). You need to provide more information about the whole setup, so I suggest you to edit your question and include details.

    – vanomart
    Nov 14 '18 at 17:50

















  • So what is your problem?

    – Maurice Perry
    Nov 13 '18 at 6:18











  • My problem is that java web service not working next day without restart. So it is mybatis issue or another ???

    – TI INFOTECH
    Nov 13 '18 at 6:25












  • service not working is not very descriptive and does not help to understand the problem. What exactly does not work?

    – Roman Konoval
    Nov 13 '18 at 8:48











  • there are multiple methods in the package i/e GET,INSERT AND UPDATE....at a particular time interval when servers are under maintenance the insert and update methods stops working after this schedule although the get methods still works,Once i restart the service on server insert and update mehtods starts working back to normal.I dont if there are some stuck threads or something in the code that requires restart of the service every 24 hours

    – TI INFOTECH
    Nov 14 '18 at 8:26












  • this is probably not problem with mybatis but with your server setup (or whatever you use). You need to provide more information about the whole setup, so I suggest you to edit your question and include details.

    – vanomart
    Nov 14 '18 at 17:50
















So what is your problem?

– Maurice Perry
Nov 13 '18 at 6:18





So what is your problem?

– Maurice Perry
Nov 13 '18 at 6:18













My problem is that java web service not working next day without restart. So it is mybatis issue or another ???

– TI INFOTECH
Nov 13 '18 at 6:25






My problem is that java web service not working next day without restart. So it is mybatis issue or another ???

– TI INFOTECH
Nov 13 '18 at 6:25














service not working is not very descriptive and does not help to understand the problem. What exactly does not work?

– Roman Konoval
Nov 13 '18 at 8:48





service not working is not very descriptive and does not help to understand the problem. What exactly does not work?

– Roman Konoval
Nov 13 '18 at 8:48













there are multiple methods in the package i/e GET,INSERT AND UPDATE....at a particular time interval when servers are under maintenance the insert and update methods stops working after this schedule although the get methods still works,Once i restart the service on server insert and update mehtods starts working back to normal.I dont if there are some stuck threads or something in the code that requires restart of the service every 24 hours

– TI INFOTECH
Nov 14 '18 at 8:26






there are multiple methods in the package i/e GET,INSERT AND UPDATE....at a particular time interval when servers are under maintenance the insert and update methods stops working after this schedule although the get methods still works,Once i restart the service on server insert and update mehtods starts working back to normal.I dont if there are some stuck threads or something in the code that requires restart of the service every 24 hours

– TI INFOTECH
Nov 14 '18 at 8:26














this is probably not problem with mybatis but with your server setup (or whatever you use). You need to provide more information about the whole setup, so I suggest you to edit your question and include details.

– vanomart
Nov 14 '18 at 17:50





this is probably not problem with mybatis but with your server setup (or whatever you use). You need to provide more information about the whole setup, so I suggest you to edit your question and include details.

– vanomart
Nov 14 '18 at 17:50












1 Answer
1






active

oldest

votes


















0














My service code files are as follows -



(1) Action Method class -



public void insertListDetails()


ObjectMapper jsonObjMapper = new ObjectMapper();

jsonObjMapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);




SqlSession sqlSession = null;

String responseStr = null;

List<String> list_desc = new ArrayList<String>();
List<String> list_status = new ArrayList<String>();
List<String> list_remark = new ArrayList<String>();

list_desc.add(description);
list_status.add(status);
list_remark.add(remark);


String descSeprated = "";
String statusSeprated = "";
String remarkSeprated = "";

response.setContentType("application/json");


try



ServerResponse<String> serverResponse = new ServerResponse<String>();
boolean isError = false;



if (!isError)

try
sqlSession = MyBatisUtil.getSqlSessionFactory().openSession();


InsertListMappers apiMapper =
sqlSession.getMapper(InsertListMappers.class);

InsertList apiDetail = new InsertList();


for (String string_1 : list_desc)
if (descSeprated.equals(""))
descSeprated = string_1;
else
descSeprated = descSeprated + "#" + string_1;

for (String string_2 : list_status)
if (statusSeprated.equals(""))
statusSeprated = string_2;
else
statusSeprated = statusSeprated + "#" + string_2;

for (String string_3 : list_remark)
if (remarkSeprated.equals(""))
remarkSeprated = string_3;
else
remarkSeprated = remarkSeprated + "#" + string_3;




String data_desc = descSeprated.split("#");
String data_status = statusSeprated.split("#");
String data_remark = remarkSeprated.split("#");



for (int i=0; i<data_desc.length ; i++)



apiDetail.setDocEntry(docEntry);
apiDetail.setDescription(data_desc[i]);
apiDetail.setStatus(data_status[i]);
apiDetail.setRemark(data_remark[i]);


apiMapper.insertListDetails(apiDetail);
sqlSession.commit();








catch (Exception e1)
e1.printStackTrace();



serverResponse.setStatus(ServerResponse.STATUS.OK);
serverResponse.setData("Record inserted sucessfully");






responseStr = jsonObjMapper.writeValueAsString(serverResponse);
response.getWriter().write(responseStr);

catch (Exception e)

e.printStackTrace();

finally
if (sqlSession != null)
sqlSession.close();





(2) This is xml file for database query -



<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE mapper PUBLIC '-//mybatis.org//DTD Mapper 3.0//EN'
'http://mybatis.org/dtd/mybatis-3-mapper.dtd'>

<mapper namespace='com.ti.mappers.InsertListMappers'>
<resultMap type='InsertList' id='InsertListResult'>

<result property='docEntry' column='DOCENTRY' />
<result property='description' column='U_DESC' />
<result property='status' column='U_STATUS' />
<result property='remark' column='U_REASON' />
<result property='lineId' column='LINEID' />

</resultMap>

<insert id='insertListDetails' parameterType='InsertList'>

INSERT INTO
HKCHKREC_L(DOCENTRY, U_DESC, U_STATUS, U_REASON, LINEID)
VALUES(#docEntry,#description,#status,#remark,#lineId)
</insert>

</mapper>





share|improve this answer























  • This method not working after server restart.

    – TI INFOTECH
    Nov 26 '18 at 6:05










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53274888%2fi-use-mybatis-in-java-api-it-daily-stop-automatically-after-restart-works-prop%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














My service code files are as follows -



(1) Action Method class -



public void insertListDetails()


ObjectMapper jsonObjMapper = new ObjectMapper();

jsonObjMapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);




SqlSession sqlSession = null;

String responseStr = null;

List<String> list_desc = new ArrayList<String>();
List<String> list_status = new ArrayList<String>();
List<String> list_remark = new ArrayList<String>();

list_desc.add(description);
list_status.add(status);
list_remark.add(remark);


String descSeprated = "";
String statusSeprated = "";
String remarkSeprated = "";

response.setContentType("application/json");


try



ServerResponse<String> serverResponse = new ServerResponse<String>();
boolean isError = false;



if (!isError)

try
sqlSession = MyBatisUtil.getSqlSessionFactory().openSession();


InsertListMappers apiMapper =
sqlSession.getMapper(InsertListMappers.class);

InsertList apiDetail = new InsertList();


for (String string_1 : list_desc)
if (descSeprated.equals(""))
descSeprated = string_1;
else
descSeprated = descSeprated + "#" + string_1;

for (String string_2 : list_status)
if (statusSeprated.equals(""))
statusSeprated = string_2;
else
statusSeprated = statusSeprated + "#" + string_2;

for (String string_3 : list_remark)
if (remarkSeprated.equals(""))
remarkSeprated = string_3;
else
remarkSeprated = remarkSeprated + "#" + string_3;




String data_desc = descSeprated.split("#");
String data_status = statusSeprated.split("#");
String data_remark = remarkSeprated.split("#");



for (int i=0; i<data_desc.length ; i++)



apiDetail.setDocEntry(docEntry);
apiDetail.setDescription(data_desc[i]);
apiDetail.setStatus(data_status[i]);
apiDetail.setRemark(data_remark[i]);


apiMapper.insertListDetails(apiDetail);
sqlSession.commit();








catch (Exception e1)
e1.printStackTrace();



serverResponse.setStatus(ServerResponse.STATUS.OK);
serverResponse.setData("Record inserted sucessfully");






responseStr = jsonObjMapper.writeValueAsString(serverResponse);
response.getWriter().write(responseStr);

catch (Exception e)

e.printStackTrace();

finally
if (sqlSession != null)
sqlSession.close();





(2) This is xml file for database query -



<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE mapper PUBLIC '-//mybatis.org//DTD Mapper 3.0//EN'
'http://mybatis.org/dtd/mybatis-3-mapper.dtd'>

<mapper namespace='com.ti.mappers.InsertListMappers'>
<resultMap type='InsertList' id='InsertListResult'>

<result property='docEntry' column='DOCENTRY' />
<result property='description' column='U_DESC' />
<result property='status' column='U_STATUS' />
<result property='remark' column='U_REASON' />
<result property='lineId' column='LINEID' />

</resultMap>

<insert id='insertListDetails' parameterType='InsertList'>

INSERT INTO
HKCHKREC_L(DOCENTRY, U_DESC, U_STATUS, U_REASON, LINEID)
VALUES(#docEntry,#description,#status,#remark,#lineId)
</insert>

</mapper>





share|improve this answer























  • This method not working after server restart.

    – TI INFOTECH
    Nov 26 '18 at 6:05















0














My service code files are as follows -



(1) Action Method class -



public void insertListDetails()


ObjectMapper jsonObjMapper = new ObjectMapper();

jsonObjMapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);




SqlSession sqlSession = null;

String responseStr = null;

List<String> list_desc = new ArrayList<String>();
List<String> list_status = new ArrayList<String>();
List<String> list_remark = new ArrayList<String>();

list_desc.add(description);
list_status.add(status);
list_remark.add(remark);


String descSeprated = "";
String statusSeprated = "";
String remarkSeprated = "";

response.setContentType("application/json");


try



ServerResponse<String> serverResponse = new ServerResponse<String>();
boolean isError = false;



if (!isError)

try
sqlSession = MyBatisUtil.getSqlSessionFactory().openSession();


InsertListMappers apiMapper =
sqlSession.getMapper(InsertListMappers.class);

InsertList apiDetail = new InsertList();


for (String string_1 : list_desc)
if (descSeprated.equals(""))
descSeprated = string_1;
else
descSeprated = descSeprated + "#" + string_1;

for (String string_2 : list_status)
if (statusSeprated.equals(""))
statusSeprated = string_2;
else
statusSeprated = statusSeprated + "#" + string_2;

for (String string_3 : list_remark)
if (remarkSeprated.equals(""))
remarkSeprated = string_3;
else
remarkSeprated = remarkSeprated + "#" + string_3;




String data_desc = descSeprated.split("#");
String data_status = statusSeprated.split("#");
String data_remark = remarkSeprated.split("#");



for (int i=0; i<data_desc.length ; i++)



apiDetail.setDocEntry(docEntry);
apiDetail.setDescription(data_desc[i]);
apiDetail.setStatus(data_status[i]);
apiDetail.setRemark(data_remark[i]);


apiMapper.insertListDetails(apiDetail);
sqlSession.commit();








catch (Exception e1)
e1.printStackTrace();



serverResponse.setStatus(ServerResponse.STATUS.OK);
serverResponse.setData("Record inserted sucessfully");






responseStr = jsonObjMapper.writeValueAsString(serverResponse);
response.getWriter().write(responseStr);

catch (Exception e)

e.printStackTrace();

finally
if (sqlSession != null)
sqlSession.close();





(2) This is xml file for database query -



<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE mapper PUBLIC '-//mybatis.org//DTD Mapper 3.0//EN'
'http://mybatis.org/dtd/mybatis-3-mapper.dtd'>

<mapper namespace='com.ti.mappers.InsertListMappers'>
<resultMap type='InsertList' id='InsertListResult'>

<result property='docEntry' column='DOCENTRY' />
<result property='description' column='U_DESC' />
<result property='status' column='U_STATUS' />
<result property='remark' column='U_REASON' />
<result property='lineId' column='LINEID' />

</resultMap>

<insert id='insertListDetails' parameterType='InsertList'>

INSERT INTO
HKCHKREC_L(DOCENTRY, U_DESC, U_STATUS, U_REASON, LINEID)
VALUES(#docEntry,#description,#status,#remark,#lineId)
</insert>

</mapper>





share|improve this answer























  • This method not working after server restart.

    – TI INFOTECH
    Nov 26 '18 at 6:05













0












0








0







My service code files are as follows -



(1) Action Method class -



public void insertListDetails()


ObjectMapper jsonObjMapper = new ObjectMapper();

jsonObjMapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);




SqlSession sqlSession = null;

String responseStr = null;

List<String> list_desc = new ArrayList<String>();
List<String> list_status = new ArrayList<String>();
List<String> list_remark = new ArrayList<String>();

list_desc.add(description);
list_status.add(status);
list_remark.add(remark);


String descSeprated = "";
String statusSeprated = "";
String remarkSeprated = "";

response.setContentType("application/json");


try



ServerResponse<String> serverResponse = new ServerResponse<String>();
boolean isError = false;



if (!isError)

try
sqlSession = MyBatisUtil.getSqlSessionFactory().openSession();


InsertListMappers apiMapper =
sqlSession.getMapper(InsertListMappers.class);

InsertList apiDetail = new InsertList();


for (String string_1 : list_desc)
if (descSeprated.equals(""))
descSeprated = string_1;
else
descSeprated = descSeprated + "#" + string_1;

for (String string_2 : list_status)
if (statusSeprated.equals(""))
statusSeprated = string_2;
else
statusSeprated = statusSeprated + "#" + string_2;

for (String string_3 : list_remark)
if (remarkSeprated.equals(""))
remarkSeprated = string_3;
else
remarkSeprated = remarkSeprated + "#" + string_3;




String data_desc = descSeprated.split("#");
String data_status = statusSeprated.split("#");
String data_remark = remarkSeprated.split("#");



for (int i=0; i<data_desc.length ; i++)



apiDetail.setDocEntry(docEntry);
apiDetail.setDescription(data_desc[i]);
apiDetail.setStatus(data_status[i]);
apiDetail.setRemark(data_remark[i]);


apiMapper.insertListDetails(apiDetail);
sqlSession.commit();








catch (Exception e1)
e1.printStackTrace();



serverResponse.setStatus(ServerResponse.STATUS.OK);
serverResponse.setData("Record inserted sucessfully");






responseStr = jsonObjMapper.writeValueAsString(serverResponse);
response.getWriter().write(responseStr);

catch (Exception e)

e.printStackTrace();

finally
if (sqlSession != null)
sqlSession.close();





(2) This is xml file for database query -



<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE mapper PUBLIC '-//mybatis.org//DTD Mapper 3.0//EN'
'http://mybatis.org/dtd/mybatis-3-mapper.dtd'>

<mapper namespace='com.ti.mappers.InsertListMappers'>
<resultMap type='InsertList' id='InsertListResult'>

<result property='docEntry' column='DOCENTRY' />
<result property='description' column='U_DESC' />
<result property='status' column='U_STATUS' />
<result property='remark' column='U_REASON' />
<result property='lineId' column='LINEID' />

</resultMap>

<insert id='insertListDetails' parameterType='InsertList'>

INSERT INTO
HKCHKREC_L(DOCENTRY, U_DESC, U_STATUS, U_REASON, LINEID)
VALUES(#docEntry,#description,#status,#remark,#lineId)
</insert>

</mapper>





share|improve this answer













My service code files are as follows -



(1) Action Method class -



public void insertListDetails()


ObjectMapper jsonObjMapper = new ObjectMapper();

jsonObjMapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);




SqlSession sqlSession = null;

String responseStr = null;

List<String> list_desc = new ArrayList<String>();
List<String> list_status = new ArrayList<String>();
List<String> list_remark = new ArrayList<String>();

list_desc.add(description);
list_status.add(status);
list_remark.add(remark);


String descSeprated = "";
String statusSeprated = "";
String remarkSeprated = "";

response.setContentType("application/json");


try



ServerResponse<String> serverResponse = new ServerResponse<String>();
boolean isError = false;



if (!isError)

try
sqlSession = MyBatisUtil.getSqlSessionFactory().openSession();


InsertListMappers apiMapper =
sqlSession.getMapper(InsertListMappers.class);

InsertList apiDetail = new InsertList();


for (String string_1 : list_desc)
if (descSeprated.equals(""))
descSeprated = string_1;
else
descSeprated = descSeprated + "#" + string_1;

for (String string_2 : list_status)
if (statusSeprated.equals(""))
statusSeprated = string_2;
else
statusSeprated = statusSeprated + "#" + string_2;

for (String string_3 : list_remark)
if (remarkSeprated.equals(""))
remarkSeprated = string_3;
else
remarkSeprated = remarkSeprated + "#" + string_3;




String data_desc = descSeprated.split("#");
String data_status = statusSeprated.split("#");
String data_remark = remarkSeprated.split("#");



for (int i=0; i<data_desc.length ; i++)



apiDetail.setDocEntry(docEntry);
apiDetail.setDescription(data_desc[i]);
apiDetail.setStatus(data_status[i]);
apiDetail.setRemark(data_remark[i]);


apiMapper.insertListDetails(apiDetail);
sqlSession.commit();








catch (Exception e1)
e1.printStackTrace();



serverResponse.setStatus(ServerResponse.STATUS.OK);
serverResponse.setData("Record inserted sucessfully");






responseStr = jsonObjMapper.writeValueAsString(serverResponse);
response.getWriter().write(responseStr);

catch (Exception e)

e.printStackTrace();

finally
if (sqlSession != null)
sqlSession.close();





(2) This is xml file for database query -



<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE mapper PUBLIC '-//mybatis.org//DTD Mapper 3.0//EN'
'http://mybatis.org/dtd/mybatis-3-mapper.dtd'>

<mapper namespace='com.ti.mappers.InsertListMappers'>
<resultMap type='InsertList' id='InsertListResult'>

<result property='docEntry' column='DOCENTRY' />
<result property='description' column='U_DESC' />
<result property='status' column='U_STATUS' />
<result property='remark' column='U_REASON' />
<result property='lineId' column='LINEID' />

</resultMap>

<insert id='insertListDetails' parameterType='InsertList'>

INSERT INTO
HKCHKREC_L(DOCENTRY, U_DESC, U_STATUS, U_REASON, LINEID)
VALUES(#docEntry,#description,#status,#remark,#lineId)
</insert>

</mapper>






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 26 '18 at 6:03









TI INFOTECHTI INFOTECH

11




11












  • This method not working after server restart.

    – TI INFOTECH
    Nov 26 '18 at 6:05

















  • This method not working after server restart.

    – TI INFOTECH
    Nov 26 '18 at 6:05
















This method not working after server restart.

– TI INFOTECH
Nov 26 '18 at 6:05





This method not working after server restart.

– TI INFOTECH
Nov 26 '18 at 6:05

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53274888%2fi-use-mybatis-in-java-api-it-daily-stop-automatically-after-restart-works-prop%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3

Museum of Modern and Contemporary Art of Trento and Rovereto