@Id
@Basic(optional = false)
@GeneratedValue(generator="testid_seq")
@SequenceGenerator(name="testid_seq",sequenceName="testid_seq",allocationSize=1)
@Column(name = "testid")
private Long testid;
Create sequence type in Postgres named testid_seq, then modify above code in generated code of entity
Tuesday, October 20, 2009
Tuesday, July 21, 2009
Tuesday, July 7, 2009
Nightmare ICEFaces!
I used ICEFaces framework to develop business web application.
My project completed 70%, ICEFaces alert update up to version 1.8.1 and stupidest that happened!!!
I updated to 1.8.1 without backup current my web, very risky. Finnaly, my web has some bugs that I can't know and investigate. I tried many times, it spended more time to analysis but everything seems want to against me. I am very disapoint about ICEFaces.
Today, try again, I continue go with another way to solve that problem, haha, thank my God, I suddenly find right solution, that downgrade and upgrade again. Wonderfully, it can fix itseft, I don't know what happen here, but I sure that it maybe good experience for future when facing similar one.
That luckily day!!!
My project completed 70%, ICEFaces alert update up to version 1.8.1 and stupidest that happened!!!
I updated to 1.8.1 without backup current my web, very risky. Finnaly, my web has some bugs that I can't know and investigate. I tried many times, it spended more time to analysis but everything seems want to against me. I am very disapoint about ICEFaces.
Today, try again, I continue go with another way to solve that problem, haha, thank my God, I suddenly find right solution, that downgrade and upgrade again. Wonderfully, it can fix itseft, I don't know what happen here, but I sure that it maybe good experience for future when facing similar one.
That luckily day!!!
Sunday, April 12, 2009
Friday, April 3, 2009
Wednesday, April 1, 2009
Disable directory listing on Glassfish!
access domain folder, point to config/default-web.xml
Modify:
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
Modify:
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
Sunday, February 15, 2009
Subscribe to:
Posts (Atom)