Revision 58:352edcf2b597

View differences:

src/main/java/my/com/upass/generic/hibernate/GenericDAOHibernate.java
115 115
	}
116 116

  
117 117
	public long getNextSequenceNumber(String sequenceName, Session txSession) throws Exception {
118
		BigDecimal nextValue = new BigDecimal(0);
118
		BigDecimal nextValue = new BigDecimal("0");
119 119

  
120 120
		// TODO: Don't forget to remove the following line!
121 121
		System.out.println("########## Retrieving next value for"
......
170 170
	}
171 171

  
172 172
	public long getCurrentSequenceNumber(String sequenceName, Session txSession) throws Exception {
173
		BigDecimal currentValue = new BigDecimal(0);
173
		BigDecimal currentValue = new BigDecimal("0");
174 174

  
175 175
		// TODO: Don't forget to remove the following line!
176 176
		System.out.println("########## Retrieving current value for"

Also available in: Unified diff