Initial commit from SVN.
This commit is contained in:
12
Foundation Test/TestApplication/TestApplication.xml
Normal file
12
Foundation Test/TestApplication/TestApplication.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- com.foundation.transaction.test.TestApplication -->
|
||||
<repository name='MySQL' class='com.foundation.transaction.jdbc.mysql.MySQLRepositoryManager'>
|
||||
<properties user-name='test' user-password='test' database-url='jdbc:mysql://localhost/test'/>
|
||||
<class class-name='com.foundation.transaction.test.TestObject' repository-name='TEST_OBJECT'>
|
||||
<attribute attribute-name='number' repository-name='NUMBER' repository-type='INTEGER'/>
|
||||
<attribute attribute-name='text' repository-name='TEXT' repository-type='VARCHAR'/>
|
||||
<attribute attribute-name='id' repository-name='ID' repository-type='INTEGER' is-key='true' is-auto-generated='true'/>
|
||||
<attribute attribute-name='fixedSizeData' attribute-type='byte[]' repository-name='FIXED_SIZE_DATA' repository-type='BLOB'/>
|
||||
<properties/>
|
||||
</class>
|
||||
</repository>
|
||||
8
Foundation Test/TestApplication/setup.sql
Normal file
8
Foundation Test/TestApplication/setup.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
DROP TABLE IF EXISTS `test`.`test_object`;
|
||||
CREATE TABLE `test`.`test_object` (
|
||||
`ID` int(10) unsigned NOT NULL auto_increment,
|
||||
`NUMBER` int(10) unsigned NOT NULL default '0',
|
||||
`TEXT` varchar(30) NOT NULL default 'text',
|
||||
`FIXED_SIZE_DATA` tinyblob default NULL,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Test Object Table';
|
||||
Reference in New Issue
Block a user