求大神,求大神,求大神,求大神,spring配置多租户错误,去掉多租户配置不报错。

7-23 13:04:58,761 ERROR DriverManagerConnectionProviderImpl - HHH000152: JDBC URL was not specified by property hibernate.connection.url
07-23 13:04:58,801 ERROR ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/spring/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: HHH000152: JDBC URL was not specified by property hibernate.connection.url
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:684)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)

--------------------文件配置去掉多租户配置不报错

<?xml version="1.0" encoding="UTF-8"?>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
    destroy-method="close">
    <property name="driverClass">
        <value>oracle.jdbc.driver.OracleDriver</value>
    </property>

    <property name="jdbcUrl">
        <value>jdbc:oracle:thin:@localhost:1521:myoracle</value>
    </property>
    <property name="user">
        <value>shulizhi</value>
    </property>
    <property name="password">
        <value>shulizhi</value>
    </property>

    <!--
    连接池中保留的最小连接数。-->
    <property name="minPoolSize">
        <value>5</value>
    </property>

    <!--连接池中保留的最大连接数。Default: 15 -->
    <property name="maxPoolSize">
        <value>50</value>
    </property>

    <!--初始化时获取的连接数,取值应在minPoolSize与maxPoolSize之间。Default: 3 -->
    <property name="initialPoolSize">
        <value>5</value>
    </property>

    <!--最大空闲时间,60秒内未使用则连接被丢弃。若为0则永不丢弃。Default: 0 -->
    <property name="maxIdleTime">
        <value>30</value>
    </property>

    <!--当连接池中的连接耗尽的时候c3p0一次同时获取的连接数。Default: 3 -->
    <property name="acquireIncrement">
        <value>5</value>
    </property>

    <!--
        JDBC的标准参数,用以控制数据源内加载的PreparedStatements数量。但由于预缓存的statements
        属于单个connection而不是整个连接池。所以设置这个参数需要考虑到多方面的因素。
        如果maxStatements与maxStatementsPerConnection均为0,则缓存被关闭。Default: 0
        <property name="maxStatements"> <value>0</value> </property>
    -->
    <property name="maxStatements">
        <value>0</value>
    </property>
    <property name="maxStatementsPerConnection">
        <value>100</value>
    </property>

    <!--每60秒检查所有连接池中的空闲连接。Default: 0 -->
    <property name="idleConnectionTestPeriod">
        <value>60</value>
    </property>

    <!--定义在从数据库获取新连接失败后重复尝试的次数。Default: 30 -->
    <property name="acquireRetryAttempts">
        <value>30</value>
    </property>

    <!--
        获取连接失败将会引起所有等待连接池来获取连接的线程抛出异常。但是数据源仍有效
        保留,并在下次调用getConnection()的时候继续尝试获取连接。如果设为true,那么在尝试
        获取连接失败后该数据源将申明已断开并永久关闭。Default: false
    -->
    <property name="breakAfterAcquireFailure">
        <value>false</value>
    </property>

    <!--
        因性能消耗大请只在需要的时候使用它。如果设为true那么在每个connection提交的
        时候都将校验其有效性。建议使用idleConnectionTestPeriod或automaticTestTable
        等方法来提升连接测试的性能。Default: false <property
        name="testConnectionOnCheckout"> <value>false</value> </property>
    -->
</bean>

<bean id="sessionFactory"
    class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
    <property name="dataSource">
        <ref bean="dataSource" />
    </property>
    <property name="hibernateProperties">
        <props>
            <prop key="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</prop>
            <prop key="hibernate.show_sql">true</prop>
            <prop key="hibernate.generate_statistics">true</prop>
            <prop key="hibernate.connection.release_mode">auto</prop>
            <prop key="hibernate.autoReconnect">true</prop>
            <prop key="hibernate.jdbc.batch_size">30</prop>             
            <prop key="hibernate.multiTenancy">SCHEMA</prop>
            <prop key="hibernate.tenant_identifier_resolver">hotel.dao.hibernate.TenantIdResolver</prop>
            <prop key="hibernate.multi_tenant_connection_provider">hotel.dao.hibernate.SchemaBasedMultiTenantConnectionProvider</prop>

        </props>
    </property>
    <property name="mappingDirectoryLocations">
        <list>
              <value>classpath:com/buddha/domain/</value>
        </list>
    </property>
