Search:

Type: Posts; User: mike512

Search: Search took 0.09 seconds.

  1. Replies
    0
    Views
    1,494

    Error on forgin key in sql

    Hi im working on a coupon based project in java,i have a class for coupons which on of its values is a category (which is an enum) and from my understanding sql server converts my enum.type to a...
  2. Replies
    6
    Views
    1,477

    Re: problem connecting sql server to java

    Error was solved via
    https://kb.sos-berlin.com/pages/viewpage.action?pageId=17499564

    Thanks for the help!
  3. Replies
    6
    Views
    1,477

    Re: problem connecting sql server to java

    I dont have a print statement the prints that

    i kinda forgot to add the extrenal build path..i just did that and i ge tthis messge

    The TCP/IP connection to the host localhost, port 1433 has...
  4. Replies
    6
    Views
    1,477

    Re: problem connecting sql server to java

    If its the one in the connection pool class ive edited,still no progress
  5. Replies
    6
    Views
    1,477

    problem connecting sql server to java

    Hi im learning java and after learning about java spring and spring boot i kinda forgot how to proporley connect java to sql on native java.
    Im working on an assigment where we were givin a...
  6. Re: Problems with replacing indexs in an array

    If this are my "random" numbers,my first outpring will show them as they are

    [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]

    and than i need to swap locations,...
  7. Re: Problems with replacing indexs in an array

    if i use 8 inside the second loop fo i
    [16, 6, 9, 8, 4, 5, 8, 16, 15, 14, 18, 6, 12, 18, 19, 13, 7, 19, 13, 1]
    [18, 6, 12, 18, 19, 13, 7, 19, 13, 1, 16, 15, 16, 6, 9, 8, 4, 5, 8, 14]
    it somewhat...
  8. Problems with replacing indexs in an array

    Hi guys,im learning java and i have an assigment which says
    "Make an array with 20 int and replace the first index with the 10th and so on,"
    Ive wrtiing the code,but it somewhat works only when i...
  9. Replies
    9
    Views
    832

    Re: Why is my code not working?

    Fixed...so...easy..yet i got confused
    Thanks for the help
  10. Replies
    9
    Views
    832

    Re: Why is my code not working?

    Agien,i understand why it dosent work,but the only fix i can think of is adding a if (num>max) {value=5}. which makes it the last value inputed.
    But its a workaround,it dose fix the problem but its...
  11. Replies
    9
    Views
    832

    Re: Why is my code not working?

    In contex to how im trying to debug...im pretty much changing stuff and hoping it works..
    After trying what you suggested ive changed it a bit and it somwhat works,but there is still a problem.
    If...
  12. Replies
    9
    Views
    832

    Re: Why is my code not working?

    Edited
  13. Replies
    9
    Views
    832

    Why is my code not working?

    Hi guys, im learning java and i have an assigment to to input 100 number and then show the highest number and when it was inputed (exe, 1,5,2 shows the number 5 and 2 (2 means second input) now ive...
Results 1 to 13 of 13