1. First use f@?#!€% code block
2. Take a look a this:
56347d1b:java tools$ java test
I base: 2
2 Base: 0
i===0
i: 222
56347d1b:java tools$
Type: Posts; User: tools
1. First use f@?#!€% code block
2. Take a look a this:
56347d1b:java tools$ java test
I base: 2
2 Base: 0
i===0
i: 222
56347d1b:java tools$
If you importer a class you allow to use methods, or create objects based on those classes in a package or specified class.
Extends tells is extending a class and say hey I am bit like you.
But...
1. sorry for spamming the forum with question lately, but this is kinda of important.
I have create a user and have used hashing and saltning to encrypt the password, but my authentication fails,...
mapping is all so in the cof file, funny thing -> If I delete the database and create it again the code works for a couple of times then same error
My Hibernate file:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
...
That dependes, some databases don't allow it, others do but 50 fields sound like at lot to me.
Personally I would make a ObjectExtra table then
You have an illegal whitespace and you can't just convert at string to double like you try to
Okay now I am going with Hibernate and get this error:
Hibernate: drop table if exists Book
Hibernate: create table Book (id integer not null auto_increment, createdDate datetime, isbn...
1. Fair and square
2. I have always been told it both by Lectures, my employers and the dude from Oracle who taugth my class once :)
Hey I am writing an JSP based web application for maintaing and keep inventory of 2000+ books.
The data will be store persistent in a MySQL or PostgreSQL DB (have not decide yet), and I am use to...
First of all System.currentTimeMillis() is based on your chip time, which is NOT the time your clock is.
Second of all I can pin point it but something in the calculations seems wrong to me.
Third...
1. Do you have a project, you want to make with java?
2. See 1, if yes then 3.
3. The Oracle resource newbie links to is pretty decente
4. When you get a hold of the basic in java (class and...
@copeg and aussiemcgr thank you I will use that :)
I have to first times System and web developer:
System developer:
1. Very nice, People helped me a lot because I was entry level and 17 (yep still in highschool)
2. Did not, I was not ready at...
It also depend on the country in which you search for a job.
For instance in Denmark if you have two degrees people think what a wast of time or dude didn't he know what he wanted.
Well my users like all their notes a soon as the application start, but they are represent in a JTree by name. Could a solution instead be like this:
Under startup: Load note name (not unique) and...
@jps Thank you hand't seen that :)
A hello from scandinavia.
I am dude with around accumulated 7 years of programming in:
Java
C / C++ / C# / Obj-C
Ruby
Haskell
Assembly AT&T and INTEL
Lisp
ColdFusion 9
I have worked for a...
Okay Splashscreen it is
@jps - could an idea be to make struct like objec of a note containing name and db id perhaps ?
I form Denmark where C# and Java programmers are neck and neck, but a bit below C programmers and an entry level java programmer should accept a anual salary of 420000DKK so approx 76001USD a year...
Object oriented design and Patterns by Cay Horstman - A great way to learn the different patterns
You never ever call the writeToFile method
You can find the answer to the question here: java - How do I enter parameters for an ArrayList in BlueJ? - Stack Overflow
For some reason I can't edit prior post, you never initialise number 2 either so all things you do with it will never work
--- Update ---
What is wrong with the edit function?
Anyways:
...