h2

AXI接口的MIG测试【MIZ7035学习】

强颜欢笑 提交于 2019-12-30 10:58:43
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 1.前言 刚买了米联客的MIZ7035开发板,这几天休假也不出去,就在家拿回来测一些东西。 主要目的是学习: PL端的DDR3接口 GTX用作PCIE接口 SFP接口 HDMI接口 SD卡和eMMC共存情况下的PetaLinux 主要就是这些了。过程主要是自己根据原理图、文档在Vivado上直接新建工程来进行测试,米联客的资料作为辅助,需要时进行查看。 这次先来测试MIG做出的DDR3控制器,看看效果怎么样。 2.新建Vivado工程 新建工程,点击Next 选择FPGA型号 点击Next,Finish 新建BD,点击OK 3.AXI接口的MIG IP 点击Add IP,添加MIG IP 双击MIG IP的GUI, 弹出窗口Xilinx Memory Interface Generator, 点击Next 默认新建设计,1个控制器,AXI4接口 点击Next 选择DDR3 SDRAM 默认设置800MHz时钟,然后修改Memory Part为MT41K256M16XX-125,Data Width选择32位,其他设置默认 AXI的Data Width选择64位和PS的HP接口对应或者32位和GP接口对应,地址线读写仲裁选择ROUND_ROBIN,其他默认 因为刚才选了800MHz和4:1

H2 update with join

我怕爱的太早我们不能终老 提交于 2019-12-30 08:26:08
问题 As development DB I am using MySQL, and for tests I am using H2 database. The following script works in MySQL very well, but it is fails on H2. UPDATE `table_a` JOIN `table_b` ON `table_a`.id=`table_b`.a_id SET `table_a`.b_id=`table_b`.id In the internet I found that h2 doesn't support UPDATE clause with JOIN . Maybe there is a way to rewrite this script without JOIN clause? By the way, I am using liquibase. Maybe I can write UPDATE clause with it's xml language? I tried the following script

Using H2 database server how to notify changes to clients (JMS messaging)

断了今生、忘了曾经 提交于 2019-12-30 07:52:20
问题 I am successfully using H2 database in AUTO_SERVER mode so that a database file is shared among a number of desktop clients on a network transparently. This way a server is elected among the clients and all other clients read from the tcp server. What I'm missing is how a client or the server can notify all other desktop clients something has been changed in the database. Right now I'm using a JGroups channel to let all clients comunicate one with each other however this is another point of

Where are my H2 database files?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-30 00:28:08
问题 I'm just evaluating the H2 database... I downloaded and unpacked the installation and connect to a database at jdbc:h2:file:/home/konrad/test . /home/konrad is my home dir, test does not exist (I expect H2 to create it). The console seems to work OK. I created a table and inserted a row to it. Even if I disconnect and reconnect the console, I can see and query the table. However, I don't see the file I expected. Where is it? 回答1: Are you sure there is no: /home/konrad/test.h2.db file? If not,

Which is better H2 or HSQLDB? [closed]

天大地大妈咪最大 提交于 2019-12-29 10:46:52
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . HSQLDB 2.0 is soon to be released. I wonder if it will outperform H2 since, as far as I know, most users prefer H2 than HSQLDB. I am

h2.db file keeps growing

你。 提交于 2019-12-29 09:59:09
问题 We're using H2 database (persistent) embedded within our application. Even after we delete the tables, the h2.db file keeps growing. We tried disabling transaction isolation (LOCK_MODE=0), disabled the query log (TRACE_LEVE_FILE=0), disabled the undo log, but nothing helps. Is compacting the only option? Compacting will need restart of the DB which we cannot do. 回答1: Using TRACE_LEVE_FILE=0 will only affect the file {databaseName}.trace.db , I suggest not to use disable tracing. The file

Stored Procedure in H2 Database

試著忘記壹切 提交于 2019-12-29 06:49:18
问题 I am new to database and recently started writing test cases for H2 database. I want to know how to test a stored procedure in Eclipse. I have seen the following: http://www.h2database.com/html/features.html#user_defined_functions How to CREATE PROCEDURE in H2 The sample code given in the h2database link, "CREATE ALIAS NEXT_PRIME AS $$ String nextPrime(String value) { return new BigInteger(value).nextProbablePrime().toString(); } $$; " Where should this be declared?and how to run it? PS - I

How do I avoid 'Could not determine Hibernate dialect for database name [H2]!'?

最后都变了- 提交于 2019-12-29 01:46:10
问题 I am getting this error when running grails run-app : Error executing bootstraps: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name

How to write a function in the H2 database without using Java

≡放荡痞女 提交于 2019-12-28 16:01:55
问题 This question is reference to question "How to create stored procedure using H2 database?" (continuation of the same question). Is there a way to write a function in H2 without using Java code? My requirement is to translate the functions written in SQL to H2 without using Java code. I found lot of examples in different portals doing the same using Java code. Your help will be greatly appreciated. Regards Arun 回答1: Currently, H2 does only support functions written in Java or a related

Embedding the Java h2 database programmatically

只愿长相守 提交于 2019-12-27 20:08:46
问题 At the moment we use HSQLDB as an embedded database, but we search for a database with less memory footprint as the data volume grows. Derby / JavaDB is not an option at the moment because it stores properties globally in the system properties. So we thought of h2. While we used HSQLDB we created a Server-object, set the parameters and started it. This is described here (and given as example in the class org.hsqldb.test.TestBase). The question is: Can this be done analogous with the h2