</bean>
<bean id="transactionManager"
    class="org.springframework.orm.hibernate4.HibernateTransactionManager">
    <property name="sessionFactory">
        <ref bean="sessionFactory" />
    </property>
</bean>
<context:annotation-config />
<tx:annotation-driven transaction-manager="transactionManager" />
<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
    <property name="dataSource">
        <ref bean="dataSource" />
    </property>
</bean>

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
求大神求大神
我想编写一个检测常见网页恶意代码的WCF服务,可是找不到特征库,不知道各位大神有木有,如果有检测程序更好,因为我还要做不同算法的速率对比。感谢
求大神呀求大神
Android新手,求几个小项目接口,要面试了,惶恐呀惶恐[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/21.gif][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/49.gif][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/49.gif][/img]
求大神指导求大神指导求大神指导
1>main.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CSpeechRecognition1::CSpeechRecognition1(void)" (??0CSpeechRecognition1@@QAE@XZ),该符号在函数 "public: __thiscall main::main(class CWnd *)" (??0main@@QAE@PAVCWnd@@@Z) 中被引用rn1>main.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall main::OnInitDiaLog(void)" (?OnInitDiaLog@main@@UAEHXZ)rn1>main.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall CSpeechRecognition1::~CSpeechRecognition1(void)" (??1CSpeechRecognition1@@UAE@XZ),该符号在函数 "public: virtual __thiscall main::~main(void)" (??1main@@UAE@XZ) 中被引用rn1>D:\tttttt\RecordSpeech\Debug\RecordSpeech.exe : fatal error LNK1120: 3 个无法解析的外部命令
SQLite 报错 求大神
[img=https://img-bbs.csdn.net/upload/201606/19/1466348080_159492.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201606/19/1466348086_952969.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201606/19/1466348093_460887.png][/img]rn[img=https://img-bbs.csdn.net/upload/201606/19/1466348099_738753.png][/img]
求大神,报错org.hibernate.hql.ast.QuerySyntaxException
项目用的是jpa+hibernate+spring做的,然后我写了个单元测试,运行报错rnjava.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: LsmpOssSetting is not mapped [SELECT t FROM LsmpOssSetting t ]rnrn以下是相关代码rn[code=java]package com.newcosoft.lsmp.oss.mode.po;rnrnimport com.newcosoft.lsmp.common.BaseEntity;rnrnimport java.sql.Timestamp;rnrnimport javax.persistence.Column;rnimport javax.persistence.Entity;rnimport javax.persistence.GeneratedValue;rnimport javax.persistence.GenerationType;rnimport javax.persistence.Id;rnimport javax.persistence.JoinColumn;rnimport javax.persistence.ManyToOne;rnimport javax.persistence.SequenceGenerator;rnimport javax.persistence.Table;rnimport javax.persistence.UniqueConstraint;rnrn/**rn * LsmpOssSetting generated by hbm2javarn */rn@Entityrn@Table(name = "LSMP_OSS_SETTING", uniqueConstraints = @UniqueConstraint(columnNames = "ID"))rnpublic class LsmpOssSetting extends BaseEntity implements java.io.Serializable rnrn /**rn * rn */rn private static final long serialVersionUID = 1L;rn private long id;rn private String lastSettingContent;rn private int syncFlag;rn private String lsmpSettingName;rn private String lsmpSettingDescription;rn private LsmpOssSettingApp lsmpSettingApp;rn private String lsmpSettingContent;rn private int status;rn private Timestamp createTime;rn private Timestamp lastChangeTime;rn private Integer ext01;rn private String ext02;rnrn public LsmpOssSetting() rn rnrn public LsmpOssSetting(long id) rn this.id = id;rn rnrn @Idrn @Column(name = "ID", unique = true, nullable = false, precision = 7, scale = 0)rn @SequenceGenerator(name = "LSMP_OSS_SETTING_ID_GENERATOR", sequenceName = "SEQ_OSS_SETTING")rn @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "LSMP_OSS_SETTING_ID_GENERATOR")rn public long getId() rn return this.id;rn rnrn public void setId(long id) rn this.id = id;rn rnrn @Column(name = "LAST_SETTING_CONTENT")rn public String getLastSettingContent() rn return lastSettingContent;rn rnrn public void setLastSettingContent(String lastSettingContent) rn this.lastSettingContent = lastSettingContent;rn rnrn @Column(name = "SYNC_FLAG")rn public int getSyncFlag() rn return syncFlag;rn rnrn public void setSyncFlag(int syncFlag) rn this.syncFlag = syncFlag;rn rnrn @Column(name = "LSMP_SETTING_NAME")rn public String getLsmpSettingName() rn return this.lsmpSettingName;rn rnrn public void setLsmpSettingName(String lsmpSettingName) rn this.lsmpSettingName = lsmpSettingName;rn rnrn @Column(name = "LSMP_SETTING_DESCRIPTION")rn public String getLsmpSettingDescription() rn return this.lsmpSettingDescription;rn rnrn public void setLsmpSettingDescription(String lsmpSettingDescription) rn this.lsmpSettingDescription = lsmpSettingDescription;rn rnrn @ManyToOnern @JoinColumn(name = "LSMP_SETTING_APP_ID", referencedColumnName = "ID")rn public LsmpOssSettingApp getLsmpSettingApp() rn return this.lsmpSettingApp;rn rnrn public void setLsmpSettingApp(LsmpOssSettingApp lsmpSettingApp) rn this.lsmpSettingApp = lsmpSettingApp;rn rnrn @Column(name = "LSMP_SETTING_CONTENT")rn public String getLsmpSettingContent() rn return this.lsmpSettingContent;rn rnrn public void setLsmpSettingContent(String lsmpSettingContent) rn this.lsmpSettingContent = lsmpSettingContent;rn rnrn @Column(name = "STATUS", precision = 2, scale = 0)rn public int getStatus() rn return this.status;rn rnrn public void setStatus(int status) rn this.status = status;rn rnrn @Column(name = "CREATE_TIME")rn public Timestamp getCreateTime() rn return this.createTime;rn rnrn public void setCreateTime(Timestamp createTime) rn this.createTime = createTime;rn rnrn @Column(name = "LAST_CHANGE_TIME")rn public Timestamp getLastChangeTime() rn return this.lastChangeTime;rn rnrn public void setLastChangeTime(Timestamp lastChangeTime) rn this.lastChangeTime = lastChangeTime;rn rnrn @Column(name = "EXT_01", precision = 7, scale = 0)rn public Integer getExt01() rn return this.ext01;rn rnrn public void setExt01(Integer ext01) rn this.ext01 = ext01;rn rnrn @Column(name = "EXT_02", length = 100)rn public String getExt02() rn return this.ext02;rn rnrn public void setExt02(String ext02) rn this.ext02 = ext02;rn rnrn[/code]rnrnapplicationContext.xmlrn[code=html]rnrnrnrn rn rnrn rnrn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn org.hibernate.dialect.Oracle10gDialectrn rn rn rnrn rn rn rnrn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rnrn rn [/code]rnrnpersistence.xmlrn[code=html]rnrn rnrn rn[/code]rnrn最后是测试用例rn[code=java]package com.newcosoft.lsmp.oss.dao.env;rnrnimport javax.persistence.EntityManager;rnimport javax.persistence.EntityManagerFactory;rnimport javax.persistence.Query;rnrnimport org.junit.Test;rnimport org.springframework.context.support.FileSystemXmlApplicationContext;rnrnpublic class SettingEnvDaoTest rn @Testrn public void getSetting()rn FileSystemXmlApplicationContext context=new FileSystemXmlApplicationContext("E://pcgworkspace/oss-2.6.0/lsmp-oss-web/src/main/resource/applicationContext.xml");rn EntityManagerFactory emf=context.getBean("entityManagerFactory", EntityManagerFactory.class);rn String hql = "SELECT t FROM LsmpOssSetting t ";rn EntityManager em=emf.createEntityManager();rn Query query=em.createQuery(hql);rn System.out.println(query.getResultList().size());rn rn[/code]
Spring配置数据源问题,求大神。
这个错误报了一天了,实在是解决不了[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/5.gif][/img],请论坛高人指点一二[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/96.gif][/img]rnrn[code=text]严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in URL [file:/E:/apache-tomcat-6.0.41/webapps/a/WEB-INF/classes/applicationContext-core.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: NULLrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.NoSuchFieldError: NULLrn at org.springframework.expression.TypedValue.(TypedValue.java:32)rn at org.springframework.expression.spel.support.StandardEvaluationContext.setRootObject(StandardEvaluationContext.java:88)rn at org.springframework.expression.spel.support.StandardEvaluationContext.(StandardEvaluationContext.java:74)rn at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:124)rn at org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.java:1299)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.evaluate(BeanDefinitionValueResolver.java:211)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:183)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn ... 35 more[/code]rnrnSpring配置rn[code=html]rnrnrn rn rn rn org.postgresql.Driverrn rn rn jdbc:postgresql://localhost:5432/testrn rn rn postgresrn rn rn adminrn rn rn rn rn rn rn model.* rn rn rn rn rn hibernate.dialect=org.hibernate.dialect.PostgreSQLDialectrn hibernate.hbm2ddl.auto=updatern hibernate.show_sql=truern hibernate.format_sql=falsern hibernate.cache.use_second_level_cache=truern hibernate.cache.provider_class=org.hibernate.cache.EhCacheProviderrn hibernate.generate_statistics=true rn rn rn rn rn[/code]rn所用的jar包rn[img=https://img-bbs.csdn.net/upload/201407/21/1405927614_715622.png][/img]rn[img=https://img-bbs.csdn.net/upload/201407/21/1405927623_287054.png][/img]rnrnrn
求大神 MediaRecorder的问题 求大神啊
View.OnClickListener listener = new View.OnClickListener() rn @Overridern public void onClick(View v) rn switch (v.getId()) rn case R.id.startBtn:rn if (!isRecord) rn if (mediaRecorder == null) rn mediaRecorder = new MediaRecorder();rn rn if (camera == null) rn camera = Camera.open(Camera.CameraInfo.CAMERA_FACING_BACK);rn camera.unlock();rn rn mediaRecorder.setCamera(camera);rn mediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);rn mediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);rn mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);rn mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);rn mediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264);rnrn CamcorderProfile camcorderProfile = CamcorderProfile.get(CamcorderProfile.QUALITY_HIGH);rn mediaRecorder.setVideoSize(480, 320);rn mediaRecorder.setVideoFrameRate(camcorderProfile.videoFrameRate);//设置要捕获的视频帧速率rn mediaRecorder.setPreviewDisplay(surfaceHolder.getSurface());rnrn String path = getSDPath();rn if (path != null) rn File dir = new File(path + "/recordtest");rn if (!dir.exists()) //返回一个布尔值,指示是否可以在下面的文件系统中找到这个文件。rn dir.mkdir();rn rn path = dir + "/" + getDate() + ".mp4";rn mediaRecorder.setOutputFile(path);rn try rn mediaRecorder.prepare();//准备录音机开始捕获和编码数据。rn catch (IOException e) rn e.printStackTrace();rn rn rnrn [color=#FF0000] mediaRecorder.start();[/color]rn isRecord = true;rn startCameraBtn.setText("stop");rn else rn mediaRecorder.stop();rn mediaRecorder.reset();rn startCameraBtn.setText("start");rn isRecord = false;rn rn break;rn rn ;rnrn[img=https://img-bbs.csdn.net/upload/201609/26/1474854497_188860.png][/img]rnrn[size=18px]求大神 第一次点击start按钮能正常start,然后再点击stop按钮(和start按钮同一个)能够正常stop,但是第二次点击start就会报如上的错(错误行已用红色),求大神啊[/size]
安卓音乐播放器_求大神求大神。
最近想做一个音乐播放器。不知道从何下手。第一个问题就是怎么搜索手机里面所有音乐文件。然后加载什么求大神。
求大神……
我想实现以下效果不知道怎么实现:rna 1rnb 1rnc 1rnd 1rne 2rnf 2rn结果:rna 1 b,c,drnb 1 a,c,drnc 1 a,b,drnd 1 a,b,crne 2 frnf 2 ern用wm_contact貌似不行啊
求大神!!!!!!
严重: Servlet.service() for servlet [RegisterServlet] in context with path [/day14_1] threw exception [Servlet execution threw an exception] with root causernjava.lang.ClassNotFoundException: org.apache.commons.beanutils.Converterrn at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)rn at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn at cn.itcast.user.web.servlet.RegisterServlet.doPost(RegisterServlet.java:33)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1083)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:640)rn at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:619)
求大神
Oracle 中年份都不一样 如何按月份查询数据rnrn比如:1897-01-09rn 1887-01-02rn 1666-01-03rn 1887-02-08rn 1883-02-15rn 把1月份的数据查询出来rnrn求高手
求大神!
处理序列时只能处理第一段,无法在处理第二段。rn#includern#includernvoid main()rnrn float hl(char m2[]);rn int summary(char m2[]);rn FILE *in,*out;rn char outfile[10];rn if((in=fopen("human chr.c","r"))==NULL)rn rn printf("cannot open file\n");rn exit(0);rn rn printf("Enter the outfile name:\n");rn scanf("%s",outfile);rn if((out=fopen(outfile,"w"))==NULL)rn rn printf("cannot open file\n");rn exit(0);rn rn char m1[500],m2[5000];rn while(!feof(in))rn rn if(fgetc(in)=='>')rn rn fseek(in,-1,1);rn fgets(m1,500,in);rn fputs(m1,out); rn int i=0;rn dorn rn m2[i]=fgetc(in);rn i++;rn while(fgetc(in)!='>');rn fprintf(out,"%f, %d\n",hl(m2),summary(m2));rn for(i=0;i<5000;i++)m2[i]='\0';rn rn rn fclose(in);rn fclose(out);rnrnfloat hl(char m2[])rnrn float per;rn float gc=0;rn int i=0;rn int sum=0;rn while(m2[i]!='\0')rn rn if(m2[i]=='A'||m2[i]=='T'||m2[i]=='G'||m2[i]=='C')sum++;rn if(m2[i]=='G'||m2[i]=='C')gc++;rn i++;rn rn per=gc/sum;rn return per;rnrnint summary(char m2[])rnrn int sum=0;rn int i=0;rn while(m2[i]!='\0')rn rn if(m2[i]=='A'||m2[i]=='T'||m2[i]=='G'||m2[i]=='C')sum++;rn i++;rn rn return sum;rnrn下面是文件,名字是human chr.crn>hg17_dna range=chr1:147984909-147986846 5'pad=0 3'pad=0 strand=+ repeatMasking=nonernCTCAGCACTTTGGGAGGCCTTGGCGGGCGGATCATTTGAGGTCAGAAGTTrnCGAGACGAGCCTGGCCAACATAGAGAAATCTCGTCCCTACTAAAAATACArnAAAATTATCCGGACAGTAGTGGCGTGCATCTGTAATCCCAGCTACTTGGGrnAGGCTGAGGCAGGATAATCCCTTGAGCCTGGGAGGCAGAGCTTGCGGTGArnGCCGAGATTGGGCCACTGCTCTCCAGTCTGGGCGAGAGAGTGAGACCCTGrnTCTCAAAAAAAAAAAAAAAGAAGTTGCGGTAGGAAACAAGAGAAACGGAArnGGGAGTAGAGAAACTArnrn>hg17_dna range=chr1:148244302-148246331 5'pad=0 3'pad=0 strand=+ repeatMasking=nonernCCTCGCGCCGAGCGTGCGTGTGGACGTCGGGCTGTGTGCGGGGCCGTGGGrnGCGCGAGTGCGCGCGCGCGCGCCGCGGCGGGCGCCGGGGGGCGGGGGCGGrnCCGGCCAGCCGGCAGGCAGGGACCTCCGCCGCCGGCCCTTCGCGCGGCTCrnCCGCGGCCCGGGGCGCACGCACACACACTCGCGCTCGCGCGCCGCACCCCrnGCGGCCGCCCCTGCCGCGGGCCGCGCCGCCACTCGCGGTGGGCGGGGGCGrnCGCACCGCCGGCCCCCCGCCCCCACCCCCGCGCGTACCGGCCCCATCCCCrnCTCTCATTGTCTCGCCTCTGAACGCCTCGCCGAGCGAAAAGATAACGGAArnCCCCCGGGAGCAGGGGGTGGGGAGAGAGAAGGCTCGCTCGCTCACTCACCrnTCCTGTGGTCGTCGCCGCCGGTAGTCTGACCCGAGGAAGGCGCCGTCGCCrnTTAAAGGGACCTTrnrn>hg17_dna range=chr1:148258507-148260234 5'pad=0 3'pad=0 strand=+ repeatMasking=nonernCCTCAAAGAGCAGTTTCTAGATTTGACTTCTTCCTCTAGGGTTTATGAAGrnTCATCATACTGAAGTGACCTGGATTTCCCTATACGTGAACCTCATGACGTrnGGGAGCCCGGGGTAGGGAGGGACAGATAACATGAGAATCAATAGAAAGAArnCTGCAAGGTCTGAAGACAAGAACCATTTGTCTAGTGGAGTCTATTTTATArnTCCATTTTTTAAAAATCTCCATTTAAGATATTTAGCTTCAACGTGCACCTrnTGACCAATTAATCCAACAAACAAAACTCTGGCTTGGGGGCCCAGTTACTCrnACTTTCATGGAAAGAGACCTCTGTTTTTAGAACCAGGGATCTTGTGAGTCrnCCTCCCACGrnrn
求大神!!!
MFC 怎么写代码进去,根据不同的情况(就如在编辑框输入5,就在下个弹出的对话框里生成5个列表框,如此类推),是写代码哦~~~求帮助,说说大概怎么弄,或资料~~
求大神,
[img=https://img-bbs.csdn.net/upload/201409/19/1411133457_525952.jpg][/img]rn问题1:如何用键盘输入文本结束符。rn问题2:[img=https://img-bbs.csdn.net/upload/201409/19/1411134142_71781.jpg][/img]rn书中“如果输入中不包含字符”,如何理解?在我看来,我们输入的不都属于字符吗,难道还有输入不是字符的?rn
求大神!!!!
严重: ContainerBase.addChild: start: rnorg.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jeewx]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)rn at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.lang.NoClassDefFoundError: ServletContextEventrn at java.lang.Class.getDeclaredMethods0(Native Method)rn at java.lang.Class.privateGetDeclaredMethods(Unknown Source)rn at java.lang.Class.getDeclaredMethods(Unknown Source)rn at org.apache.catalina.util.Introspection.getDeclaredMethods(Introspection.java:127)rn at org.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation(WebAnnotationSet.java:287)rn at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:90)rn at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:63)rn at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:415)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:892)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5380)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 10 morernCaused by: java.lang.ClassNotFoundException: ServletContextEventrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)rn ... 24 morern十二月 09, 2014 5:09:42 下午 org.apache.catalina.startup.HostConfig deployDirectoryrn严重: Error deploying web application directory C:\apache-tomcat-7.0.57\webapps\jeewxrnjava.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jeewx]]rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)rn at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)
无向图的存储结构,求大神求大神
Descriptionrn给出一个有n个顶点的无向图,顶点编号从0到n-1。给出每一条边,输出该图的邻接矩阵和邻接表。rnrnInputrn输入的第一行是顶点数n和边数 e 。 1 ≤ n ≤ 300 ,1 ≤ e ≤ 1000rnrn接下来是 e 行,每行2个整数 i , j ( 0 ≤ i, j < n ) ,表示顶点 i 和 j 之间有一条边。rnrnOutputrn输出该图的邻接矩阵。邻接表按顶点编号每行从小到大,每列也是从小到大。rnrn然后输出一个空行。rnrn接着输出该图的邻接表。rnrn为了使得答案唯一,邻接表每行的第一个数字是顶点编号,然后按照顶点的下标编号从小到大输出各邻接顶点。rnrnSample Inputrn6 7rn0 1rn1 5rn0 4rn2 5rn1 4rn2 3rn3 5rnrnSample Outputrn0 1 0 0 1 0rn1 0 0 0 1 1rn0 0 0 1 0 1rn0 0 1 0 0 1rn1 1 0 0 0 0rn0 1 1 1 0 0rnrn0 1 4rn1 0 4 5rn2 3 5rn3 2 5rn4 0 1rn5 1 2 3rn
求大神指点 求大神指点
a表按照b表的规则转换到c表上去rnrnrna表按照b表的规则转换到c表上去rnrnrnrnUSE [erp_zfym]rnGOrn/****** 对象: Table [dbo].[TB_DataPlat] 脚本日期: 08/26/2013 11:23:26 ******/rnSET ANSI_NULLS ONrnGOrnSET QUOTED_IDENTIFIER ONrnGOrnSET ANSI_PADDING ONrnGOrnCREATE TABLE [dbo].[TB_DataPlat](rn [DataID] [int] NOT NULL,rn [PFKID] [int] NULL,rn [UseType] [int] NULL,rn [DataSign] [varchar](100) COLLATE Chinese_PRC_CI_AS NULL,rn [Data] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data1] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data2] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data3] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data4] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data5] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data6] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data7] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data8] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data9] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data10] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data11] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data12] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data13] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data14] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data15] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data16] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data17] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data18] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data19] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data20] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data21] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data22] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data23] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data24] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data25] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data26] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data27] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data28] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data29] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data30] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data31] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data32] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data33] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data34] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data35] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data36] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data37] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data38] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data39] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data40] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data41] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data42] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data43] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data44] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data45] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data46] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data47] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data48] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data49] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data50] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data51] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data52] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data53] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data54] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data55] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data56] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data57] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data58] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data59] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data60] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data61] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data62] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data63] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data64] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data65] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data66] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data67] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data68] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data69] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data70] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data71] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data72] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data73] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data74] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data75] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data76] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data77] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data78] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data79] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data80] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data81] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data82] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data83] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data84] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data85] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data86] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data87] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data88] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data89] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data90] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data91] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data92] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data93] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data94] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data95] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data96] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data97] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data98] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data99] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn [Data100] [varchar](max) COLLATE Chinese_PRC_CI_AS NULL,rn CONSTRAINT [PK_TB_DataPlat] PRIMARY KEY CLUSTERED rn(rn [DataID] ASCrn)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]rn) ON [PRIMARY]rnrnGOrnSET ANSI_PADDING OFFrnrnrnrnUSE [erp_zfym]rnGOrn/****** 对象: Table [dbo].[PP_CraftData] 脚本日期: 08/26/2013 11:24:04 ******/rnSET ANSI_NULLS ONrnGOrnSET QUOTED_IDENTIFIER ONrnGOrnSET ANSI_PADDING ONrnGOrnCREATE TABLE [dbo].[PP_CraftData](rn [CraftDataID] [int] IDENTITY(1,1) NOT NULL,rn [DataPlatID] [int] NULL,rn [CraftID] [int] NULL,rn [ProcessID] [int] NULL,rn [GoodsID] [int] NULL,rn [ProductID] [int] NULL,rn [ProductCode] [varchar](60) COLLATE Chinese_PRC_CI_AS NULL,rn [Machine] [int] NULL,rn [StandardValue] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,rn [Remark] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,rn [OrderNO] [int] NULL,rn [Flag] [char](1) COLLATE Chinese_PRC_CI_AS NULL,rn [RelateID] [int] NULL,rn [ParentID] [int] NULL,rn [OpID] [int] NULL,rn [OpDate] [datetime] NULL,rn [CraftType] [int] NULL,rn CONSTRAINT [PK_PP_CraftData] PRIMARY KEY CLUSTERED rn(rn [CraftDataID] ASCrn)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]rn) ON [PRIMARY]rnrnGOrnSET ANSI_PADDING OFFrnrnUSE [erp_zfym]rnGOrn/****** 对象: Table [dbo].[PP_CraftDataProperty] 脚本日期: 08/28/2013 09:49:06 ******/rnSET ANSI_NULLS ONrnGOrnSET QUOTED_IDENTIFIER ONrnGOrnSET ANSI_PADDING ONrnGOrnCREATE TABLE [dbo].[PP_CraftDataProperty](rn [CraftDataProID] [char](10) COLLATE Chinese_PRC_CI_AS NULL,rn [CraftDataID] [int] NULL,rn [DataPlatID] [int] NULL,rn [DataPFKID] [int] NULL,rn [CraftID] [int] NULL,rn [RowSign] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,rn [ProID] [int] NULL,rn [Data] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,rn [Type] [int] NULL,rn [UseType] [int] NULL,rn [ProType] [int] NULL,rn [RateType] [int] NULL,rn [Rate] [decimal](10, 4) NULL,rn [Formula] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,rn [remark] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,rn [OrderNO] [int] NULL,rn [Flag] [char](1) COLLATE Chinese_PRC_CI_AS NULL,rn [DeletedFlg] [char](1) COLLATE Chinese_PRC_CI_AS NULL,rn [OpID] [int] NULL,rn [OpDate] [datetime] NULLrn) ON [PRIMARY]rnrnGOrnSET ANSI_PADDING OFFrnrnrnrnrnrn哪位大神能给个建议 或思路呀 没有多少分了 见谅
大神 求
第一次做C#的项目和数据库,但不知道该如何下手,有没有大佬给个解答,或者能参考一下的,在这里插入图片描述
求大神⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯
这个选择怎么选,我感觉是D⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯![图片说明](https://img-ask.csdn.net/upload/201604/18/1460942772_255710.png)![图片说明](https://img-ask.csdn.net/upload/201604/18/1460942785_774783.png)
关于Tomcat的问题 求大神 求大神
这两天装了Tomcat 环境变量也设置了 JDK也有 总是运行失败 我的系统是XP纯净版 求解释为什么呢
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件