Omaha #4448 Changed integervalue column of ebxml.value to bigint
Former-commit-id: 7a7d4bdb43e7d72fa1c5adf060a95bd39e969725
This commit is contained in:
parent
49b719e16f
commit
b7f690d752
2 changed files with 11 additions and 1 deletions
10
deltaScripts/16.1.1/DR4448/changeIntegerColumnType.sh
Normal file
10
deltaScripts/16.1.1/DR4448/changeIntegerColumnType.sh
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# DR #4448 - Separate ebxml registry code from Data Delivery
|
||||||
|
|
||||||
|
PSQL="/awips2/psql/bin/psql"
|
||||||
|
|
||||||
|
echo "INFO: Changing column type of integervalue in ebxml.value to bigint"
|
||||||
|
|
||||||
|
${PSQL} -U awips -d metadata -q -c "ALTER TABLE ebxml.value ALTER COLUMN integervalue TYPE bigint;"
|
||||||
|
|
||||||
|
echo "Done."
|
|
@ -86,7 +86,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||||
@Cache(region = RegrepUtil.DB_CACHE_REGION, usage = CacheConcurrencyStrategy.TRANSACTIONAL)
|
@Cache(region = RegrepUtil.DB_CACHE_REGION, usage = CacheConcurrencyStrategy.TRANSACTIONAL)
|
||||||
public class IntegerValueType extends ValueType {
|
public class IntegerValueType extends ValueType {
|
||||||
|
|
||||||
@Column
|
@Column(columnDefinition="bigint")
|
||||||
@XmlElement(name = "Value")
|
@XmlElement(name = "Value")
|
||||||
@DynamicSerializeElement
|
@DynamicSerializeElement
|
||||||
protected BigInteger integerValue;
|
protected BigInteger integerValue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue