zak-hassan / WhoTeachsWhat

JBoss JSP Application for Data Management
0 stars 0 forks source link

Can you update init.sql file in the /src/resource folder #172

Open zak-hassan opened 10 years ago

zak-hassan commented 10 years ago

Hi Anil,

After looking over how to run a batch insert on start up i came across a way to do it. I hocked it all up and now all we need to do is add the following inserts to this file:

ghost commented 10 years ago

So basically, just copy the INSERT statements to init.sql?

zak-hassan commented 10 years ago

Okay great. Can you confirm that it works 100%. If it is please close this issue.

ghost commented 10 years ago

How can I do that exactly?

ghost commented 10 years ago

Could you explain? Am I supposed to put both the CREATE and INSERT statements into init.sql? Furthermore, how can I run it? Is there a reason you can't do this?

ghost commented 10 years ago

Zak, we don't have much time. Communication cannot break down. I need to know what to do here otherwise I can't do it. Time is running out.

zak-hassan commented 10 years ago

OKay. I'm gonna work on this feature like crazy to get it working. Can you give me the url that you used to get the sample dummy data.

ghost commented 10 years ago

Uh sure. It's.. api/facultyswiftreport

http://localhost:8080/WhoteachswhatJPA/facultyswiftreport

You can also just look at the swiftreportAJAX.js file inside view_requestAJAX folder. In fact, you probably have to.

Also, please do remember to answer the questions I have posted as seen in #173. They are critical.