Used to search a command in the history.
Usage: type the command and start entering what you're looking for. Once found you can...
Ctrl-r + ENTER = Execute.
Ctrl-r + left/right arrow = put it on the command line to edit.
Ctrl-r + Ctrl-r = Get an older command starting with the same characters typed.
Friday, June 29, 2012
Wednesday, June 13, 2012
Weird Things With Spring, Eclipse and Tomcat?
Everything was working and now an action seemingly still properly configured from a controller is simply ignored?
It's not Spring's or Eclipse's or your sister's fault.
Check you inadvertently didn't start another instance of Tomcat.
That's what happened to me! And I don't have sisters to blame!
It's not Spring's or Eclipse's or your sister's fault.
Check you inadvertently didn't start another instance of Tomcat.
That's what happened to me! And I don't have sisters to blame!
Thursday, June 07, 2012
hibernate3:hbm2ddl - Could not determine type for: java.util.List
Trying to generate DB tables from Java classes, I got this error for this one-to-many mapping:
@ElementCollection(targetClass = DocArea.class)
@CollectionTable(name = "area_doc",
joinColumns = @JoinColumn(name = "id_doc"))
@Column(name = "id_area")
public List getAreas() {
return areas;
}
where Area is an enumeration.
It was a version incompatibility between the hibernate3 plugin and Hibernate itself. I found out you can override a plugin's dependencies in the configuration of the plugin itself thanks to Ivar's post.
@ElementCollection(targetClass = DocArea.class)
@CollectionTable(name = "area_doc",
joinColumns = @JoinColumn(name = "id_doc"))
@Column(name = "id_area")
public List
return areas;
}
where Area is an enumeration.
It was a version incompatibility between the hibernate3 plugin and Hibernate itself. I found out you can override a plugin's dependencies in the configuration of the plugin itself thanks to Ivar's post.
Subscribe to:
Posts (Atom)