« first day (1104 days earlier)      last day (3830 days later) » 

4:23 AM
Hello java!
 
4:50 AM
@Appu Hi
 
5:11 AM
Hey, what's up
 
 
2 hours later…
6:52 AM
Hi
 
 
3 hours later…
10:21 AM
Hi everybody I need some help...
1
Q: grails one to many relationship: no entries created on database

FrancescoDSI have two domain classes in which one has a one to many relationship with the other Class A { ... @NotNull static hasMany = [bElements:B] } Class B { ... } When I run the application, the relation table A_B is created and entries in A_B table are automatically added when user cre...

 
 
4 hours later…
2:08 PM
Hey
 
3:07 PM
Good morning, Java
 
 
2 hours later…
5:16 PM
Hey Aaron
 
5:30 PM
hi
 
 
2 hours later…
7:55 PM
Zzzzzz
 
snork
 
8:27 PM
That's 'Snark'
 
Haha.
@Kylar, you good with Java?
 
Oh burn
@AaronBlenkush you good with Java?
 
Fairly
Faked it 'til I maked it
;-)
 
Could you help me solve this?... http://community.mybb.com/thread-147380.html

I don't understand how it could have 7,000+ views and not a single reply. Bot? Hm.
 
8:48 PM
I've done a little java from time to time
@MatthewH What's your question? don't just drop a link to a random place
Did you already try SO?
 
Can't ask anything on SO, and don't want to create another account. Hence the reason I ask here. And besides. SO is for helping fix an issue or solve a problem, if I even asked that if I could I would get -repped for it.

And what do you mean? It's a long question. I'll copy and paste it if you wish
 
Simplify it to 3 lines
Otherwise you're asking multiple questions
And why can't you ask anything on SO?
 
@Kylar Couple bad questions and it got disabled. Though I really tried to get better and one question that did exactly what I said that got -repped to much
@Kylar And it is how to do two things with MyBB DB connection, I just explained it more in-depth
 
If you have a MyBB question, why are you asking in the java chatroom? MyBB is a PHP/SQL app
 
Did you not read the question @Kylar ?
I'm creating an application with Java, I need it to verify the user is a member on the forum. They input the username and password. It logs in. Also pulls the user level (Member, moderator, admin, etc.) and displays a label accordingly.
 
8:58 PM
No, I didn't read the question. Are you trying to attach to the DB with the Java App?
 
@Kylar I'll just copy and paste it over. Hold on.
I'm creating an application that you can log into my forum with. If it succeeds, you get moved to another window. If it doesn't, an error message appears.
I was thinking about something like stated in
http://community.mybb.com/thread-122650.html

But. I'm trying to not connect to a database and I'm not even sure how I would do it in that case.
I was thinking something along the lines of what KillerKlient said in that thread, but again. I'm not sure how I would do it.
Any ideas?

Let me also ask this while I'm here. Is there also a way to read a member's level in Java? Like so in a label I c
Then what KillerKlient said...
"One thing you can do is let all MyBB do all the work for you, simply POST "username" and "password" data to yourforumdomain.com/member.ph...n=do_login and you can search the result source code for "Welcome Back, YourUsername" and if it finds it it means the login was successful, if it doesn't then it will most likely display "welcomeblock guest"."
 
So what are you asking? How to connect to the DB? How to do an HTTP POST in Java?
 
I'm thinking it would be best to connect to the DB for what I am doing, what do you think?
 
I don't have the slightest clue. I don't even think you know what you want to do.
 
I have the idea what I want to do in mind; I'm looking into it. I've found a way, I believe, to connect to the database. I just to figure out how to get the username and such tables.
Just curious, I might try it out first, do you know how I would do the the HTTP POST?
 
9:05 PM
Do you know how the app is structured? Do you know the username/password for the DB and the DB structured? Do you have the HTTP/Restful API for the web app?
 
Well, considering the fact I own the database and am actually in it right now. I think I have the username and password to the database
 
So then create a JDBC connection to the DB and issue your queries against it.
 
That's what I was actually looking into now haha
 

« first day (1104 days earlier)      last day (3830 days later) »