Holy shit - Eclipse is absolute dog shit when it comes to this. All the default SQL Server stuff is "broken" as you say and I fully agree. Was setting up and it wasn't giving me any properties window, no error messages, nothing to help me figure out why it wasn't working AT ALL. Wasted so many hours trying to figure this out. Using "Other Driver" and your settings was the saving grace. They should link your video from that window no joke. Your video freggin saved me so much, thank you!!!
@CodeJava3 жыл бұрын
Glad it helped :)
@RohitThirukarthick Жыл бұрын
The TCP/IP connection to the host SV5503DB1021 qlexpress, port 1433 has failed. Error: "null. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".
@mirrajeac82153 жыл бұрын
What should I do if my schemas aren t showing when I expand ‘Schemas’ folder from my database project
@CodeJava3 жыл бұрын
do you have any database schemas created before?
@changtraitre92272 жыл бұрын
hi anh em đã tạo được nhưng tới đoạn edit table(14:27) nó báo lỗi Cannot read the array length because "editors" is null # các table của em đều đã có dữ liệu rồi ạ mong anh phản hồi sớm
@CodeJava2 жыл бұрын
Hmm, I don't know why :(
@noddychoi3 жыл бұрын
Thanks ! You saved my life!!!
@CodeJava3 жыл бұрын
Glad it helped!
@MrHungdangtuan Жыл бұрын
I had a problem during setup: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "No appropriate protocol (protocol is disabled or cipher suites are inappropriate)". I'm using sqljdbc_12.4.1lib How can I fix it?
@CodeJava Жыл бұрын
If I remember correctly, you need to configure SQL server to allow listening on TCP/IP protocol.
@rameshkannan69862 жыл бұрын
I couldn't able to edit the url connection in Properties. I am literally connecting MSSQL server with IP adddess. But i was need to add Encrpt: true,Trustcertificates:true; but it was neglacting
@CodeJava2 жыл бұрын
Hmm, sorry to hear that. It is still able to connect, isn't it?
@rameshkannan69862 жыл бұрын
Not it is not able to connect because we need to add Encrpt:true
@AyushSingh-nk6pv3 жыл бұрын
I wanted to use a centralize server. is this how we do it? Help me with that...
@CodeJava3 жыл бұрын
yes, that is described in this video.
@AyushSingh-nk6pv3 жыл бұрын
@@CodeJava in url do we have to write the same thing that u have written. Cuz I m getting an error that says the connection to host sqlserver, named instance sqlexpress failed. No such host is known...help me with this.
@minhnguyenquang17243 жыл бұрын
1/I had an error when I try to edit data from a table. The error message says: "Cannot edit table. An unknown or unsupported data type encountered for column " . That column name "Hoten" and it's data type is nvarchar(50). So pls help me .. 2/When I try to add new connection URL. It's only work when I use URL "jdbc:sqlserver://localhost;databaseName=JavaWebDemo". So why it's must be "localhost" instead of /[serverName[\instanceName][:portNumber]] I'm learning Java Web for my school Java Project and I'm VietNamese too but I want to practice English so I wrote this comment:))
@jmrodriguez2502 жыл бұрын
Thank you very much, you are awesome!!!
@CodeJava2 жыл бұрын
Glad it helped!
@khangnguyenhuy1202 Жыл бұрын
i couldn't find mssql in enu
@amankhairwar80722 жыл бұрын
When i did the test connection it is showing ping failed
@CodeJava2 жыл бұрын
make sure SQL server is running
@sadwhatsappstatus99242 жыл бұрын
What if we are using windows authentication not remote server??
@CodeJava2 жыл бұрын
then you should use the JDBC URL like this: jdbc:sqlserver://localhost;integratedSecurity=true; Reference: www.codejava.net/java-se/jdbc/connect-to-microsoft-sql-server-via-jdbc
@priyanthafernando28492 жыл бұрын
@@CodeJava Tried this. But error says 'Enter a user name.' Please help
@CodeJava2 жыл бұрын
@@priyanthafernando2849 you need to know username and password of the database.
@priyanthafernando28492 жыл бұрын
@@CodeJava but im using windows authentication. It does not have username and password ☹️?
@CodeJava2 жыл бұрын
@@priyanthafernando2849 Windows Auth doesn't require credentials as it uses the current Windows user.
@ashwinvp21633 жыл бұрын
Can you make a video series for React or Angular?
@CodeJava3 жыл бұрын
I will do in future. Currently I'm busy completing my course on Udemy: www.udemy.com/course/spring-boot-e-commerce-ultimate/?couponCode=PERFECT
@shegyoo2 жыл бұрын
how do i find the url to my sql server
@CodeJava2 жыл бұрын
check this answer: stackoverflow.com/questions/16088151/how-to-find-server-name-of-sql-server-management-studio
@sabahalhasan40953 жыл бұрын
thank you so much , this video really help me ... when I tried to edit the data this message appear "Cannot edit table. An unknown or unsupported data type encountered for column Template."
@CodeJava3 жыл бұрын
that means Eclipse unable to edit the data due to unrecognized data type. In this case, you need to use SQL Management Studio directly.
@sabahalhasan40953 жыл бұрын
@@CodeJava you mean to create the table in eclipse directly ?
@tartanclips26353 жыл бұрын
Thank you so much for this. I was struggling to connect for a JPA project and my problem was that the Spring Boot connection string has \\sqlexpress where from the IDE it is a single \sqlexpress SAVED my bacon. Thanks again
@CodeJava3 жыл бұрын
Glad it helped!
@isaias89083 жыл бұрын
thanks a lot friend!!!
@CodeJava3 жыл бұрын
You're welcome!
@daotuyentravel3 жыл бұрын
Anh người việt bảo sao em nghe rõ tiếng anh thế. anh có kênh tiếng việt không ạ.
@CodeJava3 жыл бұрын
không em ạ. chỉ có kênh English này thôi.
@nguynthhng12 жыл бұрын
@@CodeJava lần đầu nghe cũng đoán ra anh người Việt, accent không thể lẫn đi đâu được :))
@swathisivakumar63942 жыл бұрын
What is the password where can i find?
@CodeJava2 жыл бұрын
it's the password you set when you install SQL Server (localhost). If it is a remove server, you need to ask your database admin.
@Stranger-nu1jc3 жыл бұрын
What did you smoke
@CodeJava3 жыл бұрын
why do you ask that?
@d-daymkk67952 жыл бұрын
em bị lỗi này ạ com.microsoft.sqlserver.jdbc.sqlserverexception: the driver could not establish a secure connection to sql server by using secure sockets layer (ssl) encryption
@CodeJava2 жыл бұрын
maybe the JDBC driver version is outdated. Check and use the latest one.
@tanloclai5111 Жыл бұрын
@@CodeJava i already use jdbc river 12.(the latest one) but still mess the same error like him. but when i add trustServerCertificate= true; in URL the error disappear, it not last long until reconnect. any helpful suggestion?