Originally posted by Cameron McKenzie:
I'm just doing some hibernate, and was wondering what the naming conventions for data access objects were? Are getter methods perferred because we are essentially using a POJO paradigm?
When getting a record for a User object by primary key, what's the way to name that? With EJBs, it would be findByPrimaryKey(int key) or something? What would we use in a Hibernate app? get(int key)? getByPrimaryKey(int key)?
What about a full table request? EJBs would have a method called findAll(). What is it with Hibernate? I've seen a method called List used, but I don't like the fact that a method named list conflicts with the Hibernate Session's list() method. Do we call the method getAll()?
So, what are the conventions for:
Create Methods? ***Just call them create(argument list)?***
Delete Methods? ***Just call them delete?***
Update Methods? ***Just call them update?***
Finder/Getter Methods? ***retrive? get? find?***
Originally posted by David O'Meara:
It depends what is in between your local computer and this IP address.
Same at work, I can set up my local machine as a server, but it can only be accessed from wiothin the office unless the admin exposes it to the outside world. Again he would do this by routing requests for some external IP/port to my machine.
Originally posted by Mapraputa Is:
According to Associated Press' Seth Borenstein in the next 50-100 years San Francisco will lose Fisherman's Wharf and Embarcadero (the rest of the city will be destroyed by the Big One, an earthquake which is predicted to happen in the next 30 years with 65% probability.)